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

Advance RFC #0740 "EmberData | Deprecate Non Strict Types" to Stage Recommended #972

Merged
merged 4 commits into from
Dec 20, 2024

Conversation

emberjs-rfcs-bot
Copy link
Collaborator

@emberjs-rfcs-bot emberjs-rfcs-bot commented Sep 24, 2023

Advance #740 to the Recommended Stage

Summary

This pull request is advancing the RFC to the Recommended Stage.

An FCP is required before merging this PR to advance.

Recommended Stage Summary

The "Recommended" stage is the final milestone for an RFC. It provides a signal to the wider community to indicate that a feature has been put through its ecosystem paces and is ready to use.

To reach the "Recommended" stage, the following should be true:

If appropriate, the feature is integrated into the tutorial and the guides prose. API documentation is polished and updates are carried through to other areas of API docs that may not directly pertain to the feature.

If the proposal replaces an existing feature, the addon ecosystem has largely updated to work with both old and new features.

If the proposal updates or replaces an existing feature, high-quality codemods are available.

If needed, Ember debugging tools as well as popular IDE support have been updated to support the feature.

If the feature is part of a suite of features that were designed to work together for best ergonomics, the other features are also ready to be "Recommended".

Any criteria for "Recommended" for this proposal that were established in the Ready For Release stage have been met.

An FCP is required to enter this stage. Multiple RFCs may be moved as a batch into "Recommended" with the same PR.

Checklist to move to Recommended

  • Criteria specific to this feature: Any additional criteria for "Recommended" for this proposal that were established in the Ready For Release stage have been met.
  • Tutorial: If appropriate, the feature is integrated into the tutorial.
  • Guides: If appropriate, the feature is integrated into the guides prose.
  • API Docs: API documentation is polished and updates are carried through to other areas of API docs that may not directly pertain to the feature.
  • Addon Ecosystem: If the proposal replaces an existing feature, the addon ecosystem has largely updated to work with both old and new features.
  • Codemods: If the proposal updates or replaces an existing feature, high-quality codemods are available.
  • Debugging Tools: If needed, Ember debugging tools (e.g. Ember Inspector, Deprecation Workflow) have been updated to support the feature.
  • IDE Support: If needed, popular IDE support has been updated to support the feature.
  • Engines, SSR: If needed, ecosystem feature such as Ember Engines, SSR support have been updated to support the feature.
  • Blueprints: Blueprints have been updated to support the feature and to reflect the new best practices implied by this feature.
  • Linting: Lint rules have been updated or added or removed to support the feature and to reflect the new best practices implied by this feature.
  • Deprecations: If this feature implies that other features are no longer best practice, RFCs have been created to deprecate those features.
  • Blog Post: Consider if a blog post should be written to introduce this feature to the community.
  • Feature Suite: If the feature is part of a suite of features that were designed to work together for best ergonomics, the other features are also ready to be "Recommended".
  • FCP to Recommended: This PR has been converted from a draft to a regular PR and the Final Comment Period label has been added to start the FCP.

Criteria for moving to Recommended (required)

A set of criteria for moving this RFC to the Recommended Stage, following release:

  • deprecation is implemented
  • guidance is provided in deprecation documentation

@emberjs-rfcs-bot emberjs-rfcs-bot added RFC Advancement S-Recommended PR to move to the Recommended Stage labels Sep 24, 2023
@achambers achambers assigned runspired and unassigned runspired Sep 29, 2023
@achambers
Copy link
Contributor

@runspired Added you here as the owner. Feel free to reassign if that's not correct.

@ef4
Copy link
Contributor

ef4 commented Sep 29, 2023

Update from the pm RFC review: this still deserves a codemod and @runspired things that would be practical and useful.

@ef4
Copy link
Contributor

ef4 commented Oct 6, 2023

Update: the codemod & lint will be in eslint-plugin-ember-data, which we now have control over (an earlier malicious package of that name existed once upon a time and got squashed by NPM).

@runspired runspired added the T-ember-data RFCs that impact the ember-data library label Oct 13, 2023
@ef4
Copy link
Contributor

ef4 commented Jan 19, 2024

Hi @gitKrystan, @runspired mentioned that he thinks you already implemented a lint-with-fix for this issue. Is that correct and if so can we help you get it published?

@ef4
Copy link
Contributor

ef4 commented Mar 29, 2024

Latest update: @runspired is planning to work on the eslint-with-fix.

@ef4
Copy link
Contributor

ef4 commented Apr 26, 2024

Status update: there are new utils on ember-data canary that are part of the implementation for the eslint & fix.

@ef4
Copy link
Contributor

ef4 commented Sep 27, 2024

Latest update: we think a lint+fix is only a few weeks out, so let's revisit after that to see if we still want to land that or just move ahead.

@runspired
Copy link
Contributor

lint rule for types is still in flight, but we recently started publishing a lint package and added lint rule infrastructure to support doing so.

@ef4 ef4 marked this pull request as ready for review December 6, 2024 19:09
@ef4
Copy link
Contributor

ef4 commented Dec 6, 2024

RFC review discussion agreed to advance this to recommended even without the nice-to-have lint-fix.

@runspired runspired merged commit 972e2ed into master Dec 20, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Final Comment Period RFC Advancement S-Recommended PR to move to the Recommended Stage T-ember-data RFCs that impact the ember-data library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants