Skip to content

deprecate the target_action_support mixin, the action_handler mixin, send(), triggerAction() - #21517

Merged
NullVoxPopuli merged 10 commits into
mainfrom
nvp/deprecate-target-action-support-action-handler-action-support-etc
Jul 27, 2026
Merged

NullVoxPopuli merged 10 commits into
mainfrom
nvp/deprecate-target-action-support-action-handler-action-support-etc

Conversation

@NullVoxPopuli

@NullVoxPopuli NullVoxPopuli commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

Deprecates TargetActionSupport

RFC:

Advancement:

Supersedes

History

Note

it's at this point I realize that these mixins are all private and can't actually be imported by users
so the bots initial strategy of deprecating the specific send/trigger methods is the right way to go for now

Important

Previous use of these mixins was available through the Ember global, or barrel-import -- which we've removed.

wagenet and others added 3 commits July 7, 2026 14:11
Implements emberjs/rfcs#1041: deprecates TargetActionSupport#triggerAction,
ActionHandler#send, and ActionSupport#send under the single deprecation id
deprecate-target-action-support, staged as available (not yet enabled) since
the RFC is at the Accepted stage.

Co-authored-by: Peter Wagenet <peter@wagenet.us>
… into nvp/deprecate-target-action-support-action-handler-action-support-etc
@NullVoxPopuli NullVoxPopuli changed the title Nvp/deprecate target action support action handler action support etc deprecate target action support action handler action support etc Jul 24, 2026
@github-actions

github-actions Bot commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

📊 Size report

Tarball size — 1.2 MB → 1.2 MB

dist/dev   0.05%↑

File Before (Size / Brotli) After (Size / Brotli)
./packages/@ember/-internals/deprecations/index.js 5 kB / 1.5 kB 5%↑5.3 kB / 2%↑1.6 kB
./packages/@ember/-internals/runtime/lib/mixins/action_handler.js 5.8 kB / 1.6 kB 6%↑6.1 kB / 7%↑1.7 kB
./packages/@ember/-internals/runtime/lib/mixins/target_action_support.js 4.6 kB / 1.2 kB 7%↑4.9 kB / 10%↑1.3 kB
./packages/@ember/-internals/views/lib/mixins/action_support.js 1.2 kB / 493 B 19%↑1.5 kB / 20%↑594 B
Total (Includes all files) 2.1 MB / 498 kB 0.05%↑2.1 MB / 0.07%↑498.3 kB

dist/prod   0.06%↑

File Before (Size / Brotli) After (Size / Brotli)
./packages/@ember/-internals/deprecations/index.js 4.7 kB / 1.5 kB 6%↑5 kB / 3%↑1.5 kB
./packages/@ember/-internals/runtime/lib/mixins/action_handler.js 5.3 kB / 1.4 kB 6%↑5.6 kB / 9%↑1.6 kB
./packages/@ember/-internals/runtime/lib/mixins/target_action_support.js 4.3 kB / 1.2 kB 7%↑4.6 kB / 8%↑1.3 kB
./packages/@ember/-internals/views/lib/mixins/action_support.js 615 B / 280 B 38%↑851 B / 37%↑383 B
Total (Includes all files) 1.9 MB / 455.4 kB 0.06%↑1.9 MB / 0.08%↑455.8 kB

smoke-tests/v2-app-template/dist   0.2%↑

File Before (Size / Brotli) After (Size / Brotli)
./assets/api-{hash}.js 287.8 kB / 77.4 kB 0.1%↑288.1 kB / 0.1%↑77.5 kB
./assets/modules-{hash}.js 40.6 kB / 12.5 kB 0.6%↑40.8 kB / 1%↑12.6 kB
Total (Includes all files) 351.1 kB / 97.8 kB 0.2%↑351.7 kB / 0.2%↑98 kB

smoke-tests/v2-app-hello-world-template/dist   0%↑

File Before (Size / Brotli) After (Size / Brotli)
Total (Includes all files) 132.4 kB / 37.1 kB 0%↑132.4 kB / -0.31%↓37 kB

🤖 This report was automatically generated by wyvox/pkg-size

Comment thread packages/@ember/-internals/runtime/lib/mixins/action_handler.ts Outdated
Comment thread packages/@ember/-internals/runtime/lib/mixins/target_action_support.ts Outdated
Comment thread packages/@ember/-internals/views/lib/mixins/action_support.ts Outdated
Removed the 'enabled' property from the deprecation since version.
@NullVoxPopuli
NullVoxPopuli merged commit 0b6b64e into main Jul 27, 2026
46 checks passed
@NullVoxPopuli
NullVoxPopuli deleted the nvp/deprecate-target-action-support-action-handler-action-support-etc branch July 27, 2026 15:49
@NullVoxPopuli NullVoxPopuli changed the title deprecate target action support action handler action support etc deprecate the target_action_support mixin, the action_handler mixin, send(), triggerAction() Aug 9, 2026
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.

3 participants