From 0e604de0db35d5d08d08e1f045777f4d414606b5 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Sat, 26 Apr 2025 09:29:07 -0700 Subject: [PATCH] Bump version to 5.7.0 --- lib/jasmine-core/jasmine.js | 2 +- package.json | 2 +- release_notes/5.7.0.md | 64 +++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 release_notes/5.7.0.md diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index be509fa8..7b64e742 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -11391,5 +11391,5 @@ getJasmineRequireObj().UserContext = function(j$) { }; getJasmineRequireObj().version = function() { - return '5.6.0'; + return '5.7.0'; }; diff --git a/package.json b/package.json index c6547796..d473b69e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "5.6.0", + "version": "5.7.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/5.7.0.md b/release_notes/5.7.0.md new file mode 100644 index 00000000..ebf8abb6 --- /dev/null +++ b/release_notes/5.7.0.md @@ -0,0 +1,64 @@ +# Jasmine Core 5.7.0 Release Notes + +## New features + +* Added [Clock#autoTick](https://jasmine.github.io/api/5.7/Clock.html#autoTick) + to automatically tick the clock asynchronously + * Merges #2042 from @atscott and @stephenfarrar + * Fixes #1725 + * Fixes #1932 + +* Expose [spec path](https://jasmine.github.io/api/5.7/Spec.html#getPath) as an + array of names in addition to the existing concatenated name + + This is meant to support tools like IDE integrations that need to filter a run + to an exact set of suites/specs. + + +## Documentation improvements + +* Documented that [SpecResult#filename](https://jasmine.github.io/api/5.7/global.html#SpecResult) + and [SuiteResult#filename](https://jasmine.github.io/api/5.7/global.html#SuiteResult) + are wrong when zone.js is present and in some cases where it/describe/etc are + replaced +* Updated docs for expected and actual properties of +[expectation results](https://jasmine.github.io/api/5.7/global.html#ExpectationResult) + + +## Internal improvements + +* Rewrote the build system to not use Grunt + + Although Grunt has served Jasmine well over the years, it was keeping us tied + to an aging and increasingly questionable set of dev dependencies. + +* Updated to eslint 9 +* Removed mostly-unmaintained dev dependency 'temp' +* Updated most other dev dependencies to latest versions +* Fixed sass deprecation warning +* Updated to Sauce Connect 5 +* Made stop-sauce-connect script more robust + + +## Supported environments + +This version has been tested in the following environments. + +| Environment | Supported versions | +|-------------------|-------------------------| +| Node | 18**, 20, 22 | +| Safari | 15**, 16**, 17** | +| Chrome | 135* | +| Firefox | 102**, 115**, 128, 137* | +| Edge | 135* | + +\* Evergreen browser. Each version of Jasmine is tested against the latest +version available at release time.
+\** Environments that are past end of life are supported on a best-effort basis. +They may be dropped in a future minor release of Jasmine if continued support +becomes impractical. + + +------ + +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_