From d745d6b5f0a8d31f521c4b1cf66a1e5477fa00e5 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Sat, 13 May 2023 15:14:53 -0700 Subject: [PATCH] Bump version to 5.0.0 --- lib/jasmine-core/jasmine.js | 2 +- package.json | 2 +- release_notes/5.0.0.md | 55 +++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 release_notes/5.0.0.md diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 0234c24a..24e0d458 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -10713,5 +10713,5 @@ getJasmineRequireObj().UserContext = function(j$) { }; getJasmineRequireObj().version = function() { - return '5.0.0-beta.0'; + return '5.0.0'; }; diff --git a/package.json b/package.json index 9e74536e..1eeaa806 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "5.0.0-beta.0", + "version": "5.0.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/5.0.0.md b/release_notes/5.0.0.md new file mode 100644 index 00000000..b21331d2 --- /dev/null +++ b/release_notes/5.0.0.md @@ -0,0 +1,55 @@ +# Jasmine Core 5.0.0 Release Notes + +## Summary + +This is a major release that includes breaking changes. It primarily adds +support for parallel execution in Node via the `jasmine` package. Most users +should be able to upgrade without changes, but please read the list of breaking +changes below and see the [migration guide](https://jasmine.github.io/tutorials/upgrading_to_Jasmine_5.0) +for more information. + +## Breaking changes + +* Dropped support for Node 12, 14, and 16 +* Dropped support for Safari 14 and Firefox 91 +* Made Env#execute async and removed the callback parameter +* Global errors are detected via addEventListener rather than setting window.onerror +* The `boot` function exported by the core module returns the same object + every time it's called. +* Removed node_boot.js. Use the exported `boot` function instead. + +## New features + +* Support for parallel execution in Node via the `jasmine` package + See the [parallel guide](https://jasmine.github.io/tutorials/running_specs_in_parallel) + for more information. +* Added Node 20 to supported environments + +## Bug fixes + +* Accessibility: Always provide a non-color indication that a spec is pending +* Accessibility: Improved contrast of version number and inactive tab links +* Uninstall the global error handler at the end of env execution + +## Internal improvements + +* Updated dev dependencies +* Dogfood parallel execution feature in CI + +## Supported environments + +jasmine-core 5.0.0 has been tested in the following environments. + +| Environment | Supported versions | +|-------------------|--------------------| +| Node | 18, 20 | +| Safari | 15-16 | +| Chrome | 113 | +| Firefox | 102, 113 | +| Edge | 113 | + + + +------ + +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_