DEPRECATION: ComputedProperty.cacheable () when upgrading to ember 1.10

I recently upgraded ember 1.9 to 1.10 and got the following:

DEPRECATION: ComputedProperty.cacheable () is deprecated. By default, all calculated properties are cached. however, I do not see any applications of this in my code. I'm in the ember cli project 0.12.0

Bower

{
  "name": "proj",
  "dependencies": {
    "jquery": "^1.11.1",
    "ember": "1.10.0",
    "ember-data": "1.0.0-beta.12",
    "ember-resolver": "~0.1.11",
    "loader.js": "ember-cli/loader.js#1.0.1",
    "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
    "ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4",
    "ember-load-initializers": "ember-cli/ember-load-initializers#0.0.2",
    "ember-qunit": "0.1.8",
    "ember-qunit-notifications": "0.0.4",
    "qunit": "~1.15.0"
  }
}

Stacktrace:

 DEPRECATION: ComputedProperty.cacheable() is deprecated. All computed properties are cacheable by default.
        at Descriptor.ComputedPropertyPrototype.cacheable (http://localhost:4201/assets/vendor.js:21101:13)
        at http://localhost:4201/assets/vendor.js:73759:10
        at requireModule (http://localhost:4201/assets/vendor.js:64433:29)
        at reify (http://localhost:4201/assets/vendor.js:64404:22)
        at requireModule (http://localhost:4201/assets/vendor.js:64432:17)
        at reify (http://localhost:4201/assets/vendor.js:64404:22)
        at requireModule (http://localhost:4201/assets/vendor.js:64432:17)
        at http://localhost:4201/assets/vendor.js:77306:14
        at http://localhost:4201/assets/vendor.js:77307:4

it seems to print a print when this line works when loading ember data.

reified = reify (mod.deps, name, seen [name]); at the level of 64432

enter image description here

+4
source share
1 answer

Move on both sides and pack

"ember-data": "1.0.0-beta.14.1"

fixes this problem

+4
source

All Articles