release_notes/7.0.0.md
This is a major release that includes breaking changes as well as new features. In addition to these release notes, you may find the upgrade guide helpful.
A redesigned module system
jasmineRequire is no longer exposed.A redesigned boot process
boot and noGlobals have been removed.installGlobals function to create them. If you're using the jasmine
package, this is done for you by default.reset function to reset all state and configuration between runs.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.
HtmlReporter, HtmlSpecFilter, and jsApiReporter, which were deprecated
in 6.0, have been removed.
notApplicable function and corresponding spec result status †
This is similar to pending except for the intent and how it's reported.
notApplicable is meant for specs that are never expected to pass in the
current environment/configuration/etc.
NodeList instances †safariYieldStrategy: "time" is now the default.hasOwnProperty on user provided objects †clearTimeout or
clearInterval is called from a timer callback †hideDisabled config option and checkboxforbidDuplicateNames config option is deprecated. The next major version
will unconditionally require unique spec/suite names.safariYieldStrategy: "count" setting is deprecated and will be removed
in a future release. Please open a bug report if removing it causes problems.† New since 7.0.0-pre.2
This version has been tested in the following environments.
| Environment | Supported versions |
|---|---|
| Node | 20**, 22, 24, 26 |
| Safari | 26.5** |
| Chrome | 150* |
| Firefox | 140, 153* |
| Edge | 151* |
* 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