Tags: emeraldjava/node-wpapi
Tags
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"
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"
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"
Release v1.0.2 "Recto Verso" This patch release fixes a Superagent issue that surfaces when the API endpoints return malformed JSON, and resolves documentation discrepancies following the 4.7 merge of the REST API. It is named for Paradis' 2016 LP "Recto Verso". Props @bkirby989 and @aaronjorbin
Release v1.0.1 "The Only Constant is Change" - Support endpoints using "plain permalinks", props @luisherranz - Doc comment and conditional logic improvements within route-tree.js This patch release is named for _The Only Constant is Change_, a track from v1.0 namesake album _Emotional Technology_ by BT.
Release v1.0 "Emotional Technology" Changes since v0.12: - **BREAKING:** Remove third "merge" argument from `.param()` method signature - **BREAKING:** Return API error objects directly from HTTP transport: only return a transport-level error object in the event of a non-API error - Add CHANGELOG.md - Reduce complexity of, and rename, default routes JSON file - Document `.settings()` top-level route handler - Add `.status()` parameter method mixin - Properly register `.password()` and `.sticky()` parameter mixins - Utilize the HTTP transport methods during auto-discovery process - Replace `lodash.reduce` with custom `objectReduce` method throughout codebase to reduce browser bundle size Props @adamsilverstein, @aedensixty, @akira28), @andreipot, @artoliukkonen, @BenHen75, @bmac, @brianloveswords, @bt, @chrishutchinson, @dasheck0, @edygar, @elyobo, @gambry, @gerhardsletten, @gnarf, @ishaan-puniani, @jasonphillips, @joaojeronimo, @joehoyle, @joneslloyd, @JSteranko, @jupitercow, @kadamwhite, @ludoo0d0a, @marcianosr, @mrkrumhausen, @nabeards, @nodeGarden, @Ohar, @pdewouters, @preschian, @rmccue, @ryelle, @satish9323, @sdgluck, @smedegaard, @stephanmax, @stompweb, @timmyc, @tommedema, @vtripolitakis, @wblaircox, and @z-avanes, who have all contributed code, questions, perspective, bugs, thoughts or encouragement to the development of this library since v0.1.0. This release is named for BT's 2003 album _Emotional Technology_.
PreviousNext