From 79405426fa1c7a3c942425c3d2738bbb4322d875 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Fri, 28 Nov 2025 11:35:46 -0800 Subject: [PATCH] Bump version to 6.0.0-beta.0 --- lib/jasmine-core/jasmine.js | 2 +- package.json | 2 +- release_notes/6.0.0-beta.0.md | 74 +++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 release_notes/6.0.0-beta.0.md diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 08d7c19f..31f435ec 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -12385,5 +12385,5 @@ getJasmineRequireObj().UserContext = function(j$) { }; getJasmineRequireObj().version = function() { - return '6.0.0-alpha.2'; + return '6.0.0-beta.0'; }; diff --git a/package.json b/package.json index 6950dbf1..eb339b00 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "6.0.0-alpha.2", + "version": "6.0.0-beta.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/6.0.0-beta.0.md b/release_notes/6.0.0-beta.0.md new file mode 100644 index 00000000..3ea586ee --- /dev/null +++ b/release_notes/6.0.0-beta.0.md @@ -0,0 +1,74 @@ +# Jasmine Core 6.0.0-beta.0 Release Notes + +This is a pre-release, intended to offer a preview of upcoming changes and to +solicit feedback. + +## A Note About Pre-Release Compatibility + +There may be additional breaking changes in future 6.0 pre-releases or in the +final 6.0 release. That's allowed by the semver specification, but users are +sometimes unpleasantly surprised by it. + +NPM's implementation of carat version ranges assumes that subsequent +pre-releases and final releases are fully compatible with earlier pre-releases. +If your package.json contains `"jasmine-core": "^6.0.0-beta.0`, +NPM might install any later 6.x version even though there is no guarantee of +compatibility. If that isn't ok, you should specify an exact pre-release version: +`"jasmine-core": "6.0.0-beta.0`. + + +## Breaking changes + +* boot1.js no longer adds jsApiReporter to the env. +* HtmlReporterV2 initialization and boot1.js have been simplified. If you + maintain your own boot file, update it to match the boot1.js included in this + package. + + +## New features + +* Statically exposed pretty printer as jasmine.pp(). + +## Bug fixes + +* Fixed HtmlReporterV2 progress bar when running a subset of specs. + + +## Deprecations + +* jsApiReporter is deprecated. +* Detect monkey patching and emit a deprecation warning. + +## Documentation improvements + +* Documented the set of possible spec statuses. + + +## Internal improvements + +* Replaced isArray helper with native Array.isArray + + +## Supported environments + +This version has been tested in the following environments. + +| Environment | Supported versions | +|-------------------|--------------------------------| +| Node | 20, 22, 24 | +| Safari | 16**, 17**, 26.1** | +| Chrome | 142* | +| Firefox | 102**, 115**, 128**, 140, 145* | +| Edge | 142* | + +\* 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)_