Skip to content

chore: remove deprecated declarative event e support#7486

Merged
janechu merged 5 commits intomicrosoft:releases/fast-element-v3from
janechu:users/janechu/remove-deprecated-e
Apr 23, 2026
Merged

chore: remove deprecated declarative event e support#7486
janechu merged 5 commits intomicrosoft:releases/fast-element-v3from
janechu:users/janechu/remove-deprecated-e

Conversation

@janechu
Copy link
Copy Markdown
Collaborator

@janechu janechu commented Apr 23, 2026

Pull Request

📖 Description

Remove deprecated support for bare e in FAST declarative event handler arguments.

This makes $e and $c the only special event-binding arguments, removes the deprecated warning/runtime compatibility path, deletes the deprecated warning fixture, and updates the migration and declarative docs for the breaking change.

🎫 Issues

👩‍💻 Reviewer Notes

The main changes are in packages/fast-element/src/declarative/:

  • bare e is no longer treated as a special event argument
  • TemplateParser.hasDeprecatedEventSyntax and the related warning path were removed
  • declarative fixtures and docs now use $e

I also excluded declarative fixture templates.html/generated index.html files from the repo's Biome changed-file checks because those artifacts are whitespace-sensitive and Biome's explicit file-path mode was flagging generated fixture HTML that is intentionally not formatter-safe.

📑 Test Plan

  • npm run build
  • npm run test
  • npm run biome:check
  • npm run checkchange

✅ Checklist

General

  • I have included a change request file using $ npm run change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

⏭ Next Steps

  • None.

janechu and others added 2 commits April 23, 2026 13:06
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@janechu janechu changed the title Remove deprecated declarative event e support chore: remove deprecated declarative event e support Apr 23, 2026
janechu and others added 3 commits April 23, 2026 14:24
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@janechu janechu marked this pull request as ready for review April 23, 2026 21:33
@janechu janechu merged commit 7d2db2b into microsoft:releases/fast-element-v3 Apr 23, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants