|
| 1 | +# jasmine-browser-runner 3.0.0 Release Notes |
| 2 | + |
| 3 | +## Breaking Changes |
| 4 | + |
| 5 | +* Default to localhost when a listenAddress is not specified |
| 6 | + |
| 7 | + Previously, jasmine-browser-runner defaulted to listening on the address |
| 8 | + specified by the hostname config value if specified or all network |
| 9 | + interfaces if neither listenAddress nor hostname was specified. This |
| 10 | + change improves security by not allowing connections from other hosts unless |
| 11 | + that's been explicitly requested. |
| 12 | + |
| 13 | +* Removed redundant options parameter from Server#start |
| 14 | + |
| 15 | + If you were passing options to Server#start, pass them to the Server |
| 16 | + constructor instead. |
| 17 | + |
| 18 | +* Removed redundant second options parameter from startServer |
| 19 | + |
| 20 | + If you were passing two options parameters to startServer, combine them into |
| 21 | + a single parameter. |
| 22 | + |
| 23 | +* Removed legacy Saucelabs support |
| 24 | + |
| 25 | + jasmine-browser-runner can still be used with Saucelabs via the remote |
| 26 | + Selenium grid feature. See the README for details. |
| 27 | + |
| 28 | +* The expected and actual properties of |
| 29 | + [expectation results](https://jasmine.github.io/api/5.6/global.html#ExpectationResult) |
| 30 | + are not passed to reporters. |
| 31 | + |
| 32 | +* Removed the --reporter= CLI option |
| 33 | + |
| 34 | +* Removed the useHtmlReporter config option |
| 35 | + |
| 36 | +* Updated to Express 5.0 |
| 37 | + |
| 38 | + This may be a breaking change if your jasmine-browser-runner configuration |
| 39 | + adds any Express middleware that isn't compatible with Express 5. See the |
| 40 | + [Express 5 migration guide](https://expressjs.com/en/guide/migrating-5.html) |
| 41 | + for details. If your configuration doesn't contain a `middleware` property, |
| 42 | + you don't need to change anything. |
| 43 | + |
| 44 | +* The minimum jasmine-core version is now 5.5.0. |
| 45 | + |
| 46 | +## New Features |
| 47 | + |
| 48 | +* Allow ES modules in the src directory, for use in incrementally migrating |
| 49 | + codebases to ES modules |
| 50 | + * Merges [#60](https://github.com/jasmine/jasmine-browser-runner/pull/60) |
| 51 | + and [#65](https://github.com/jasmine/jasmine-browser-runner/pull/65) from |
| 52 | + @HolgerJeromin |
| 53 | + |
| 54 | +* Set [forbidDuplicateNames](https://jasmine.github.io/api/5.6/Configuration.html#forbidDuplicateNames) |
| 55 | + to true in newly generated configs |
| 56 | + |
| 57 | +## Bug Fixes |
| 58 | + |
| 59 | +* Fixed Selenium error when the expected value in a failed expectation is a |
| 60 | + detached DOM node |
| 61 | + * Fixes [#67](https://github.com/jasmine/jasmine-browser-runner/issues/67) |
| 62 | + |
| 63 | +* Fixed intermittent mis-ordering of ESM specs |
| 64 | + * Fixes [#62](https://github.com/jasmine/jasmine-browser-runner/issues/62) |
| 65 | + |
| 66 | +## Documentation updates |
| 67 | + |
| 68 | +* Demoted Safari to best-effort support |
| 69 | + |
| 70 | + Due to limited availability of Safari versions for contributors and maintainers |
| 71 | + as well as in CI, Safari will be supported on the same best-effort basis as |
| 72 | + environments that are past end of life, such as previous Firefox ESR versions. |
| 73 | + See [this discussion](https://github.com/jasmine/jasmine/discussions/2050) for |
| 74 | + more information about why this change was made and what to expect. |
| 75 | + |
| 76 | +* Added Firefox 128 (current ESR) and Node 22 to supported environments |
| 77 | + |
| 78 | +* Fixed default esmFilenameExtension in README |
| 79 | + * Merges [#59](https://github.com/jasmine/jasmine-browser-runner/pull/59) from |
| 80 | + @HolgerJeromin |
| 81 | + |
| 82 | + |
| 83 | +## Supported Environments |
| 84 | + |
| 85 | +This version has been tested in the following environments. |
| 86 | + |
| 87 | +| Environment | Versions | |
| 88 | +|-------------------|-------------------------| |
| 89 | +| Node | 18, 20, 22 | |
| 90 | +| Safari | 15**, 16**, 17** | |
| 91 | +| Chrome | 133* | |
| 92 | +| Firefox | 102**, 115**, 128, 135* | |
| 93 | +| Edge | 132* | |
| 94 | + |
| 95 | +\* Evergreen browser. Each version of jasmine-browser-runner is tested against |
| 96 | +the latest version available at release time.<br> |
| 97 | +\** Supported on a best-effort basis. Support for these versions may be dropped |
| 98 | +if it becomes impractical, and bugs affecting only these versions may not be |
| 99 | +treated as release blockers. |
| 100 | + |
| 101 | + |
| 102 | +------ |
| 103 | + |
| 104 | +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_ |
0 commit comments