The current progress can be tracked here
-
v0.4.9
- dependency upgrade
-
v0.4.8
- fixes typings for
.media.create(),.media.update()and.media.delete() - emits declaration files in order to suppress user-facing errors
- fixes typings for
-
v0.4.7
- implements the
defaultQueryargument on the.{postType}.total()methods
- implements the
-
v0.4.6
- new method
.{postType}.total() - reverted
.{postType}.find()in favour of: - new method
.{postType}.dangerouslyFindAll()
- new method
-
v0.4.5
- typings for Yoast! SEO now included
- internal imports repaired (+
no-restricted-importsrule added)
-
v0.4.4
- allows for
options.onErrorto be asynchronous - fixes
deletequery param to be overridden for DELETE requests
- allows for
-
v0.4.3
- introduction of TRASHABLE constant (appends
&force=trueto the URIs of delete requests for non-trashable objects)
- introduction of TRASHABLE constant (appends
-
v0.4.2
.media.create()fix.media.create()improvements
-
v0.4.1
- basic auth improvements
- jwt auth improvements
-
v0.4.0
- conversion to Yarn3 (zero-install)
- breaking removal of static collectors
- possible re-introduction in the future
- dependency update
POST_STATUS_MAPmoved back tosrc/factories.tsPOST_TYPE_MAPmoved back tosrc/factories.ts
-
v0.3.5
- dependency update
- minor fixes
-
v0.3.4 .getAll fix
- fixes the problem that .find() returns results starting on page 2
-
v0.3.3 FetchClient.getAll
- .find() with no arguments will return all items instead of the first 100
-
v0.3.2
- full end-to-end test-suite added
- repaired default methods:
.blockDirectory.blockType.media.delete.postCategory.delete.postTag.delete.reusableBlock.settings.taxonomy.theme.user.create.user.delete.user.deleteMe.user.update
-
v0.3.1 "Accept"-default-header
- added default "Accept" and "Content-Type" headers
- repaired .createEndpointCustomPost()
-
v0.3.0 ACF v5.11.1
- adjustment to Advanced Custom Fields v5.11.1
- minor typing issue repaired: FetchClient.fetch
-
v0.2.3 default methods, error handling
- implemented last two missing default methods
- applications passwords
- block revisions
- improved error handling
- implemented last two missing default methods
-
v.0.2.2 minor fixes
-
v.0.2.1 minor fixes
- type casting
- .plugin fix
- minor fixes
-
v.0.2.0 cross-fetch and advanced options
- less overhead by replacing axios with a fetch client
- authorisation is now handled via constructor arguments and a blacklist
- matching input- and output-typings: WPCreate has been replaced by postCreate
- includes minor fixes
-
v.0.1.5 repaired
.revision().find()and.plugin().create() -
v.0.1.4 implemented extendable query-params and default-query-params
- Note: Authentification will confuse eslint/tslint with axios < v0.24.0
-
v0.1.3 added methods for most missing default wp-api routes, such as
-
.plugin() for wp/v2/plugins
-
.postType() for wp/v2/types
-
.taxonomy() for wp/v2/taxonomies
-
.theme() for wp/v2/themes
-
…and quite some more
-
methods for two default wp-api routes are still missing:
wp/v2/users/<user_id>/application-passwords
andwp/v2/blocks/<block-id>/autosaves
-
-
v0.1.2 repaired type casting in handleWpApiError()
-
v0.1.1 import path repaired
-
v0.1.0 public beta release