Skip to content

Latest commit

 

History

History
74 lines (57 loc) · 5.2 KB

File metadata and controls

74 lines (57 loc) · 5.2 KB

Changelog

Unreleased

0.5.0

  • [Breaking] Support for the "Lockable HTTP Tarball Protocol" has been removed. Instead of checking some HTTP headers, the user must now explicitly specify --mutable when adding tarball pins. Existing locked tarball pins should remain functional just the same as before, no action required.
  • Added npins add url for pinning plain URLs (files that should not be unpacked as tarballs). Same semantics as tarball pins. (#223)
  • npins add channel now takes --artifact to pin something other than nixexprs.tar.xz, for example latest-nixos-graphical-x86_64-linux.iso. (#223)
  • Added --plain to npins show display a newline delimated list of pin names (#203)
  • Added --exclude to npins show to invert the provided entries to exclude from the complete list (#203)
  • Basic completions for bash, fish and zsh are now included (#203)
  • Fish completions will complete pin names where applicable (#203)
  • npins will no longer spawn multiple threads for its runtime (#232)
  • npins update will now error if all the pins it tried to update were non-existent or frozen (#191)

0.4.1

  • npins show now accepts a list of pin entries to show instead of always showing the complete list (#190)
  • Tweaked forge auto-detection for add git (#202)
  • npins remove now accepts a list of pin entries to remove instead of just one (#203)
  • Calls to nix when verbosely logging now more concisely and accurately display the command being ran (#221)
  • freeze/unfreeze documentation was clarified to indicate more clearly what they do (#209)
  • Errors from external commands with http request checks will be now shown in the error output (#228)
  • import-flake now shows the name of the pin that caused a error in importing (#208)
  • Fixed visual glitch where status text was not being cleared properly in update and verify outputs (#187)
  • Newly created/upgraded default.nix will pass hash to dockerTools.pullImage for containers (#201)
  • Minor comment and help changes (#194 #212)

0.4.0

  • Changed the hashes to use the SRI format (#139)
  • Added Nixpkgs support for fetching pins as proper derivations (#153)
  • Added npins get-path, which is a convenience wrapper around nix-instantiate --eval -E '(import ./npins).$pin.outPath' and especially useful for scripting and in lockfile mode. (#153)
  • Added npins verify, which will check that all pins still properly work (#182)
  • Added npins add container, which allows pinning OCI containers (#145)
  • npins add git now automatically detects GitHub, GitLab and Forgejo repositories, including self-hosted ones (#179)
  • Many many bugfixes

0.3.1

  • Fixed npins update looking weird when having many pins (#138)
  • Fixed npins update touching the lock file even if there were no updates (#101)
  • Fixed some bugs with lockfile mode where it would still look for a "sources.json"
  • Fixed a regression in the CLI argument parsing with --name (#128, #129)
  • Fixed the caching for git prefetching, so it won't download twice anymore (#132)
  • Fixed another CLI glitch (#75)

0.3.0

  • Pins can now be "frozen", which will skip updating them (#78)
  • update command now fetches in parallel (#112)
  • Added support for fetching git submodules (#46)
  • Added Forgejo as a supported git forge (#95)
  • Added support for local development overrides (#99)
  • Added tarball pins (#119)
  • Added --lockfile-mode which will only use the JSON lock file and ignore the default.nix (#120)
  • Fixed import-flake command not recognizing default branches (#114)

0.2.4

  • Added import-flake command
  • Added --release-prefix option to filter tags e.g. in monorepos with separately tagged releases
  • Fetching git dependencies only downloads them once instead of twice

0.2.0 - 0.2.3

  • Added support for private GitLab repositories

0.1.0

Initial release