Skip to content

Commit

Permalink
Add section to the README for deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
locks authored Nov 24, 2019
1 parent 5766562 commit 6d2c704
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 6d2c704

Please sign in to comment.