wordpress_client 8.4.4 wordpress_client: ^8.4.4 copied to clipboard
A library to interact with the Wordpress REST API. Supports most of the common endpoints and all of the CRUD operations on the endpoints.
๐ 4.0.0 #
- ๐ Initial version, created by Stagehand
๐ 5.0.4 #
- ๐ Fixed Authorization Bugs
๐ฅ 5.1.0 #
- ๐ BREAKING CHANGE: Authorization API Change.
๐ 5.1.1 #
- ๐ Formatting changes.
๐ฅ 5.2.3 #
- ๐ BREAKING CHANGE: Request API Change.
๐ 5.2.4 #
- ๐๏ธ Remove unused package
๐ฅ 5.2.5 #
- ๐ BREAKING CHANGE: Remove Author Meta & Featured Image Url Fields from Post response.
๐งช 5.2.6 #
- โ๏ธ Experimental Request Caching system
๐ 5.2.7 #
- ๐ฉน Bug fix
๐ 5.2.8 #
- ๐ Revert author meta & featured image removal
๐ 5.2.9 #
- ๐ฉน Bug Fix
๐ 5.3.0 #
- ๐ฉน Bug fix
๐ 5.3.1 #
- ๐ Response structure fix
๐ 5.4.0 #
- ๐ฆ Packages update
๐ 5.4.1 #
- ๐ Null safety fix
๐ 5.4.2 #
- ๐ฆ Packages fix
๐ 5.4.3 #
- ๐ Total pages parsing fix
๐ 6.1.0-pre #
- ๐ Entire API changed. (Please bear with us!)
- ๐ Fluency is maintained by using Dart's cascading operator.
- โก Performance and memory consumption improvements.
๐ 6.1.1-pre #
- ๐๏ธ Removed test package
๐ 6.1.2-pre #
- ๐ Version fix
๐ 6.1.3-pre & 6.1.4-pre #
- ๐ฉน Bug fixes
๐ 6.1.5-pre #
- โ Added Post extension for Media and Author
๐ 6.1.6-pre #
- ๐ Support 3xx series responses (Cached Response)
๐ 6.1.7-pre to 6.1.9-pre #
- ๐ง Refactoring & ๐ฉน Bug fixes
๐ 6.2.0-pre #
- ๐ง Refactoring, ๐ Request Synchronization, and ๐ Debug Mode
๐ 6.2.1-pre #
- ๐งช Misc changes
๐ 6.3.0 #
- ๐ Major changes in the API. (Please check our wiki for setup and usage)
๐ 6.3.1 #
- ๐ Implemented search endpoint
๐ 6.3.4 #
- ๐ฉน Bug fix with media endpoint
๐ 7.0.0 #
- ๐ฅ Major changes (Please check our documentation for more details)
๐ 8.0.0 #
- ๐ฅ Several major updates and changes. (Please refer to our wiki for setup and usage)
๐ 8.0.1 #
- ๐ Docs update
๐ 8.0.2 #
- ๐ฝ Downgrade collection version
๐ 8.0.3 #
- ๐ค Export response extensions
๐ 8.0.4 & 8.0.5 #
- ๐ฉน Bug fixes and improvements
๐ 8.0.6 #
- ๐ Docs update
๐ 8.0.7 #
- ๐ Bug fixes
- โ Introduced
RequestErrorType
for failure responses and optionalexception
&stackTrace
properties - โ Introduced
mapGuarded(...)
method to safely map a list of objects - โ Introduced
executeGuarded(...)
method to safely execute a function - ๐ง Usual amounts of refactors and improvements
๐ 8.0.8 #
- ๐ง Integrated new lint rules and code refactors
๐ 8.0.9 #
- โ Added App Password support
๐ 8.0.10 #
- ๐
featured_media_src_url
key now decodes as expected - โ Added a new
decodeByMultiKeys
method to decode a value from JSON by matching aganist multiple keys. Any of the key matchs, the value is returned
๐ 8.0.11 #
- โ Added
extra
property to all request classes. Now you can append (or override) custom fields into the request. - โ Added
addAllIfNotNull(...)
extension method to append valid key-values (not null) to existing map from another map.
๐ 8.1.0 #
- ๐ Added the ability to fetch the discovery endpoint of Wordpress REST API and cache the response.
- This allows to access the site's identity details such as description and logo url, along with all the available endpoints and other details.
๐ 8.2.0 #
- ๐ Added support for Pages endpoint
๐ 8.2.1 #
- ๐ Fixed exporting WordpressDiscovery class.
๐ 8.2.2 #
- ๐ Bug fixes
๐ 8.3.0 #
- ๐ Supports Application Password endpoint
- Packages update
- dio 5.3.2 -> 5.3.3
- collection 1.17.1 -> 1.18.0
- meta 1.9.1 -> 1.11.0
- test 1.24.5 -> 1.24.8
๐ 8.3.1 #
- Packages downgrade
- test 1.24.8 -> 1.24.5
- Added avatar urls model class for users response
๐ 8.3.2 #
-
Packages downgrade
- meta 1.11.0 -> 1.9.1
๐ 8.3.3 #
- Packages downgrade
- collection 1.18.0 -> 1.17.2
๐ 8.3.4 #
- Media response model null exception when parsing if media details is empty. (while using embed=true)
๐ 8.3.5 #
- ๐ฉน Bug fixes on comment list request.
๐ 8.3.6 #
- ๐ฉน Bug fixes on enum parsing.
๐ 8.3.7 #
- ๐ Support for raw requests
- Allows you to send requests but skip the parsing process. You can parse the response manually.
- This allows to integrate the package along with other database packages such as drift, hive etc by allowing you to create a custom model class and integrate for the response.
- ๐ Bug fixes
๐ 8.3.8 #
- ๐ Renamed retrive -> retrieve. Fix the typo
๐ 8.3.9 #
- ๐ฉน Bug fixes
- ๐ Iterate over the raw response of the endpoint from the final success or failure response model using [] operator.
๐ 8.3.10 #
- ๐ฉน Bug fixes
๐ 8.4.0 #
- ๐ Added support for Middlewares!
- You can now create custom middlewares to intercept the request and response.
- The middleware can be used to modify the request, response or abort the process entirely by directly throwing an exception in their processing block.
- You can create multiple middlewares and add them to the client.
- The middlewares are executed in the order they are added to the client.
- Added
DelegatedMiddleware
if you do not wish to create a separate class for the middleware but just need to modify the request or response.
- ๐ฅ Removed dependency on
synchronised
package.- This package was used to synchronise the request and response processing. This now needs to be handled by the user itself.
- it didn't make sense to restrict the requesting processing inside the library itself.
๐ 8.4.1 #
- ๐ Introduce
ParallelWordpress
class to generate requests and execute them in parallel, at the same time receive responses sorted using their page number. - ๐ Bug fixes
๐ 8.4.2 #
- ๐ฉน Bug fixes
- ๐ Added static methods to validate base url and to discovery a website.
๐ 8.4.3 #
- ๐ New static method to check if a site is built using wordpress.
๐ 8.4.4 #
- ๐ฉน Bug fixes
Legend #
- ๐ New features or major changes
- ๐ Bug fixes
- ๐ Minor fixes or tweaks
- ๐ฅ Breaking changes
- ๐ Changes that revert or modify previous functionality
- ๐ฆ Package updates
- ๐ Security updates
- ๐ Documentation or formatting updates
- ๐งช Experimental features
- โ๏ธ System or backend changes
- ๐๏ธ Removals
- ๐ง Refactoring
- ๐ Documentation updates
- ๐ New search features or updates
- ๐ค Exporting features or updates
- ๐ฝ Downgrades or rollbacks
- ๐ Versioning fixes or updates
- ๐ Flow or fluency updates
- โก Performance improvements
- ๐ Parsing or data structure changes
- โ Additions of new functionalities
- ๐ Linking or response changes