Skip to content

Release 0.5.1 version bump and changelog #332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 31, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# 0.5.1

Bug fixes:

- Fix infinite recursion in Node 23.x with `Intl.DurationFormat` (fixes [#329](https://github.com/js-temporal/temporal-polyfill/issues/329)).
- Include correct `package-lock.json` (fixes [#328](https://github.com/js-temporal/temporal-polyfill/issues/328)).
- Don't override TIMEOUT when running `npm run test262`.

Non-breaking changes:

- Support Node 22.x and 23.x and test them in CI (fixes [#323](https://github.com/js-temporal/temporal-polyfill/issues/323)).
- The polyfilled `Intl.DateTimeFormat` object now supports offset time zone identifiers (e.g., `-02:30`) in Node 23.x. Note that the native `Intl.DateTimeFormat` in Node 23.x also supports them, but in a nonstandard way, so you should use the polyfilled `Intl.DateTimeFormat` in your code.
- Add migration guide for 0.4.x → 0.5.0.
- Reduce production bundle size by deleting assertions and minifying function names.

# 0.5.0

Breaking changes:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@js-temporal/polyfill",
"version": "0.5.0",
"version": "0.5.1",
"description": "Polyfill for ECMA TC39 Stage 3 proposal Temporal (https://github.com/tc39/proposal-temporal)",
"type": "module",
"main": "./dist/index.cjs",
Expand Down