diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index a80df7b1..67ae3805 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -9872,5 +9872,5 @@ getJasmineRequireObj().UserContext = function(j$) { }; getJasmineRequireObj().version = function() { - return '3.8.0'; + return '3.9.0'; }; diff --git a/lib/jasmine-core/version.rb b/lib/jasmine-core/version.rb index f879e1d5..ccee40c5 100644 --- a/lib/jasmine-core/version.rb +++ b/lib/jasmine-core/version.rb @@ -4,6 +4,6 @@ # module Jasmine module Core - VERSION = "3.8.0" + VERSION = "3.9.0" end end diff --git a/package.json b/package.json index 521249e7..84dd9372 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "3.8.0", + "version": "3.9.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/3.9.0.md b/release_notes/3.9.0.md new file mode 100644 index 00000000..b249f99c --- /dev/null +++ b/release_notes/3.9.0.md @@ -0,0 +1,65 @@ +# Jasmine Core 3.9 Release Notes + +## New features and bug fixes + +* Fixed Trusted Types error in `j$.isError_` in Chromium-based browsers + * Merges [#1921](https://github.com/jasmine/jasmine/pull/1921) from @bjarkler + * Fixes [#1910](https://github.com/jasmine/jasmine/issues/1910) + * Fixes [#1653](https://github.com/jasmine/jasmine/issues/1653) + +* Better reporting of unhandled promise rejections with truthy but non-`Error` + reasons on Node +* `Env#execute` returns a promise in environments that support promises +* Renamed `failFast` and `oneFailurePerSpec` config props to `stopOnSpecFailure` + and `stopSpecOnExpectationFailure` + + The new names are more self-explanatory and consistent with jasmine-npm. The + old names are deprecated but will still work until the next major release. + +* Split `boot.js` into two files to allow the env to be configured in between + + This is mainly intended to support jasmine-browser-runner, which will load + a script that configures the env in between the two boot files (`boot0.js` and + `boot1.js`). The single-file `boot.js` will still be included until the next + major release. + +## Ruby deprecation + +The Jasmine Ruby gems are deprecated. There will be no further releases after +the end of the Jasmine 3.x series. We recommend that most users migrate to the +[jasmine-browser-runner](https://github.com/jasmine/jasmine-browser) +npm package, which is the direct replacement for the `jasmine` gem. + +If `jasmine-browser-runner` doesn't meet your needs, one of these might: + +* The [jasmine](https://github.com/jasmine/jasmine-npm) npm package to run + specs in Node.js. +* The [standalone distribution](https://github.com/jasmine/jasmine#installation) + to run specs in browsers with no additional tools. +* The [jasmine-core](https://github.com/jasmine/jasmine) npm package if all + you need is the Jasmine assets. This is the direct equivalent of the + `jasmine-core` Ruby gem. + +## Documentation updates + +* Added API docs for `Suite#id` and `Spec#id` +* Marked `Env#hideDisabled` deprecated in jsdocs + + +------ + +## Supported environments + +jasmine-core 3.8.0 has been tested in the following environments. + +| Environment | Supported versions | +|-------------------|--------------------| +| Node | 10, 12, 14, 16 | +| Safari | 8-14 | +| Chrome | 92 | +| Firefox | 91, 78, 68 | +| Edge | 92 | +| Internet Explorer | 10, 11 | + + +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_