# What changed in playwright-ng-schematics

> 14 changes in playwright-ng-schematics 21 to 22 from its official release notes, upgrade guides and advisories: 1 breaking, 2 security, 2 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/playwright-ng-schematics/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## playwright-ng-schematics 22

### Breaking changes

- Spec files are no longer included in the bundled npm package. (22.0.1) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v22.0.1)

### Security

- Fixes a high severity vulnerability. (22.1.0) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v22.1.0)

### Tooling

- A component story is generated next to the component, if any. (22.1.2) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v22.1.2)
- The component CLI uses clearer language and links to examples. (22.1.0) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v22.1.0)
- Component generation now generates a story and a test. (22.1.0) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v22.1.0)
- Adds setup for component testing. (22.1.0) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v22.1.0)

### Fixes and other changes

- Spawns without a shell to solve the DEP0190 warning. (22.1.3) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v22.1.3)

## playwright-ng-schematics 21

### Security

- Fixes a high severity vulnerability. (21.1.1) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v21.1.1)

### New APIs and options

- Adds --test-project as an alias because --project is used by Angular. (21.1.0) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v21.1.0)
- Adds schematicCollections to angular.json, affecting the schematic collection configuration in generated projects. (21.0.4) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v21.0.4)

### Fixes and other changes

- String options containing spaces are now escaped. (21.0.8) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v21.0.8)
- String options containing spaces are now supported. (21.0.6) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v21.0.6)
- Adds @schematics/angular when no schematic collections are present. (21.0.5) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v21.0.5)
- Fixes the devServer port fallback. (21.0.3) — [release notes](https://github.com/jfgreffier/playwright-ng-schematics/releases/tag/v21.0.3)
