Skip to content

v1.1.2

@kadamwhite kadamwhite tagged this 06 Jul 17:53
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"
Assets 2
Loading