Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

2.1 beta blog post #2318

Merged
merged 1 commit into from
Aug 17, 2015
Merged

2.1 beta blog post #2318

merged 1 commit into from
Aug 17, 2015

Conversation

mixonic
Copy link
Member

@mixonic mixonic commented Aug 16, 2015

Draft of the 2.1 beta blog post. Rendered

@rwjblue
Copy link
Member

rwjblue commented Aug 16, 2015

It might be nice to credit @jmurphyau for creating ember-get-helper and helping us with the integration efforts.

* `options.until` is the version of Ember this feature and deprecation will be
removed in

As of Ember 1.13, `deprecate` and `warn` calls must provide an `id` option,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ember 1.13 does not include id and until. The rule began in 2.0.0.

@rwjblue
Copy link
Member

rwjblue commented Aug 16, 2015

I just pushed the 2.1.0-beta.1 CHANGELOG entries. Only two were added:

  • #11440 [DEPRECATION] Deprecate using instance.container.lookup on first argument to instanceInitializers. Use instance.lookup instead.
  • #11440 [DEPRECATION] Deprecate passing two arguments to an initializers initialize function.

@mixonic
Copy link
Member Author

mixonic commented Aug 17, 2015

Now with a mention of the deprecations and with credit.

@mixonic mixonic force-pushed the blog-2.1 branch 2 times, most recently from a08d0dc to a657643 Compare August 17, 2015 02:18
#### `{{get}}` Helper

The `{{get}}` helper allows dynamic property lookup on objects in templates.
For example, these two usages are equivilent:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/equivilent/equivalent/

Copy link
Member Author

@mixonic mixonic Aug 17, 2015 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


This feature also introduces two minor deprecations:

* Calling `appInstance.controller.lookup` on the first argument to an instance
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you intended appInstance.container.lookup?

rwjblue added a commit that referenced this pull request Aug 17, 2015
@rwjblue rwjblue merged commit 6e46fc1 into emberjs:master Aug 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants