Skip to content

Commit f59744e

Browse files
committed
Update supported WP version to 5.0 and add v1.2 changelog
(Cherry-picks ad038d9 from v1 branch)
1 parent 7f07ce4 commit f59744e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## v1.2.0 _Space Is Only Noise_
4+
5+
- **BREAKING**: The minimum supported node version is now v8.
6+
- **BREAKING**: `._paging.total` and `._paging.totalPages` response properties are now returned as integers, not strings.
7+
- Bundled route handlers are now available for new first-party endpoints in WordPress 5.0.
8+
- The project now uses Jest and ESLint in place of Mocha, Chai, JSCS and JSHint. Thank you for your years of service, ["nyan" reporter](https://mochajs.org/#nyan)!
9+
- Browser bundle size has been reduced.
10+
11+
312
## v1.1.2 _If I Survive_
413

514
- Resolves an issue where authentication credentials where not maintained properly when iterating through pages of a connection with `._paging.next` or `._paging.prev`, props @motleydev for the reproducible bug report
@@ -43,9 +52,9 @@ v1.0 namesake album _Emotional Technology_ by BT.
4352

4453
- Add CHANGELOG.md
4554
- Reduce complexity of, and rename, default routes JSON file
46-
- BREAKING: Remove third "merge" argument from `.param()` method signature
55+
- **BREAKING**: Remove third "merge" argument from `.param()` method signature
4756
- Document `.settings()` top-level route handler
48-
- BREAKING: Return API error objects directly from HTTP transport: only return a transport-level error object in the event of a non-API error
57+
- **BREAKING**: Return API error objects directly from HTTP transport: only return a transport-level error object in the event of a non-API error
4958
- Add `.status()` parameter method mixin
5059
- Properly register `.password()` and `.sticky()` parameter mixins
5160
- Utilize the HTTP transport methods during auto-discovery process

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
A WordPress REST API client for JavaScript
22
==========================================
33

4-
This library is an isomorphic client for the [WordPress REST API](http://developer.wordpress.org/rest-api), designed to work with WordPress 4.7 or later. If you are using the older [WP REST API plugin](https://github.com/WP-API/WP-API), some commands will not work.
4+
This library is an isomorphic client for the [WordPress REST API](http://developer.wordpress.org/rest-api), designed to work with WordPress 5.0 or later. If you are using the older [WP REST API plugin](https://github.com/WP-API/WP-API) or WordPress 4.9, some commands will not work.
55

66
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/wp-api/node-wpapi?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
77

0 commit comments

Comments
 (0)