Skip to content

2.7.1

Latest

Choose a tag to compare

@GeoffreyBooth GeoffreyBooth released this 25 Oct 17:37
· 1 commit to main since this release
a90ae3d
  • Compatibility with Node 22 and later: stack trace patching and source maps now work correctly, and the new with { type: 'json' } import attributes syntax is supported alongside assert.
  • Numeric literals now support a capital E in scientific notation, and method calls on numbers with underscores such as 1_000.toString() now compile correctly.
  • Performance improvements to the flatten helper (no longer recursive), checkShebangLine and the number-matching regular expressions.
  • Documentation fixes: code snippets now run correctly again, and a hover line-height shift was fixed.
  • Continuous integration now tests Node 16 through 26.

New Contributors

Full Changelog: https://github.com/jashkenas/coffeescript/compare/2.7.0…2.7.1