- [Breaking] Support for the "Lockable HTTP Tarball Protocol" has been removed.
Instead of checking some HTTP headers, the user must now explicitly specify
--mutablewhen addingtarballpins. Existing locked tarball pins should remain functional just the same as before, no action required. - Added
npins add urlfor pinning plain URLs (files that should not be unpacked as tarballs). Same semantics astarballpins. (#223) npins add channelnow takes--artifactto pin something other thannixexprs.tar.xz, for examplelatest-nixos-graphical-x86_64-linux.iso. (#223)- Added
--plaintonpins showdisplay a newline delimated list of pin names (#203) - Added
--excludetonpins showto 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)
npinswill no longer spawn multiple threads for its runtime (#232)npins updatewill now error if all the pins it tried to update were non-existent or frozen (#191)
npins shownow 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 removenow accepts a list of pin entries to remove instead of just one (#203)- Calls to
nixwhen verbosely logging now more concisely and accurately display the command being ran (#221) freeze/unfreezedocumentation 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-flakenow 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
updateandverifyoutputs (#187) - Newly created/upgraded default.nix will pass hash to
dockerTools.pullImagefor containers (#201) - Minor comment and help changes (#194 #212)
- 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 aroundnix-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 gitnow automatically detects GitHub, GitLab and Forgejo repositories, including self-hosted ones (#179)- Many many bugfixes
- Fixed
npins updatelooking weird when having many pins (#138) - Fixed
npins updatetouching 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)
- Pins can now be "frozen", which will skip updating them (#78)
updatecommand 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
tarballpins (#119) - Added
--lockfile-modewhich will only use the JSON lock file and ignore thedefault.nix(#120) - Fixed
import-flakecommand not recognizing default branches (#114)
- Added
import-flakecommand - Added
--release-prefixoption to filter tags e.g. in monorepos with separately tagged releases - Fetching git dependencies only downloads them once instead of twice
- Added support for private GitLab repositories
Initial release