From bb777e93e568e7da76903c1006c3ba2ba1f4bbcd Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Sat, 19 Jul 2025 08:27:17 -0700 Subject: [PATCH] Bump version to 5.9.0 --- lib/jasmine-core/jasmine.js | 2 +- package.json | 2 +- release_notes/5.9.0.md | 56 +++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 release_notes/5.9.0.md diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 6a6354c6..312ad99a 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -11447,5 +11447,5 @@ getJasmineRequireObj().UserContext = function(j$) { }; getJasmineRequireObj().version = function() { - return '5.8.0'; + return '5.9.0'; }; diff --git a/package.json b/package.json index a0eeb859..4ed6d9be 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "5.8.0", + "version": "5.9.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/5.9.0.md b/release_notes/5.9.0.md new file mode 100644 index 00000000..6fe16906 --- /dev/null +++ b/release_notes/5.9.0.md @@ -0,0 +1,56 @@ +# Jasmine Core 5.9.0 Release Notes + +## Bug fixes + +* Avoid generating mock clock timer IDs that conflict with native ones + * Fixes [#2068](https://github.com/jasmine/jasmine/issues/2068) + * Merges [#2069](https://github.com/jasmine/jasmine/pull/2069) from @atscott + +## Deprecations and changes to platform support + +* Node versions before 18.20.5 are no longer supported + + Older 18.x versions might still work, but Jasmine is no longer tested in them + prior to release. +* Document that the filename properties of suite and spec results are deprecated + + These properties are incorrect in many configurations. They'll be removed in + the next major release unless there is enough user interest in fixing them. + See . + +## Internal improvements + +* Extensive GlobalErrors refactoring + * Removed many of the error dispatching differences between browsers and Node + * Split into portable and platform-specific parts + * Converted to ES6 classes +* Removed unnecessary errorWithStack helper + + Jasmine no longer runs on platforms that create errors without stack traces. +* Removed protections against user code redefining undefined + + Jasmine no longer runs on platforms that allow redefining undefined. +* Removed rimraf and shelljs dev dependencies + +## 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 | 138* | +| Firefox | 102**, 115**, 128, 140* | +| Edge | 138* | + +\* 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)_