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.

Last ember-intl version still uses old computed.readOnly which has been deprecated.

See original GitHub issue

The last ember-intl version still uses old computed.readOnly which has been deprecated. it throws warnings in my repo with this depreciation id deprecated-run-loop-and-computed-dot-access

Environment

  • Ember Version: 3.28.1
  • Ember CLI Version: 3.28.0
  • Ember Intl Version: 5.7.0
  • Browser(s): chrome
  • Node Version: 14.17.1

Steps to Reproduce

This is the debugging results

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
ijlee2commented, Dec 23, 2021

@longlho Hello, I see that where readOnly comes from has been fixed in @rmachielse’s pull request. I’d like to see the fix in release for 5.x as well.

When I upgraded an Ember app to v4.0.1, ember-intl@v5.7.0 began to cause the error _object.computed.readOnly is not a function in tests.

0reactions
ijlee2commented, Dec 25, 2021

@longlho @rmachielse Thank you both!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Service uses deprecated computed.readOnly for locales ...
I am on the latest ember-intl version I have searched the issues of this repo and believe that this is not a duplicate...
Read more >
Deprecations Added in Ember 3.x
Private property Route.router has been renamed to Route._router ... ES5 getter computed properties, assigning computed properties directly is deprecated.
Read more >
The Risks You Take When You Use Ember.computed. ...
The original property and oneWay property no longer have a connection, as it's understood that the oneWay property has been updated in a...
Read more >
How to resolve Ember deprecation: "Use defineProperty ...
@ember-decorators was the culprit since removing the references to ... (at least older versions - 1.3.4 in this case) must be using computed ......
Read more >
This is a list of all the currently open RFCs ...
Furthermore, the fact that a given RFC has been accepted and is 'active' ... version, update to the latest set of idioms by...
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