Repository navigation
Releases
Releases · erkamyaman/angular-anything
0.3.1
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
gotopath 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. Agotowhose URL leaves the origin of--urlnow 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 ofTimeout 5000ms exceeded, and aselectof 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 emptyname, anindexbelow 1, or a problem insidewithin(#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, anindexor awithintarget (#57 by @abedinm). - Cases are checked harder when they are read: a step key its action does not take (#55 by @badrisatyam1-ctrl), a
presskey Playwright does not know (#59 by @abedinm), a case folder withoutcase.jsonand a loose.jsonfile in a suite folder (#54 by @abedinm). replayandgatename 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), andllms.txtand the reference list the optionsreplayandgatetake (#58 by @abedinm).
The full list is in CHANGELOG.md.
Install
npm i -D angular-anythingFull changes: v0.3.0...v0.3.1
0.3.0
What's new
- Svelte support. On a page where Svelte runs (
window.__svelte.vis set), thesvelte-<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-anythingFull changes: v0.2.0...v0.3.0
0.2.0
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 mcpand names its tools. - Built with TypeScript 7.
npm install -g angular-anything@0.2.0