Skip to content

Releases: knl/niv-updater-action

Release v15

17 Oct 09:53
@knl knl
Compare
Choose a tag to compare

Remove the pre-commit file that was breaking action runs.

Release v14

17 Oct 09:08
@knl knl
Compare
Choose a tag to compare

An update release, that bumps up the versions of various dependencies.

Release v13

11 Jan 11:16
@knl knl
Compare
Choose a tag to compare

This is another long awaited release, that wouldn't have been possible without contributions @jfroche. Many thanks!

This release:

  • Fixes an issue with nix paths inside the action
  • Switches to node.js 20, as 16 is deprecated
  • Uses newer niv from nixpkgs 23.11

Release v12

16 Jan 09:42
@knl knl
Compare
Choose a tag to compare

This is an emergency release, as the previous release broke the execution, due to bad mode on a file.

Release v11

10 Jan 21:58
@knl knl
Compare
Choose a tag to compare

This is a long awaited release, that wouldn't have been possible without contributions from @ggreif and @jfroche. Thanks!

This release:

  • Uses a more recent nix (2.11.1)
  • Allows using this action with self-hosted runners by setting niv_version to *from-nixpkgs*
  • Fixes the retrieval of the changelog
  • Makes sure that the PR description fits the maximum allowed size (GitHub limitation)
  • Switches to node.js 16

Full Changelog: v10...v11

Release v10

07 Jan 00:16
@knl knl
Compare
Choose a tag to compare

This is a cleanup release, to tie some loose ends.

Namely, this release:

  • fixes the links so they now use github.com service instead of r.duckduckgo.com for redirects. This is used to avoid github linking the referenced issue, and creating unnecessary noise
  • allows the use of dash in the repository name
  • richer debugging output, at least when running the hub command

Release v9

23 Feb 22:07
@knl knl
Compare
Choose a tag to compare

Snow Leopard to your Leopard -- this release contains some improvements and bug fixes to v8. Notably, niv-updater-action now properly handles repositories whose main branch is main, offers better handling of various SSH links to GitHub repositories, and finally, fixes an annoying problem with self-updating PRs, where update would fail unexpectedly*.

[*] Unexpectedly is defined as in: niv-updater-action was using hub pr command to fetch PRs branch -- that doesn't work without a checkout, so it would fail almost every time if the action was not preceeded by a checkout action. Which it was not, at least not in the examples given.

Release v8

11 Jan 10:29
@knl knl
Compare
Choose a tag to compare

This release brings a new feature: ability to keep updating PRs with new changes to the tracked project. That is, if niv-updater-action opens a PR, each subsequent call will keep updating the PR with newly added changes to the tracked project, until PR is closed. So, if you're tracking a fast changing project (for example, nixpkgs), but you're slow to merge the niv update PR, it will at least have the most recent changes.

Release v7

31 Aug 22:20
@knl knl
Compare
Choose a tag to compare

Recent changes in niv dropped the usage of ref as a branch in git sources. The new attribute name is branch.

Release v6

07 Jul 19:30
@knl knl
Compare
Choose a tag to compare

Various fixes in the output, to make it more correct, and avoid spamming
of GitHub histories. Should be faster, too.

This release brings the following:

Formatting:

  • Fix: Add an empty line after the title. Now GitHub Commits list looks
    better.
  • Fix: Remove preceeding space in the title
  • Output branch name used by niv, so that it is clear what is being
    tracked
  • Add a title prefix support via title_prefix option

Being nice:

  • Reformat mentions in the changelog to reduce spamming of mentioned
    developers (now, @knl will not generate a GitHub notification when
    present in the changelog)
  • Add option to avoid GitHub backreferencing the PR. That is, when we
    have #123 in the changelog, it will be a correct link to the correct
    repository, however, the referenced PR/issue will not contain a
    reference, thus reducing the spamming. See
    #26 for more details.
  • Make the location of sources.json customizable

Performance:

  • Replace the use of jo with jq, thus avoiding to install jo
  • Do not install hub CLI, as it is present in the default image. This
    should avoid installing hub, speeding up the start.