Deprecation warning starting with Ember 3.1
See original GitHub issueAfter 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:
- Created 5 years ago
- Reactions:21
- Comments:7
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Possible fix #73.
@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).