|
3 | 3 | All notable changes to this project will be documented in this file. |
4 | 4 | See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. |
5 | 5 |
|
| 6 | +## [21.0.0-beta.1](https://github.com/just-jeb/angular-builders/compare/@angular-builders/[email protected]...@angular-builders/[email protected]) (2025-12-17) |
| 7 | + |
| 8 | +### ⚠ BREAKING CHANGES |
| 9 | + |
| 10 | +* **jest:** configPath option renamed to config |
| 11 | + |
| 12 | +The config option now accepts: |
| 13 | +- File path (string): "jest.config.js" |
| 14 | +- JSON string: '{"verbose": true}' |
| 15 | +- Inline object in angular.json |
| 16 | +* **jest:** zoneless is now the default |
| 17 | + |
| 18 | +Apps using zone.js change detection must set zoneless: false in angular.json. |
| 19 | + |
| 20 | +globalMocks option now only supports matchMedia. The styleTransform, |
| 21 | +getComputedStyle, and doctype mocks have been removed as Jest 30's |
| 22 | +jsdom supports these natively. |
| 23 | +* **jest:** Requires Jest 30 |
| 24 | + |
| 25 | +Users must upgrade: |
| 26 | +npm install --save-dev jest@^30.0.0 jest-environment-jsdom@^30.0.0 jsdom@^26.0.0 |
| 27 | + |
| 28 | +Also requires tsconfig.spec.json update for moduleResolution compatibility: |
| 29 | +{ |
| 30 | + "compilerOptions": { |
| 31 | + "module": "Node16", |
| 32 | + "moduleResolution": "Node16", |
| 33 | + "isolatedModules": true |
| 34 | + } |
| 35 | +} |
| 36 | + |
| 37 | +Schema changes: |
| 38 | +- testPathPattern renamed to testPathPatterns |
| 39 | +- Removed: browser, init, mapCoverage, testURL, timers |
| 40 | +* All packages now require Angular 21 |
| 41 | + |
| 42 | +### Features |
| 43 | + |
| 44 | +* **jest:** add zoneless testing support ([1f23ca4](https://github.com/just-jeb/angular-builders/commit/1f23ca453017c40d4b78a9383eb8ccd19959a234)), closes [#1934](https://github.com/just-jeb/angular-builders/issues/1934) |
| 45 | +* **jest:** rename configPath to config with object support ([7bfe312](https://github.com/just-jeb/angular-builders/commit/7bfe31233d86cd04798055d19a552e7d8ab424a3)), closes [#108](https://github.com/just-jeb/angular-builders/issues/108) |
| 46 | +* **jest:** upgrade to Jest 30 via jest-preset-angular v16 ([ca4b6d9](https://github.com/just-jeb/angular-builders/commit/ca4b6d91372ff0bc2c827135a9f3ce2b4bc3e0f9)), closes [#1931](https://github.com/just-jeb/angular-builders/issues/1931) |
| 47 | + |
| 48 | +### Miscellaneous Chores |
| 49 | + |
| 50 | +* upgrade to Angular 21 ([98059dc](https://github.com/just-jeb/angular-builders/commit/98059dcfc2c2654f4672cb6f4597835522ee50ba)), closes [#1957](https://github.com/just-jeb/angular-builders/issues/1957) |
| 51 | + |
6 | 52 | ## [21.0.0-beta.0](https://github.com/just-jeb/angular-builders/compare/@angular-builders/[email protected]...@angular-builders/[email protected]) (2025-12-17) |
7 | 53 |
|
8 | 54 | ### ⚠ BREAKING CHANGES |
|
0 commit comments