Skip to content

Commit

Permalink
Move deprecations to 3.7 version
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Aug 20, 2018
1 parent 7c37b06 commit 9d4793a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/deprecated.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Gutenberg's deprecation policy is intended to support backwards-compatibility fo

## 3.7.0

- `wp.components.Draggable` has been deprecated. Please, use `wp.components.withDraggable` instead.
- `wp.components.withAPIData` has been removed. Please use the Core Data module or `wp.apiFetch` directly instead.
- `wp.data.dispatch("core").receiveTerms` has been deprecated. Please use `wp.data.dispatch("core").receiveEntityRecords` instead.
- `getCategories` resolvers has been deprecated. Please use `getEntityRecords` resolver instead.
Expand All @@ -16,7 +17,6 @@ Gutenberg's deprecation policy is intended to support backwards-compatibility fo

## 3.6.0

- `wp.components.Draggable` has been deprecated. Please, use `wp.components.withDraggable` instead.
- `wp.editor.editorMediaUpload` has been removed. Please use `wp.editor.mediaUpload` instead.
- `wp.utils.getMimeTypesArray` has been removed.
- `wp.utils.mediaUpload` has been removed. Please use `wp.editor.mediaUpload` instead.
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/draggable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Draggable extends Component {
super( ...arguments );

deprecated( 'wp.components.Draggable', {
version: 3.6,
version: 3.7,
alternative: 'wp.components.withDraggable',
} );

Expand Down

0 comments on commit 9d4793a

Please sign in to comment.