Skip to content

2.7.1 - #5505

Merged
GeoffreyBooth merged 4 commits into
jashkenas:mainfrom
GeoffreyBooth:release/2.7.1
Oct 25, 2026
Merged

2.7.1#5505
GeoffreyBooth merged 4 commits into
jashkenas:mainfrom
GeoffreyBooth:release/2.7.1

Conversation

@GeoffreyBooth

@GeoffreyBooth GeoffreyBooth commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Patch release 2.7.1.

Changes

  • Version bump to 2.7.1 (package.json, package-lock.json).
  • Changelog (documentation/sections/changelog/2.7.1.md) and docs site section.
  • Regenerated lib/ and docs/ outputs ("Generated by CoffeeScript 2.7.1" headers, docs page, and annotated source for register.coffee, which was stale after fix: Node 22 compatibility for source maps and import assertions #5503).
  • New .github/workflows/release.yml: publishes to npm via trusted publishing (OIDC) with provenance. Triggered only by publishing a GitHub Release, or by manual workflow_dispatch from main. It never runs on merge. Release runs verify that the tag matches the package.json version.
  • repository.url in package.json normalized to git+https://github.com/jashkenas/coffeescript.git so provenance matches the repo.

After merging

  1. On npmjs.com, register the trusted publisher for coffeescript: GitHub Actions, owner jashkenas, repo coffeescript, workflow release.yml, environment left blank. The first publish must succeed within 2 days of registering.
  2. Publish a GitHub Release with a new tag v2.7.1 targeting main. This triggers the publish.

GeoffreyBooth and others added 4 commits October 20, 2026 15:48
Bump version, add changelog, and add a release workflow that publishes to npm with provenance via trusted publishing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
build:full reloads CoffeeScript in the same process, so the previous copy's Error.prepareStackTrace hook made the reloaded register skip patching.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@GeoffreyBooth
GeoffreyBooth merged commit c893ba7 into jashkenas:main Oct 25, 2026
18 checks passed
@GeoffreyBooth
GeoffreyBooth deleted the release/2.7.1 branch October 25, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant