Skip to content

Intent to RFC: Deprecate Libraries + Namespaces #540

@pzuraq

Description

@pzuraq
  • Proposed Target: Ember v4.0.0
  • Alternative: ES Modules

Libraries and Namespaces are concepts that are leftover from the globals era of Ember. Before ES modules existed, we needed a common way to organize code that was meant to be shared and used cohesively with the rest of the framework. Libraries and namespaces provided a way to do this.

Today, these don't have any remaining uses. Removing them from the framework will reduce the overall size and complexity of Ember, without any major churn for existing users, and with minimal churn for some addons.

Migration Path

Any existing libraries that are still using the APIs will need to be updated, but most of their users should already be using ES modules. This will mostly be cleaning up existing code without major public API changes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions