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

Deprecation Guides Related To Router Service #192

Merged
merged 1 commit into from
Oct 5, 2018

Conversation

chadhietala
Copy link
Contributor

This adds deprecation guides for the follow:

  • Deprecation of didTransition and willTransition
  • Deprecation of HandlerInfos intimate API
  • Deprecation of Transition.state|params|queryParams intimate API

Copy link
Contributor

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

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

Only a few minor tweaks, but LGTM

since: '3.7'
---

`HandlerInfo` was a private API have been renamed to `RouteInfo` to align with the [router service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md). If you need access to information about the routes, you are probably better served injecting the router service as it exposes a publically supported version of the `RouteInfo`s. You can access them in the following ways:
Copy link
Contributor

Choose a reason for hiding this comment

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

s/private API have been/private API that has been/

content/ember/v3/handler-infos.md Show resolved Hide resolved
content/ember/v3/router-events.md Show resolved Hide resolved
content/ember/v3/transition-state.md Show resolved Hide resolved
id: transition-state
title: Transition State Removal
until: '3.9.0'
since: '3.7'
Copy link
Contributor

Choose a reason for hiding this comment

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

3.6

id: deprecate-router-events
title: Deprecate Router Events
until: '4.0.0'
since: '3.7'
Copy link
Contributor

Choose a reason for hiding this comment

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

3.6

id: remove-handler-infos
title: HandlerInfos Removal
until: '3.9.0'
since: '3.7'
Copy link
Contributor

Choose a reason for hiding this comment

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

3.6

@chadhietala chadhietala force-pushed the router-deprecations branch 2 times, most recently from c10b0c4 to 9706f95 Compare October 5, 2018 19:31
@rwjblue rwjblue merged commit 0ce135a into ember-learn:master Oct 5, 2018
@chadhietala chadhietala deleted the router-deprecations branch October 5, 2018 21:07
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.

2 participants