unstale

npm / gh-release

gh-release

What changed in gh-release 2 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

12 breaking5 new APIs and options3 behavior and defaults3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

gh-release 810 changes

Breaking changes 5

  • Authentication is token-only; interactive ghauth login, its OAuth app, and username/password HTTP basic auth are removed.

    8.0.0release notes

  • The package is ESM-only. Import the named ghRelease export; on Node 22.12+, CommonJS require returns a module namespace rather than the function.

    8.0.0release notes

  • The minimum supported Node.js version is now 22.12.0.

    8.0.0release notes

  • The publish confirmation now defaults to yes; pressing Enter or answering anything other than n/no publishes the release.

    8.0.0release notes

  • The Release.clientId static is removed.

    8.0.0release notes

New APIs and options 2

  • Adds the --tag-prefix option to gh-release.

    8.1.0release notes

  • Changelog parsing supports Keep a Changelog, Conventional Changelog, Release Please, Standard Version, and auto-changelog formats.

    8.0.0release notes

Behavior and default changes 2

  • The release body is no longer required; an empty matching changelog section produces an empty-body release, and generate-notes options can populate the body without changelog notes.

    8.0.0release notes

  • A changelog is no longer required; without one, gh-release tags from the package.json version and creates a release with an empty body.

    8.0.0release notes

Fixes and other changes 1

gh-release 71 changes

Breaking changes 1

  • Support for Node 12 is dropped because it is EOL.

    7.0.0release notes

gh-release 61 changes

Breaking changes 1

  • Node 10 is no longer supported because it is EOL.

    6.0.0release notes

gh-release 51 changes

Fixes and other changes 1

  • A new underlying request library is used to fix an edge case where releases would time out.

    5.0.0release notes

gh-release 46 changes

Breaking changes 3

  • The flag only works on GitHub Enterprise now.

    4.0.0release notes

  • Support for GitHub basic password authentication is removed; GitHub Enterprise still uses basic auth.

    4.0.0release notes

  • Updated dependencies require a newer Node.js version; run LTS or Latest.

    4.0.0release notes

New APIs and options 2

  • Passing an asset object is now supported, as gh-release-assets supports it.

    4.0.0release notes

  • Adds support for GitHub OAuth device flow and OAuth tokens.

    4.0.0release notes

Fixes and other changes 1

gh-release 32 changes

Breaking changes 1

  • Getting defaults in the Node API now uses the same method as the CLI.

    3.0.0release notes

Behavior and default changes 1

gh-release 22 changes

Breaking changes 1

  • The API no longer accepts auth as a separate parameter; provide it in options.auth instead.

    2.0.0release notes

New APIs and options 1

  • An assets option is available for uploading assets.

    2.0.0release notes