Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 8 commits into from
Mar 28, 2024

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
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