Skip to content

v1.17.0

Latest

Choose a tag to compare

@Mic92 Mic92 released this 22 Nov 13:34

Highlights

  • Merged patches are dropped automatically. After an update, patches in patches = [ ... ] that already apply in reverse against the new source are removed from the list (@Pandapip1).
  • Nix files are edited through a syntax tree (ast-grep) instead of text replacement. Version, rev and hash updates no longer rewrite unrelated identifiers such as maintainers when the rev is main, and cargoLock.outputHashes updates keep the other attributes intact.
  • Native Jujutsu commits. --commit uses jj when the package lives in a jj workspace (@adamcstephens).
  • Rate limits are respected. Registry requests answered with 429/503 are retried, honouring Retry-After and RateLimit-Reset.

New

  • PECL fetcher (@piotrkwiecinski)
  • fetchFromRadicle support (@Defelo)
  • Yarn Berry missingHashes are updated (@ilkecan)
  • npm dist-tags can be followed via the branch version (@gigamonster256)
  • flake.legacyPackages is supported (@SandaruKasa)
  • passthru.updateScript also runs in non-flake repositories outside nixpkgs, and --flake is passed on to nested nix-update calls

Fixes

  • --flake works with Nix 2.35, which no longer copies the flake to the store on nix flake metadata
  • tag is preferred over rev (@HHR2020)
  • Unchanged versions without rev or tag are skipped (@pikeas)
  • Subpackages sharing the parent's src are not prefetched again (@ap-1)
  • --version=skip updates hashes again, but only when needed
  • --build only runs when something changed
  • Gitea/Forgejo hosts are no longer mistaken for GitHub
  • git diff runs in the repository of the package file

Packaging

  • ast-grep-py is a new runtime dependency.
  • The build backend changed from setuptools to hatchling.