question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecation warning starting with Ember 3.1

See original GitHub issue

After updating to Ember 3.1 I’ve seen the following deprecation warning in our test suite logs:

DEPRECATION: Route#router is an intimate API that has been renamed to Route#_router. However you might want to consider using the router service [deprecation id: ember-routing.route-router] See https://emberjs.com/deprecations/v3.x#toc_ember-routing-route-router for more details.

It appears to be related to the use of self.router at https://github.com/kimroen/ember-cli-document-title/blob/4c3d7c282c39bfc099ebf11a74be713809007691/vendor/document-title/document-title.js#L75

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:21
  • Comments:7

github_iconTop GitHub Comments

6reactions
btecucommented, Apr 17, 2018

Possible fix #73.

4reactions
scottwernervtcommented, Mar 4, 2019

@mike-north made a fork https://github.com/mike-north/ember-cli-document-title-northm and I am currently using it in a project (eliminates the console warnings).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ember 3.1 and 3.2 Beta Released
No new deprecations are introduced in Ember CLI 3.1. For more details on the changes in Ember CLI 3.1 and detailed upgrade instructions,...
Read more >
How to disable deprecation warnings in Ember.js?
You can just do Ember.deprecate = function(){} in your application.js file and that should disable ember deprecation warnings.
Read more >
ember-cli-fastboot | Yarn - Package Manager
#692 Fix deprecation warning for Ember.Logger usage (@rileyhilliard) · #690 Moved building fastboot config tree from postProcessTree to treeForPublic (@ ...
Read more >
ember-popper: Versions | Openbase
Deprecation warning on Ember 3.4 from use of sendAction #91 ... This release also fixes a bug that prevented ember-popper's use in ember...
Read more >
Everything you need to know to upgrade your Ember.js app ...
This article was written as of Ember.js 3.1. ... if you're going from Ember 2 to 3. Resolve deprecation warnings you see in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found