funkensturm / ember-local-storage

The addon provides a storageFor computed property that returns a proxy and persists the changes to localStorage or sessionStorage. It ships with an ember-data adapter.
https://www.funkensturm.com/ember-local-storage/
MIT License
218 stars 76 forks source link

Ember 3.3 Use ember-copy addon instead of copy method and Copyable mixin. [deprecation id: ember-runtime.deprecate-copy-copyable] #286

Closed ShenglinGuo closed 6 years ago

ShenglinGuo commented 6 years ago

Copy method used in storage.js has been deprecated after ember 3.3 ?

ember-local-storage/addon/mixins/storage.js

ghost commented 6 years ago

Correct. It should be trivial to switch to https://github.com/emberjs/ember-copy instead which provides identical functionality in an add-on. Might do a PR for this.

fsmanuel commented 6 years ago

@ShenglinGuo @lsg-richard I released 1.4.2 with the fix.