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.

Ember 3.1.x deprecation warning

See original GitHub issue

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]

The deprecation warning relates to index.js#L35. I believe it relates to Route.router being renamed to Route._router in Ember 3.x and recommended access of router properties now being through the router service.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
snewcomercommented, May 29, 2018

I think so too. We are using 0.7.0 and has been working great for us (w/ no dep warnings)!!

2reactions
yowainwrightcommented, May 29, 2018

👍 will review/release asap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deprecations Added in Ember 3.x
Use of Ember.Logger is deprecated. You should replace any calls to Ember.Logger with calls to console . In Edge and IE11, uses ...
Read more >
Deprecation warning starting with Ember 3.1 #71 - GitHub
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 ...
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-deprecation-workflow - npm
By default, production ember-cli builds already remove deprecation warnings. Any deprecations configured to throw or log will only do so in non- ...
Read more >
Everything you need to know to upgrade your Ember.js app ...
Resolve deprecation warnings you see in the console. This is required for major version upgrades (2.18 to 3.x), and advisable for minor upgrades ......
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