From af4662ad31e0384d5b228cdab83be7479ffb15db Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Sat, 30 Aug 2025 13:36:12 -0700 Subject: [PATCH] Bump version to 5.10.0 --- lib/jasmine-core/jasmine.js | 2 +- package.json | 2 +- release_notes/5.10.0.md | 54 +++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 release_notes/5.10.0.md diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 7a4db56e..714f3c41 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -11745,5 +11745,5 @@ getJasmineRequireObj().UserContext = function(j$) { }; getJasmineRequireObj().version = function() { - return '5.9.0'; + return '5.10.0'; }; diff --git a/package.json b/package.json index 4ed6d9be..19131f49 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "5.9.0", + "version": "5.10.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/5.10.0.md b/release_notes/5.10.0.md new file mode 100644 index 00000000..3af5079f --- /dev/null +++ b/release_notes/5.10.0.md @@ -0,0 +1,54 @@ +# Jasmine Core 5.10.0 Release Notes + +## New Features + +* Optionally detect late promise rejections and don't report them as errors + This is off by default because it comes with a performance cost. It can be + enabled by setting the `detectLateRejectionHandling` config property to true. +* Add `Env#getSpecProperty` to retrieve data that was set with + `Env#setSpecProperty`. + * Merges [#2072](https://github.com/jasmine/jasmine/pull/2072) from @bonkevin +* Show spec duration in the HTML reporter. + * Merges [#2073](https://github.com/jasmine/jasmine/pull/2073) from @bonkevin +* Protect `GlobalErrors` against monkey patching. + + All currently shipped versions of zone.js contain a monkey patch that fails + to pass constructor arguments on to `GlobalErrors`. This patch normally has + no effect because zone.js is normally installed after `GlobalErrors` is + instantiated, but it would crash Jasmine if it was applied early enough. + +## Deprecations + +* Issue a deprecation warning if the suite/spec order passed as a parameter to + `Env#execute` causes a suite to be re-entered. + +## Changes to supported environments + +* Added Firefox 140 (current ESR) to supported environments +* Demoted Firefox 128 (previous ESR) to best-effort support + +## Internal improvements + +* Core suite/spec execution flow has been significantly simplified. + +## Supported environments + +This version has been tested in the following environments. + +| Environment | Supported versions | +|-------------------|--------------------------------| +| Node | 18.20.5**, 20, 22, 24 | +| Safari | 15**, 16**, 17** | +| Chrome | 139* | +| Firefox | 102**, 115**, 128**, 140, 142* | +| Edge | 139* | + +\* Evergreen browser. Each version of Jasmine is tested against the latest +version available at release time.
+\** Supported on a best-effort basis. Support for these versions may be dropped +if it becomes impractical, and bugs affecting only these versions may not be +treated as release blockers. + +------ + +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_