diff --git a/RELEASE.md b/RELEASE.md index 00c5838e..347c6b3a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -35,11 +35,10 @@ When ready to release - specs are all green and the stories are done: ### Commit and push core changes -1. Run the browser tests using `scripts/run-all-browsers`. -2. Commit release notes and version changes (jasmine.js, package.json) -3. Push -4. Tag the release and push the tag. -5. Wait for Circle CI to go green +1. Commit release notes and version changes (jasmine.js, package.json) +2. Push +3. Tag the release and push the tag. +4. Wait for Circle CI to go green ### Build standalone distribution @@ -53,7 +52,9 @@ When ready to release - specs are all green and the stories are done: ### Release the docs -Probably only need to do this when releasing a minor version, and not a patch version. +Probably only need to do this when releasing a minor version, and not a patch +version. See [the README file in the docs repo](https://github.com/jasmine/jasmine.github.io/blob/master/README.md) +for instructions. 1. `rake update_edge_jasmine` 1. `npm run jsdoc` @@ -68,7 +69,6 @@ Probably only need to do this when releasing a minor version, and not a patch ve 1. In `package.json`, update both the package version and the jasmine-core dependency version 1. Commit and push. 1. Wait for Circle CI to go green again. -1. Run the tests on Windows locally. 1. `grunt release `. (Note: This will publish the package by running `npm publish`.) ### Finally diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 1201ec00..6a429e53 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -10429,5 +10429,5 @@ getJasmineRequireObj().UserContext = function(j$) { }; getJasmineRequireObj().version = function() { - return '4.2.0'; + return '4.3.0'; }; diff --git a/package.json b/package.json index fdfb6c5b..fd4eb305 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "4.2.0", + "version": "4.3.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/4.3.0.md b/release_notes/4.3.0.md new file mode 100644 index 00000000..261b32f5 --- /dev/null +++ b/release_notes/4.3.0.md @@ -0,0 +1,40 @@ +# Jasmine 4.3.0 Release Notes + +## New Features + +* Added [`jasmine.spyOnGlobalErrorsAsync`](https://jasmine.github.io/api/4.3/jasmine.html#.spyOnGlobalErrorsAsync), + to better support testing code that's + expected to produce unhandled exceptions or unhandled promise rejections + * Fixes [#1843](https://github.com/jasmine/jasmine/issues/1843) + * Fixes [#1453](https://github.com/jasmine/jasmine/issues/1453) + +## Documentation updates + +* Updated the README to reduce redundancy and update support links + +## Internal improvements + +* Split `Env` into several smaller classes +* Replaced uses of `var` with `const`/`let` +* Replaced most uses of `self = this` with arrow fns +* Removed obsolete and unused utility fns +* Separated reporter- and runable-specific queue runner configuration +* Added more test coverage for default spy strategies +* Converted integration specs to `async`/`await` + +## Supported environments + +jasmine-core 4.3.0 has been tested in the following environments. + +| Environment | Supported versions | +|-------------------|--------------------| +| Node | 12.17+, 14, 16, 18 | +| Safari | 14-15 | +| Chrome | 103 | +| Firefox | 91, 102 | +| Edge | 103 | + + +------ + +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_