Skip to content

Advance RFC #0334 "Deprecate Ember Utils & dependent Computed Properties" to Stage Ready for Release - #1056

Merged
NullVoxPopuli merged 3 commits into
mainfrom
advance-rfc-0334
Oct 26, 2026
Merged

NullVoxPopuli merged 3 commits into
mainfrom
advance-rfc-0334

Conversation

@emberjs-rfcs-bot

@emberjs-rfcs-bot emberjs-rfcs-bot commented Dec 4, 2024 •

Copy link
Copy Markdown
Collaborator

Advance #334 to the Ready For Release Stage

Rendered

Summary

This pull request is advancing the RFC to the Ready For Release Stage.

An FCP is required before merging this PR to advance.

Upon merging this PR, automation will open a draft PR for this RFC to move to the Released Stage.

Ready for Release Stage Description

This stage is complete when the implementation is complete according to plan outlined in the RFC, and is in harmony with any changes in Ember that have occurred since the RFC was first written. This includes any necessary learning materials. At this stage, features or deprecations may be available for use behind a feature flag, or with an optional package, etc.

For codebase changes, there are no open questions that are anticipated to require breaking changes; the Ember team is ready to commit to the stability of any interfaces exposed by the current implementation of the feature.

This stage should include a list of criteria for determining when the proposal can be considered Recommended after being Released.

An FCP is required to move into this stage.

Each Ember core team will be requested as a reviewer on the PR to move into this stage. A representative of each team adds a review. If a team does not respond to the request, and after the conclusion of the FCP, it is assumed that the release may proceed.

Checklist to move to Ready for Release

  • Implementation is complete according to plan outlined in the RFC, with any adjustments noted in the RFC
  • Any necessary learning materials have been updated
  • The Ember team is ready to commit to the stability of any interfaces exposed by the current implementation of the feature. This is the go/no go decision for any feature flags, but the flags should only be turned on when moving to Released.
  • The feature may not yet have support by the entire ecosystem (e.g. IDEs, addons, Ember Inspector, Engines, Lint Rules, Blueprints, etc), but it does not unintentionally break any existing functionality in those areas.
  • The Interactive Tutorial is not broken by this feature.
  • Criteria for moving to the Recommended Stage has been filled out
  • 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
  • Each team has been added as a reviewer to the PR at the start of the FCP. Reviews are not required by the end of the FCP. This is a notification step.
    • Framework @emberjs/framework
    • Data @emberjs/ember-data-core
    • CLI @emberjs/cli
    • Learning @emberjs/learning-core
    • Typescript @emberjs/typescript-core
    • Steering @emberjs/steering

Criteria for moving to Recommended (required)

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

  1. https://deprecations.emberjs.com/v7.x#toc_deprecate-ember-utils
  2. Implement RFC #334: Deprecate @ember/utils and the empty, notEmpty, none macros ember.js#21632

Track Implementation

<-- Use this section to track implementation of the RFC -->

@emberjs-rfcs-bot emberjs-rfcs-bot added RFC Advancement S-Ready for Release PR to move to the Ready for Release Stage labels Dec 4, 2024
@ef4

ef4 commented Dec 6, 2024

Copy link
Copy Markdown
Contributor

@bertdeblock I think you have already started working on this, please feel free to link to PRs from the comments on this tracking issue.

@bertdeblock

bertdeblock commented Dec 8, 2024 •

Copy link
Copy Markdown
Member

I ported the utils + corresponding tests to a separate v2 addon.
Not published, so we can still pick a different / better name if desired.

@ef4

ef4 commented May 16, 2025

Copy link
Copy Markdown
Contributor

I think this still needs implementation of the deprecation messages themselves.

@wagenet

wagenet commented Sep 4, 2025

Copy link
Copy Markdown
Member

I made a PR for the deprecation here: emberjs/ember.js#20968

NullVoxPopuli added a commit to emberjs/ember.js that referenced this pull request Oct 1, 2026
Implements RFC 334 and finishes #20968.

One deprecation id, `deprecate-ember-utils`, covers all ten APIs:

- `compare`, `isBlank`, `isEmpty`, `isEqual`, `isNone`, `isPresent`
  and `typeOf` from `@ember/utils`
- `empty`, `notEmpty` and `none` from `@ember/object/computed`

The deprecation is available in 7.5.0 and has `until: 8.0.0`. It is not
enabled yet, because the RFC is not at Ready for Release
(emberjs/rfcs#1056).

`@ember/utils/index.ts` now holds the public functions, their API docs
and the deprecation. The `lib/` modules stay as plain implementations.
Ember's own code already imports them from `lib/` (`sortBy`, the `sort`
macro, query param serialization, `isArray` and the container debug
adapter), so framework code never reports the deprecation. A call to
`isPresent` reports one deprecation, not one for each helper that it
uses.

The implementation tests now import from `lib/`, so they stay after the
public API is removed. A new test checks the deprecation for each public
function. The macro tests expect the deprecation and are skipped once
the deprecation is removed.

Co-authored-by: Peter Wagenet <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@NullVoxPopuli
NullVoxPopuli marked this pull request as ready for review October 26, 2026 16:21
@NullVoxPopuli
NullVoxPopuli merged commit f5bd190 into main Oct 26, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFC Advancement S-Ready for Release PR to move to the Ready for Release Stage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants