Skip to content

Commit

Permalink
Bump version to 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed May 13, 2023
1 parent fc2c2a4 commit d745d6b
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/jasmine-core/jasmine.js
Expand Up @@ -10713,5 +10713,5 @@ getJasmineRequireObj().UserContext = function(j$) {
};

getJasmineRequireObj().version = function() {
return '5.0.0-beta.0';
return '5.0.0';
};
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "jasmine-core",
"license": "MIT",
"version": "5.0.0-beta.0",
"version": "5.0.0",
"repository": {
"type": "git",
"url": "https://github.com/jasmine/jasmine.git"
Expand Down
55 changes: 55 additions & 0 deletions release_notes/5.0.0.md
@@ -0,0 +1,55 @@
# Jasmine Core 5.0.0 Release Notes

## Summary

This is a major release that includes breaking changes. It primarily adds
support for parallel execution in Node via the `jasmine` package. Most users
should be able to upgrade without changes, but please read the list of breaking
changes below and see the [migration guide](https://jasmine.github.io/tutorials/upgrading_to_Jasmine_5.0)
for more information.

## Breaking changes

* Dropped support for Node 12, 14, and 16
* Dropped support for Safari 14 and Firefox 91
* Made Env#execute async and removed the callback parameter
* Global errors are detected via addEventListener rather than setting window.onerror
* The `boot` function exported by the core module returns the same object
every time it's called.
* Removed node_boot.js. Use the exported `boot` function instead.

## New features

* Support for parallel execution in Node via the `jasmine` package
See the [parallel guide](https://jasmine.github.io/tutorials/running_specs_in_parallel)
for more information.
* Added Node 20 to supported environments

## Bug fixes

* Accessibility: Always provide a non-color indication that a spec is pending
* Accessibility: Improved contrast of version number and inactive tab links
* Uninstall the global error handler at the end of env execution

## Internal improvements

* Updated dev dependencies
* Dogfood parallel execution feature in CI

## Supported environments

jasmine-core 5.0.0 has been tested in the following environments.

| Environment | Supported versions |
|-------------------|--------------------|
| Node | 18, 20 |
| Safari | 15-16 |
| Chrome | 113 |
| Firefox | 102, 113 |
| Edge | 113 |



------

_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_

0 comments on commit d745d6b

Please sign in to comment.