Skip to content

Implement RFC#1006, Deprecate (action) and {{action}} #20653

Merged
kategengler merged 8 commits intoemberjs:mainfrom
NullVoxPopuli:deprecate-action
Mar 28, 2024
Merged

Implement RFC#1006, Deprecate (action) and {{action}} #20653
kategengler merged 8 commits intoemberjs:mainfrom
NullVoxPopuli:deprecate-action

Conversation

@NullVoxPopuli
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli commented Mar 5, 2024

RFC: emberjs/rfcs#1006
Pending: emberjs/rfcs#1006

I was was going through implementing the removal of all this code in a later PR (for v6), I (re?)learned that by deprecating (action) and {{action}} we shadow-deprecate the actions: {} hash in classic.

Should that have its own deprecation RFC?

@NullVoxPopuli NullVoxPopuli changed the title Implement RFC#1006, Deprecation (action) and {{action}} Implement RFC#1006, Deprecate (action) and {{action}} Mar 5, 2024
@NullVoxPopuli
Copy link
Contributor Author

Should the available/whatever flags be 5.9 or 5.10?

@ef4
Copy link
Contributor

ef4 commented Mar 14, 2024

At a first pass the implementation seems good. I guess we should make sure the deprecation URL is live before we merge this.

@kategengler
Copy link
Member

I agree with @ef4, but syncing that is why we have "Ready for Release". I think this either needs a feature flag or the RFC needs to be in "Ready for Release" to merge.

@NullVoxPopuli NullVoxPopuli force-pushed the deprecate-action branch 2 times, most recently from 0b5c2f7 to db0f0d8 Compare March 26, 2024 22:49
expectDeprecation(
/Usage of the `\(action\)` helper is deprecated./,
DEPRECATIONS.DEPRECATE_TEMPLATE_ACTION.isEnabled
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this test be converted to using functions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough, updated!

@kategengler kategengler enabled auto-merge March 28, 2024 18:21
@kategengler
Copy link
Member

Thank you, set automerge!

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.

4 participants