Skip to content

Releases

0.3.1

Choose a tag to compare

@erkamyaman erkamyaman released this 02 Dec 16:03
v0.3.1
339a2bc

What's new

Clearer errors when a case or a step is wrong, and one security fix. Thanks to @abedinm, @RajGahoi and @badrisatyam1-ctrl, who sent every change in this release.

  • Security: a goto path with a control character (a tab, a line break or anything below U+0020) is refused when the case is read, because the URL parser drops those and "/\t/evil.com" would load another host. A goto whose URL leaves the origin of --url now throws as well (#56 by @abedinm).
  • A step on a disabled, hidden or covered element says so (the target is disabled, the target is not visible, the target is covered by another element) instead of Timeout 5000ms exceeded, and a select of a disabled option fails at once (#60 by @abedinm).
  • A refused target says what is wrong with it: an unknown key, a missing role, an empty name, an index below 1, or a problem inside within (#49 by @RajGahoi, also proposed in #51 by @badrisatyam1-ctrl).
  • A target that matches more than one element lists the names found and says to add a name, an index or a within target (#57 by @abedinm).
  • Cases are checked harder when they are read: a step key its action does not take (#55 by @badrisatyam1-ctrl), a press key Playwright does not know (#59 by @abedinm), a case folder without case.json and a loose .json file in a suite folder (#54 by @abedinm).
  • replay and gate name the recording file that is not valid JSON, without printing its text (#50 by @RajGahoi, with the typed lock read from #52 by @badrisatyam1-ctrl).
  • The noise entry errors and the reference mention "keep": false (#61 by @abedinm), and llms.txt and the reference list the options replay and gate take (#58 by @abedinm).

The full list is in CHANGELOG.md.

Install

npm i -D angular-anything

Full changes: v0.3.0...v0.3.1

0.3.0

Choose a tag to compare

@erkamyaman erkamyaman released this 30 Nov 08:28
v0.3.0
4d6dbf2

What's new

  • Svelte support. On a page where Svelte runs (window.__svelte.v is set), the svelte-<hash> classes that scoped styles add are ignored, so a Svelte app can be recorded and its Angular port gated like any other. A Svelte 5 version of the Tasks test app passes all 19 recorded cases (79 steps), and an Angular port gates against it with 79/79 identical screenshots.
  • The how-it-works diagram now shows React, Vue, AngularJS, Blazor and Svelte.

Install

npm i -D angular-anything

Full changes: v0.2.0...v0.3.0

0.2.0

Choose a tag to compare

@erkamyaman erkamyaman released this 29 Nov 11:20
v0.2.0
1ba01fd

What's new

  • Blazor WebAssembly originals (#6, asked for in #5 by @stigsnor). Record a Blazor WASM app and gate its Angular port. The files Blazor loads for itself (_framework/*.wasm, .dll, ...) go to the server instead of the tape, and Blazor's own DOM marks (_bl_*, b-* scoped CSS, --blazor-load-percentage) are ignored on pages where Blazor runs. A Blazor version of the Tasks fixture passes all 19 cases of the React recording.
  • Port from any framework (#7). A new porting guide for agents: pin down the source framework and version, ask the user for content and test data, learn the source from its own docs and code, learn Angular from Angular's (CLI MCP server, best practices, style guide, skills), write a MAPPING.md, then record and gate.
  • llms.txt starts the Angular MCP server as npx @angular/cli mcp and names its tools.
  • Built with TypeScript 7.
npm install -g angular-anything@0.2.0