Skip to content

Releases: drsdre/yii2-wordpress-api

Compatibility with Yii2 2.0.14

20 Feb 15:59
Compare
Choose a tag to compare

Added debug logs with request and fixed documentation.

Enhanced errors and Yii2 7.1 compatibility

18 Dec 09:47
Compare
Choose a tag to compare

The error code is now also returned in case of error as it contains sometimes valuable data for figuring out what is wrong. Enhance in code documentation and made sure to extend from BaseObject instead of invalid Object.

uploadFile and yii2-authclient 2.1.3

02 Aug 09:56
Compare
Choose a tag to compare

Implemented new function to upload files (to the media library), set minimum yii2-authclient to 2.1.3 to include the get parameter oauth1 bugfix, show more details for error messages and handle status code 410 as a specific case of 404.

Improve error handling and fix delete

02 Jun 20:19
Compare
Choose a tag to compare

Error handling after call can handle more situations. Fixed deleteData call by making sure it's including oAuth1 data in header. Uses a fixed version of yii2-authclient to correctly build signature when URL's are used with GET parameters (like delete function with GET parameter force=true).

Bug fix capitalisation OAuth1

15 Feb 11:53
Compare
Choose a tag to compare
2.0.1

Fix capitalisation of OAuth1.

Functions renamed and url base

01 Feb 14:10
Compare
Choose a tag to compare

Data manipulation functions renamed to http equivalent. Base API url changed to /wp-json to also allow to access other API's beyond build in v2 Rest API.

Add patchData action.

30 Jan 14:16
Compare
Choose a tag to compare
1.1

Add patchData function. Change context for update and edit to 'edit'.

First Release

06 Jan 15:54
Compare
Choose a tag to compare
1.0

Fixed asRaw to return content instead of response object.