diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 8ab0ec67..326b66af 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -11788,5 +11788,5 @@ getJasmineRequireObj().UserContext = function(j$) { }; getJasmineRequireObj().version = function() { - return '5.10.0'; + return '5.11.0'; }; diff --git a/package.json b/package.json index de14c60d..94c66c27 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "5.10.0", + "version": "5.11.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/5.11.0.md b/release_notes/5.11.0.md new file mode 100644 index 00000000..512e338d --- /dev/null +++ b/release_notes/5.11.0.md @@ -0,0 +1,66 @@ +# Jasmine Core 5.11.0 Release Notes + +## New features + +* `detectLateRejectionHandling` works in `beforeAll` and `afterAll` as well as + in specs. +* Clicking a link in the HTML reporter does exact filtering rather than a + substring match. + + If you use jasmine-browser-runner or load boot1.js directly from jasmine-core, + you'll get the new filtering behavior automatically. Otherwise, it requires + several changes to boot1.js: + + 1. Add `queryString` to the options object passed to `HtmlReporter`, and + remove `filterSpecs`. + 2. Instantiate a `jasmine.HtmlExactSpecFilter` instead of a + `jasmine.HtmlSpecFilter`. + 2. Change the body of `config.specFilter` from + `return specFilter.matches(spec.getFullName());` to + `return specFilter.matches(spec)` + + For a working example, see lib/jasmine-core/boot1.js in this package. + Old boot1.js files will still work, but you'll get the old filtering behavior. + +## Bug fixes + +* Fixed global error handling when the env is executed repeatedly + +## Changes to supported environments + +* Safari 15 is no longer supported. + +## Documentation improvements + +* Added API reference docs for classes used in browser boot files +* Documented the order properties of `jasmineStarted` and `jasmineDone` events + +## Internal improvements + +* Unified top suite and regular suite execution +* Converted `Spec`, `Suite`, and `QueryString` to ES6 classes +* Extracted configuration out of `Env` +* Updated tests to characterize suite/spec reporting more completely +* Adopted `forbidDuplicateNames: true` in jasmine-core's own tests + +## Supported environments + +This version has been tested in the following environments. + +| Environment | Supported versions | +|-------------------|--------------------------------| +| Node | 18.20.5**, 20, 22, 24 | +| Safari | 16**, 17** | +| Chrome | 140* | +| Firefox | 102**, 115**, 128**, 140, 143* | +| Edge | 140* | + +\* 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)_