Poop Sheet

Jasmine Core 4.0.0 Release Notes

Summary

This is a major release. In addition to new features and bug fixes it contains a number of breaking changes that are intended to diagnose common errors, improve awkward or outdated APIs, and make Jasmine easier to maintain and contribute to. If you’re upgrading from Jasmine 3.x, we recommend installing 3.99 and fixing any deprecation warnings that it emits before updating to 4.0. Please see the migration guide for more information. If you use the jasmine or jasmine-browser-runner NPM packages, please read the release notes for those packages as well.

Highlights

See details below.

Breaking changes

Changes to supported environments

The following previously supported environments are no longer supported:

Although Jasmine 4.0 may still work in some of those environments, we no longer test against them and won’t try to maintain compatibility with them in future 4.x releases.

The jasmine-browser-runner NPM package is the direct replacement for the jasmine Ruby and Python packages.

Changes that affect how specs are written

Changes to how Jasmine is configured

Changes that affect custom matchers

See the migration guide for more information about these changes and how to update custom matchers that use the old APIs.

Changes that affect custom reporters

Other breaking changes

Other new features and bug fixes

Documentation updates

Supported environments

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

Environment Supported versions
Node 12.17+, 14, 16
Safari 14-15
Chrome 96
Firefox 91, 95
Edge 96

_Release Notes generated with Anchorman