@immense/vue-pom-generator 1.0.74 → 1.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RELEASE_NOTES.md +59 -78
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/transform.d.ts.map +1 -1
- package/package.json +2 -2
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,79 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
handlers](https://github.com/immense/vue-pom-generator/pull/11) (by @dkattan)
|
|
61
|
-
- #9 [refactor(deps): eliminate all runtime
|
|
62
|
-
dependencies](https://github.com/immense/vue-pom-generator/pull/9) (by @mayfieldiv)
|
|
63
|
-
- #8 [chore: bump version to 1.0.43](https://github.com/immense/vue-pom-generator/pull/8) (by
|
|
64
|
-
@mayfieldiv)
|
|
65
|
-
- #7 [test: add build–serve parity regression
|
|
66
|
-
tests](https://github.com/immense/vue-pom-generator/pull/7) (by @mayfieldiv)
|
|
67
|
-
- #6 [fix: fail fast on dev snapshot generation
|
|
68
|
-
errors](https://github.com/immense/vue-pom-generator/pull/6) (by @dkattan)
|
|
69
|
-
- #5 [fix: dev-mode POM generation parity with build
|
|
70
|
-
mode](https://github.com/immense/vue-pom-generator/pull/5) (by @mayfieldiv)
|
|
71
|
-
- #4 [Fix keyed POM dedupe and C# navigation
|
|
72
|
-
returns](https://github.com/immense/vue-pom-generator/pull/4) (by @dkattan)
|
|
73
|
-
- #1 [Add PR release-notes preview
|
|
74
|
-
comments](https://github.com/immense/vue-pom-generator/pull/1) (by @dkattan)
|
|
75
|
-
|
|
76
|
-
## Testing
|
|
77
|
-
|
|
78
|
-
No new tests added in these commits; existing test suite covers the changes.
|
|
1
|
+
I'll verify the git history to accurately determine which PRs fall in this release window before
|
|
2
|
+
writing the notes.
|
|
3
|
+
|
|
4
|
+
Confirmed — only PRs #33 and #34 are in the v1.0.74..HEAD range. Let me inspect the actual code
|
|
5
|
+
changes to summarize accurately.
|
|
6
|
+
|
|
7
|
+
Let me check the package.json change and confirm the deleted CI files context.
|
|
8
|
+
|
|
9
|
+
I have all the details. Let me confirm the window by checking that the prior PRs (#32 and earlier)
|
|
10
|
+
are outside this release's commit range.
|
|
11
|
+
|
|
12
|
+
Confirmed: only PRs #33 and #34 fall in the v1.0.74..HEAD range. Here are the release notes.
|
|
13
|
+
|
|
14
|
+
Highlights
|
|
15
|
+
|
|
16
|
+
- Existing data-testid attributes on @click elements are now preserved when
|
|
17
|
+
existingIdBehavior="preserve", instead of being silently overwritten with generated IDs.
|
|
18
|
+
- Release-notes CI migrated to the WOPR Copilot provider using the reasoning model.
|
|
19
|
+
- New PR-level release-notes preview workflow posts and updates an AI-generated notes comment on
|
|
20
|
+
pull requests.
|
|
21
|
+
- Removed obsolete agentic release-notes artifacts and a stale nested ci.yml.
|
|
22
|
+
- Bumped @github/copilot-sdk devDependency from ^0.1.8 to ^1.0.8.
|
|
23
|
+
|
|
24
|
+
Changes
|
|
25
|
+
|
|
26
|
+
Bug Fixes
|
|
27
|
+
|
|
28
|
+
- transform.ts: Honor existingIdBehavior="preserve" for clickable (@click) elements. The
|
|
29
|
+
existing-element data-testid check now runs before the @click code path, so an author-supplied
|
|
30
|
+
dynamic test ID (e.g. :data-testid="`select-all-${id}`") is kept rather than replaced by a generated
|
|
31
|
+
ID. overwrite behavior is unchanged.
|
|
32
|
+
|
|
33
|
+
CI / Tooling
|
|
34
|
+
|
|
35
|
+
- Added .github/workflows/pr-release-notes.yml: generates AI release notes via Copilot (reasoning
|
|
36
|
+
model, WOPR provider) on PRs to main and posts/updates a preview comment.
|
|
37
|
+
- Updated .github/workflows/release.yml: switched COPILOT_MODEL from gpt-5 to reasoning and wired
|
|
38
|
+
WOPR provider secrets (base URL, API key, max prompt/output tokens).
|
|
39
|
+
- Removed .github/aw/actions-lock.json, .github/workflows/agentic-release-notes.lock.yml,
|
|
40
|
+
.github/workflows/agentic-release-notes.md, and the stale nested .github/workflows/workflows/ci.yml.
|
|
41
|
+
|
|
42
|
+
Dependencies
|
|
43
|
+
|
|
44
|
+
- @github/copilot-sdk bumped from ^0.1.8 to ^1.0.8 (devDependency).
|
|
45
|
+
|
|
46
|
+
Pull Requests Included
|
|
47
|
+
|
|
48
|
+
- #34 ci: use WOPR Copilot provider with reasoning model for release notes
|
|
49
|
+
(]8;id=md-1gm8px9;https://github.com/immense/vue-pom-generator/pull/34https://github.com/immense/vue-pom-generator/pull/34]8;;]8;;)]8;;
|
|
50
|
+
- #33 fix: preserve existing data-testid on @click elements with existingIdBehavior=preserve
|
|
51
|
+
(]8;id=md-1eobi2g;https://github.com/immense/vue-pom-generator/pull/33https://github.com/immense/vue-pom-generator/pull/33]8;;]8;;)]8;;
|
|
52
|
+
|
|
53
|
+
Testing
|
|
54
|
+
|
|
55
|
+
- Added a regression test in tests/transform.test.ts asserting a dynamic :data-testid on a <button
|
|
56
|
+
@click> is preserved (not overwritten with MyComp-SelectAll-button) under existingIdBehavior:
|
|
57
|
+
"preserve".
|
|
58
|
+
- No new tests for the CI-only changes; the new PR notes workflow is exercised on pull requests to
|
|
59
|
+
main.
|
|
79
60
|
|
package/dist/index.cjs
CHANGED
|
@@ -7666,8 +7666,10 @@ Fix: remove the explicit ${attrLabel}, or change existingIdBehavior to "overwrit
|
|
|
7666
7666
|
});
|
|
7667
7667
|
return;
|
|
7668
7668
|
}
|
|
7669
|
+
const existingElementDataTestId = tryGetExistingElementDataTestId(element, testIdAttribute);
|
|
7670
|
+
const shouldPreserveExisting = existingElementDataTestId && existingIdBehavior === "preserve";
|
|
7669
7671
|
const clickDirective = tryGetClickDirective(element);
|
|
7670
|
-
if (clickDirective) {
|
|
7672
|
+
if (clickDirective && !shouldPreserveExisting) {
|
|
7671
7673
|
const clickSuffix = getComposedClickHandlerContent(element, context, innerText, clickDirective, {
|
|
7672
7674
|
contextFilename: context.filename
|
|
7673
7675
|
});
|
|
@@ -7688,7 +7690,6 @@ Fix: remove the explicit ${attrLabel}, or change existingIdBehavior to "overwrit
|
|
|
7688
7690
|
tryWrapClickDirectiveForTestEvents(element, testIdAttribute, resolvedDataTestId.runtimeValue);
|
|
7689
7691
|
return;
|
|
7690
7692
|
}
|
|
7691
|
-
const existingElementDataTestId = tryGetExistingElementDataTestId(element, testIdAttribute);
|
|
7692
7693
|
if (existingElementDataTestId) {
|
|
7693
7694
|
const inferredRole = getNativeRoleFromTagSuffix().toLowerCase();
|
|
7694
7695
|
const isRecognizedInteractiveRole = inferredRole === "button" || inferredRole === "input" || inferredRole === "select" || inferredRole === "vselect" || inferredRole === "checkbox" || inferredRole === "toggle" || inferredRole === "radio" || inferredRole === "grid" || isComponentLikeTag(element.tag);
|