Skip to content

Deprecate the readonly template helper - #1248

Draft
NullVoxPopuli wants to merge 1 commit into
emberjs:mainfrom
NullVoxPopuli-ai-agent:claude/project-thread-6nstuc-deprecate-readonly
Draft

NullVoxPopuli wants to merge 1 commit into
emberjs:mainfrom
NullVoxPopuli-ai-agent:claude/project-thread-6nstuc-deprecate-readonly

Conversation

@NullVoxPopuli

Copy link
Copy Markdown
Contributor

Requested by NullVoxPopuli · project thread

Before: {{readonly}} has been @private in the API docs since 2016 but was never deprecated, so it still works as undocumented intimate API (emberjs/ember.js#21549).

After: this RFC proposes a deprecate-readonly-helper deprecation, removable after the next LTS under the intimate API policy. readonly only affects two-way bindings into classic components, which #1216 deprecates, and is a no-op for Glimmer and template-only components.

The RFC includes a draft deprecation guide, a lint rule and codemod plan, and leaves open which LTS until should name and whether mut should follow.

The file is text/0000-deprecate-readonly-helper.md and needs renaming to this PR's number.

🤖 Generated with Claude Code

https://claude.ai/code/session_013JirFwqPVyTTFj5zPbonSh

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013JirFwqPVyTTFj5zPbonSh

This branch has not been deployed

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