|
| 1 | +# jasmine-browser-runner 0.10.0 Release Notes |
| 2 | + |
| 3 | +## New features and bugfixes |
| 4 | + |
| 5 | +* Updated dependencies, particularly selenium-webdriver, to latest versions. |
| 6 | + |
| 7 | +* The `init` command generates an ES module specific config file if `--esm` is |
| 8 | + passed. |
| 9 | + |
| 10 | + In typical ES module usage, specs are the "root" modules that will have script |
| 11 | + tags added to the page, and everything else is brought in via (usually |
| 12 | + relative) imports. For that to work without users having to know too much |
| 13 | + about how jasmine-browser-runner generates URLs, the "source" files also |
| 14 | + need to be inside specDir. Similarly, directly including source modules via |
| 15 | + script tags doesn't make much sense, since a well-behaved ES module |
| 16 | + exports things rather than making them available as globals. |
| 17 | + |
| 18 | +* Better error message when jasmine-core is not installed |
| 19 | + |
| 20 | +* Spec etc. files can be http or https URLs as well as local paths |
| 21 | + |
| 22 | +* Load scripts in body, not head |
| 23 | + |
| 24 | + This enables the use of libraries that expect document.body to be defined |
| 25 | + at load time, notably react-testing-library. |
| 26 | + |
| 27 | + |
| 28 | +## Documentation updates |
| 29 | + |
| 30 | +* Added [a tutorial explaining how to set up jasmine-browser-runner to test React apps](https://jasmine.github.io/tutorials/react_with_browser) |
| 31 | + |
| 32 | +## Internal improvements |
| 33 | + |
| 34 | +* Test both oldest and newest supported jasmine-core versions in CI builds |
| 35 | + |
| 36 | +## Supported environments |
| 37 | + |
| 38 | +jasmine-browser-runner 0.10.0 has been tested in the following environments. |
| 39 | + |
| 40 | +| Environment | Supported versions | |
| 41 | +|-------------------|--------------------| |
| 42 | +| Node | 14, 16 | |
| 43 | +| Safari | 8-14 | |
| 44 | +| Chrome | 96 | |
| 45 | +| Firefox | 94, 68, 78 | |
| 46 | +| Edge | 95 | |
| 47 | +| Internet Explorer | 10, 11 | |
| 48 | + |
| 49 | +------ |
| 50 | + |
| 51 | +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_ |
0 commit comments