Skip to content

Commit

Permalink
Bump version to 2.0.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed May 2, 2023
1 parent 9ac76f6 commit 17390c2
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jasmine-browser-runner",
"version": "1.3.1",
"version": "2.0.0-beta.0",
"description": "Serve and run your Jasmine specs in a browser",
"bin": "bin/jasmine-browser-runner",
"exports": "./index.js",
Expand Down
46 changes: 46 additions & 0 deletions release_notes/2.0.0-beta.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# jasmine-browser-runner 2.0.0-beta.0 Release Notes

## Breaking Changes

* jasmine-core peer dependency updated to 5.0.0-beta.0

The upgrade to 5.0 should be seamless for most jasmine-browser-runner users,
however, there are a few breaking changes to be aware of. Please see the
[jasmine-core 5.0.0-alpha-0](https://github.com/jasmine/jasmine/blob/main/release_notes/5.0.0-alpha.0.md),
[5.0.0-alpha-1](https://github.com/jasmine/jasmine/blob/main/release_notes/5.0.0-alpha.1.md),
and [5.0.0-beta-0](https://github.com/jasmine/jasmine/blob/main/release_notes/5.0.0-beta.0.md)
release notes for details.

* Backslashes in file globs are interpreted as the start of escape sequences on
all OSes. Previous versions of Jasmine used a version of the glob package that
treated them as directory separators on Windows and the start of escape
sequences on other OSes.

* Safari 14, Firefox 91, and Node <19 are no longer supported.

## New Features

* Opt-in support for top-level-await

This can be enabled by adding enableTopLevelAwait: true to the configuration.
It's off by default because HTTP requests for scripts are performed
sequentially rather than potentially in parallel. This comes at a cost in
performance but is the only way to ensure a stable order when randomization
is disabled or a random seed is specified.

## Supported Environments

jasmine-browser-runner 1.3.1 has been tested in the following environments.

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


------

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

0 comments on commit 17390c2

Please sign in to comment.