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

[CLEANUP beta] Remove deprecated Registry and Container behavior #11853

Merged
merged 2 commits into from
Jul 21, 2015

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented Jul 21, 2015

Rebases @cibernox's PR #11756, which performs the following:

  • Registry no longer instantiates a container and forwards lookup / lookupFactory to it.
  • Removed checks for ember-application-instance-initializers and ember-application-initializer-context since they have been enabled by default for ~4 months now.

Also performs the following associated cleanup of deprecated container behavior:

  • Containers no longer create a registry if one is not supplied to the constructor.
  • Containers no longer expose their associated registry's interfaces.

cibernox and others added 2 commits July 21, 2015 15:58
* Registry no longer instantiates a container and forwards
  lookup/lookupFactory to it.
* Removed checks for `ember-application-instance-initializers` and `ember-application-initializer-context`
  since they have been enabled by default for ~4 months now.
* Containers no longer create a registry if one is not supplied to the
  constructor.

* Containers no longer expose their associated registry's interfaces.
@dgeb dgeb changed the title Remove Registry and Container deprecations [CLEANUP beta] Remove Registry and Container deprecations Jul 21, 2015
@dgeb dgeb changed the title [CLEANUP beta] Remove Registry and Container deprecations [CLEANUP beta] Remove deprecated Registry and Container behavior Jul 21, 2015
@rwjblue
Copy link
Member

rwjblue commented Jul 21, 2015

👍 - Looks good.

We need to decide what to do with this code in ember-test-helpers.

@dgeb - Thoughts?

@dgeb
Copy link
Member Author

dgeb commented Jul 21, 2015

@rwjblue so, as we just discussed, that code in ember-test-helpers existed solely to quiet the deprecations (which are now removed with this PR).

We can now test for its need in ember-test-helpers with a method in container check before patching.

@rwjblue
Copy link
Member

rwjblue commented Jul 21, 2015

PR submitted upstream: emberjs/ember-test-helpers#85

rwjblue added a commit that referenced this pull request Jul 21, 2015
[CLEANUP beta] Remove deprecated Registry and Container behavior
@rwjblue rwjblue merged commit 5a2ec77 into emberjs:master Jul 21, 2015
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.

3 participants