|
| 1 | +# jasmine-browser-runner 2.0.0-beta.0 Release Notes |
| 2 | + |
| 3 | +## Breaking Changes |
| 4 | + |
| 5 | +* jasmine-core peer dependency updated to 5.0.0-beta.0 |
| 6 | + |
| 7 | + The upgrade to 5.0 should be seamless for most jasmine-browser-runner users, |
| 8 | + however, there are a few breaking changes to be aware of. Please see the |
| 9 | + [jasmine-core 5.0.0-alpha-0](https://github.com/jasmine/jasmine/blob/main/release_notes/5.0.0-alpha.0.md), |
| 10 | + [5.0.0-alpha-1](https://github.com/jasmine/jasmine/blob/main/release_notes/5.0.0-alpha.1.md), |
| 11 | + and [5.0.0-beta-0](https://github.com/jasmine/jasmine/blob/main/release_notes/5.0.0-beta.0.md) |
| 12 | + release notes for details. |
| 13 | + |
| 14 | +* Backslashes in file globs are interpreted as the start of escape sequences on |
| 15 | + all OSes. Previous versions of Jasmine used a version of the glob package that |
| 16 | + treated them as directory separators on Windows and the start of escape |
| 17 | + sequences on other OSes. |
| 18 | + |
| 19 | +* Safari 14, Firefox 91, and Node <19 are no longer supported. |
| 20 | + |
| 21 | +## New Features |
| 22 | + |
| 23 | +* Opt-in support for top-level-await |
| 24 | + |
| 25 | + This can be enabled by adding enableTopLevelAwait: true to the configuration. |
| 26 | + It's off by default because HTTP requests for scripts are performed |
| 27 | + sequentially rather than potentially in parallel. This comes at a cost in |
| 28 | + performance but is the only way to ensure a stable order when randomization |
| 29 | + is disabled or a random seed is specified. |
| 30 | + |
| 31 | +## Supported Environments |
| 32 | + |
| 33 | +jasmine-browser-runner 1.3.1 has been tested in the following environments. |
| 34 | + |
| 35 | +| Environment | Supported versions | |
| 36 | +|-------------------|--------------------| |
| 37 | +| Node | 18, 20 | |
| 38 | +| Safari | 15-16 | |
| 39 | +| Chrome | 112 | |
| 40 | +| Firefox | 102, 112 | |
| 41 | +| Edge | 112 | |
| 42 | + |
| 43 | + |
| 44 | +------ |
| 45 | + |
| 46 | +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_ |
0 commit comments