diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index cc15b0b8..fe6cd3f7 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -12280,7 +12280,7 @@ getJasmineRequireObj().UserContext = function(j$, private$) { }; getJasmineRequireObj().version = function() { - return '6.1.0'; + return '7.0.0-pre.0'; }; (function() { diff --git a/package.json b/package.json index d4e31f2d..00910516 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "6.1.0", + "version": "7.0.0-pre.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/7.0.0-pre.0.md b/release_notes/7.0.0-pre.0.md new file mode 100644 index 00000000..b76c98a1 --- /dev/null +++ b/release_notes/7.0.0-pre.0.md @@ -0,0 +1,58 @@ +# Jasmine Core 7.0.0-pre.0 Release Notes + +This is a pre-release, intended to offer a preview of breaking changes and to +solicit feedback. + +Before installing this release, update to 6.0.1 or later and fix all +deprecation warnings. + +## Breaking changes + +* `HtmlReporter`, `HtmlSpecFilter`, and `jsApiReporter`, which were deprecated + in 6.0, have been removed. +* Most private APIs are no longer exposed. +* Monkey patching is blocked. This does not affect globals (`describe`, + `expect`, etc.) or properties that are explicitly documented as writeable. + Those can still be overwritten. +* Redesigned boot process: + * `jasmineRequire`, `boot`, and `noGlobals` have been removed. + * The core instance is automatically created. + * In browsers, globals are automatically created. + * In Node, globals are not automatically created. Call the exported + `installGlobals` function to create them. If you're using the `jasmine` + package, this is done for you by default. + * In Node, the same instance is returned every time jasmine-core is imported. + If you need to do multiple consecutive independent test runs, call the + exported `reset` function to reset all state and configuration between runs. + + If you maintain your own browser boot files, you may be able to update by just + removing `boot1.js`. See the `boot.js` file in this package for a working + example. If you boot jasmine-core in Node, remove the call to `boot` or + `noGlobals` and add a call to `installGlobals` if desired: + + ```javascript + const jasmineCore = require('jasmine-core'); + jasmineCore.installGlobals(); + ``` + +## Supported environments + +This version has been tested in the following environments. + +| Environment | Supported versions | +|-------------------|--------------------------------| +| Node | 20, 22, 24 | +| Safari | 26.3** | +| Chrome | 144* | +| Firefox | 102**, 115**, 128**, 140, 147* | +| Edge | 144* | + +\* 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)_