Skip to content

Tags: WP-API/node-wpapi

Tags

v1.2.2

Toggle v1.2.2's commit message
Release v1.2.2 "Metaphorical Music"

- Fix route match error with WordPress 5.5
- Throw an error early when .file() is passed a Buffer without an accompanying name string

Props @socrates77, @cungminh2710 & @mvhirsch

v2.0.0-alpha.1

Toggle v2.0.0-alpha.1's commit message
Tag 2.0.0-alpha.1

v1.2.1

Toggle v1.2.1's commit message
Release v1.2.1 "Colomb"

- Fix issue where `li` was improperly declared as a dev-only dependency

props @el-lsan & @jerolan

v1.2.0

Toggle v1.2.0's commit message
Release v2.0 "Space Is Only Noise"

Changes since v1.1.2:

- **BREAKING**: The minimum supported node version is now v8.
- **BREAKING**: `._paging.total` and `._paging.totalPages` response properties are now returned as integers, not strings.
- Bundled route handlers are now available for new first-party endpoints in WordPress 5.0.
- 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)!
- Browser bundle size has been reduced.

Props @computamike.

v2.0.0-alpha.0

Toggle v2.0.0-alpha.0's commit message
Tag 2.0.0-alpha.0

v1.1.2

Toggle v1.1.2's commit message
Release v1.1.2 "If I Survive"

v1.1.2 improves the reliability of the library by maintaining your
authentication credentials while using the `_paging` property to step
forward or backward within a collection. No more unexpected 400 errors
on the second page of results!

props @motleydev

The `npm run update-default-routes-json` script has also seen an
improvement, now accepting a `--file` parameter in addition to the
existing `--output` directory option. To save a JSON routes file
for your own project, you may now combine these script flags for
complete control over the route JSON source URI and output file:

```bash
$ npm run update-default-routes-json -- \
  --endpoint=http://mysite.com/wp-json \
  --output=/path/to/output/dir \
  --file=my-routes.json
```

On the documentation side, the changelog has been ordered in a
predictable way and some inline documentation has been updated.

This release is named for Hybrid's 1999 single "If I Survive"

v1.1.1

Toggle v1.1.1's commit message
Release v1.1.1 "Music For The Masses"

This release resolves an issue where certain route paths would cause a
fatal error in the route tree parser due to improper string splitting
causing invalid regular expressions

props @obenland

This release is named for Northern Irish house legend Jay Kay's
2009 single "Music For The Masses"

v1.1.0

Toggle v1.1.0's commit message
Update .npmignore & changelog for v1.1.0 release

v1.0.3

Toggle v1.0.3's commit message
Release v1.0.3 "Couleurs Primaires"

This release resolves issues encountered when caching plugins cause REST
API responses to be returned with Content-Type "text/html".

Props to @stompweb @nabeards and @SotirisValogiannis for reporting and
assisting with the diagnosis of this issue

This release is named for Paradis' earlier EP "Couleurs Primaires"

v1.0.3-0

Toggle v1.0.3-0's commit message
1.0.3-0