Skip to content

Commit

Permalink
Merge pull request #399 from ember-cli/locks-patch-1
Browse files Browse the repository at this point in the history
Add section to the README for deprecations
  • Loading branch information
xg-wang authored Nov 26, 2019
2 parents 5766562 + 6d2c704 commit 6ae8d6d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,33 @@ export default Route.extend({
* we actually don't bundle github/fetch rather we merely wrap/transform what
comes from `node_modules`, so we should be resilient to changes assuming
semver from the fetch module

## Deprecations

### deprecate-fetch-ember-data-support

Starting with [`ember-data`](https://www.npmjs.com/package/ember-data) v3.9.2, the library comes with built-in fetch support.
To address this deprecation, find imports and uses of the `ember-fetch/mixins/adapter-fetch` module:

Before:

```
// app/adapters/application.js
import DS from 'ember-data';
import AdapterFetch from 'ember-fetch/mixins/adapter-fetch';
export default DS.RESTAdapter.extend(AdapterFetch, {
});
```

After:

```
// app/adapters/application.js
import DS from 'ember-data';
export default DS.RESTAdapter.extend({
});
```

0 comments on commit 6ae8d6d

Please sign in to comment.