Releases: ungoldman/gh-release
Releases · ungoldman/gh-release
v8.1.0
v8.0.0
8.0.0 (2026-06-17)
Changelog formats supported as of v8.0.0 (thanks to updates in changelog-parser):
⚠ BREAKING CHANGES
- the "publish release to github?" confirmation now defaults to yes. Pressing Enter, or any answer that is not
n/no, publishes the release; previously onlyy/yespublished and an empty answer declined. - gh-release no longer requires a CHANGELOG.md.
- A missing CHANGELOG.md is no longer an error; gh-release tags from the package.json version with an empty body.
- An empty matching changelog section is no longer an error; it produces an empty-body release instead of failing with
missing required options: body. bodyis no longer a required option: it is removed fromOPTIONS.required, andvalidate()no longer reports it missing.- To populate the body without changelog notes, pass
--generate-notes(orgenerate_release_notes: true).
- This package is now ESM-only.
- ESM: import the named export,
import { ghRelease } from 'gh-release'. The default export,import ghRelease from 'gh-release', remains available for backwards compatibility. - CommonJS: on Node 22.12+,
require('gh-release')works (require(esm)is unflagged there) but returns the module namespace rather than the function, soconst ghRelease = require('gh-release')no longer works. Useconst { ghRelease } = require('gh-release')orconst ghRelease = require('gh-release').default. - The minimum supported Node.js version is now 22.12.0.
- Authentication is now token-only: the interactive ghauth login and its OAuth app are removed, username/password (HTTP basic auth) is removed, and the Release.clientId static is removed. GitHub disabled password authentication for its API in 2020.
- ESM: import the named export,
- drop support for Node versions <20, update deps, patch sec vulns (#196)
- drop node 14, 16, add 20
Features
- default the publish prompt to yes (#222) (6aaa08e)
- relax changelog and body requirements (#221) (62fa42c)
Bug Fixes
Miscellaneous Chores
Build System
Continuous Integration
- drop node 14, 16, add 20 (6c0e586)
v7.0.2
v7.0.1
v7.0.0
v6.0.4
v6.0.3
v6.0.2
Note: this repo has moved from https://github.com/hypermodules/gh-release to
https://github.com/ungoldman/gh-release. @ungoldman is the original author and
the same people that have been maintaining gh-release will continue to do so.
The move was made because the hypermodules org is being retired.