Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cache parallel refactors #78

Merged
merged 6 commits into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
167 changes: 86 additions & 81 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,106 +1,111 @@
## 8.5.4

- Added support for creating media from bytes
- Updated documentation

## 8.5.3

- 🩹 Fix invalid base url on web
- Fix invalid base url on web

## 8.5.2

- 🩹 Fix versions
- Fix versions

## 8.5.1

- 🩹 Fix dio sendTimeout exception
- Fix dio sendTimeout exception

## 8.5.0

- 🎉 Added support for initialize the client without a base url.
- Added support for initializing the client without a base url.
- Use the `WordpressClient.generic` constructor to initialize the client without a base url.
- Use the `reconfigure` method to set the base url after initializing the client.
- Failure to set the base url will throw an exception when making requests.
- 🎉 Added `isAuthenticated` method to check if the current instance has a valid authentication.
- Added `isAuthenticated` method to check if the current instance has a valid authentication.
- Optionally, pass an instance of `IAuthorization` to check if the client is authenticated with the given authorization.
- 💥 Deprecated `reconfigureClient` method in favour of `reconfigure` method.

## 8.4.10

- 🩹 Fix bug on clearing middleware list
- Fix bug on clearing middleware list

## 8.4.9

- 📦 Downgrade meta package to match flutter meta version
- Downgrade meta package to match flutter meta version

## 8.4.8

- 🩹 Bug fixes
- Bug fixes
- 💥 Deprecated `WordpressClient.initialize(...)` ctor and `initialize()` method
- 🎉 Added `WordpressClient.fromDioInstance(...)` constructor
- Added `WordpressClient.fromDioInstance(...)` constructor

## 8.4.7

- 🩹 Bug fixes
- 🛠 Fix validations for entered `baseUrl`; Supporting sites with custom REST Api paths
- Bug fixes
- Fix validations for entered `baseUrl`; Supporting sites with custom REST Api paths

## 8.4.6

- 🩹 Bug fixes
- 🛠 Added validations for entered `baseUrl`
- Bug fixes
- Added validations for entered `baseUrl`
- 💥 Renamed `executeGuarded` to `guardAsync` and added `guard` method

## 8.4.5

- 🩹 Bug fixes
- Bug fixes

## 8.4.4

- 🩹 Bug fixes
- Bug fixes

## 8.4.3

- 🎉 New static method to check if a site is built using WordPress
- New static method to check if a site is built using WordPress

## 8.4.2

- 🩹 Bug fixes
- 🎉 Added static methods to validate base URL and discover a website
- Bug fixes
- Added static methods to validate base URL and discover a website

## 8.4.1

- 🎉 Introduce `ParallelWordpress` class to generate and execute parallel requests
- 🛠 Bug fixes
- Introduce `ParallelWordpress` class to generate and execute parallel requests
- Bug fixes

## 8.4.0

- 🎉 Added support for Middlewares
- Added support for Middlewares
- 💥 Removed dependency on `synchronised` package

## 8.3.10

- 🩹 Bug fixes
- Bug fixes

## 8.3.9

- 🩹 Bug fixes
- 🎉 Iterate over the raw response of the endpoint using [] operator
- Bug fixes
- Iterate over the raw response of the endpoint using [] operator

## 8.3.8

- 🐛 Renamed retrive -> retrieve. Fix typo
- Renamed retrive -> retrieve. Fix typo

## 8.3.7

- 🎉 Support for raw requests
- 🛠 Bug fixes
- Support for raw requests
- Bug fixes

## 8.3.6

- 🩹 Bug fixes on enum parsing
- Bug fixes on enum parsing

## 8.3.5

- 🩹 Bug fixes on comment list request
- Bug fixes on comment list request

## 8.3.4

- 🐛 Media response model null exception when parsing if media details is empty
- Media response model null exception when parsing if media details is empty

## 8.3.3

Expand All @@ -120,73 +125,73 @@

## 8.3.0

- 🎉 Supports Application Password endpoint
- Supports Application Password endpoint
- Packages update

## 8.2.2

- 🛠 Bug fixes
- Bug fixes

## 8.2.1

- 🛠 Fixed exporting WordPressDiscovery class
- Fixed exporting WordPressDiscovery class

## 8.2.0

- 🎉 Added support for Pages endpoint
- Added support for Pages endpoint

## 8.1.0

- 🎉 Added ability to fetch and cache the discovery endpoint of WordPress REST API
- Added ability to fetch and cache the discovery endpoint of WordPress REST API

## 8.0.11

- Added `extra` property to all request classes
- Added `addAllIfNotNull(...)` extension method
- Added `extra` property to all request classes
- Added `addAllIfNotNull(...)` extension method

## 8.0.10

- 🛠 `featured_media_src_url` key now decodes as expected
- Added `decodeByMultiKeys` method
- `featured_media_src_url` key now decodes as expected
- Added `decodeByMultiKeys` method

## 8.0.9

- Added App Password support
- Added App Password support

## 8.0.8

- 🔧 Integrated new lint rules and code refactors
- Integrated new lint rules and code refactors

## 8.0.7

- 🐛 Bug fixes
- Introduced `RequestErrorType` for failure responses
- Introduced `mapGuarded(...)` and `executeGuarded(...)` methods
- 🔧 Usual refactors and improvements
- Bug fixes
- Introduced `RequestErrorType` for failure responses
- Introduced `mapGuarded(...)` and `executeGuarded(...)` methods
- Usual refactors and improvements

## 8.0.6

- 📚 Docs update
- Docs update

## 8.0.5

- 🩹 Bug fixes and improvements
- Bug fixes and improvements

## 8.0.4

- 🩹 Bug fixes and improvements
- Bug fixes and improvements

## 8.0.3

- 📤 Export response extensions
- Export response extensions

## 8.0.2

- 🔽 Downgrade collection version
- Downgrade collection version

## 8.0.1

- 📚 Docs update
- Docs update

## 8.0.0

Expand All @@ -198,114 +203,114 @@

## 6.3.1

- 🔍 Implemented search endpoint
- Implemented search endpoint

## 6.3.0

- 🚀 Major changes in the API
- Major changes in the API

## 6.2.1-pre

- 🧪 Misc changes
- Misc changes

## 6.2.0-pre

- 🔧 Refactoring, Request Synchronization, and Debug Mode
- Refactoring, Request Synchronization, and Debug Mode

## 6.1.7-pre to 6.1.9-pre

- 🔧 Refactoring & Bug fixes
- Refactoring & Bug fixes

## 6.1.6-pre

- 🔗 Support 3xx series responses (Cached Response)
- Support 3xx series responses (Cached Response)

## 6.1.5-pre

- Added Post extension for Media and Author
- Added Post extension for Media and Author

## 6.1.3-pre & 6.1.4-pre

- 🩹 Bug fixes
- Bug fixes

## 6.1.2-pre

- 📌 Version fix
- Version fix

## 6.1.1-pre

- 🗑️ Removed test package
- Removed test package

## 6.1.0-pre

- 🚀 Entire API changed
- 🌊 Fluency maintained using Dart's cascading operator
- Performance and memory consumption improvements
- Entire API changed
- Fluency maintained using Dart's cascading operator
- Performance and memory consumption improvements

## 5.4.3

- 📜 Total pages parsing fix
- Total pages parsing fix

## 5.4.2

- 📦 Packages fix
- Packages fix

## 5.4.1

- 🔒 Null safety fix
- Null safety fix

## 5.4.0

- 📦 Packages update
- Packages update

## 5.3.1

- 📜 Response structure fix
- Response structure fix

## 5.3.0

- 🩹 Bug fix
- Bug fix

## 5.2.9

- 🩹 Bug Fix
- Bug Fix

## 5.2.8

- 🔄 Revert author meta & featured image removal
- Revert author meta & featured image removal

## 5.2.7

- 🩹 Bug fix
- Bug fix

## 5.2.6

- ⚙️ Experimental Request Caching system
- Experimental Request Caching system

## 5.2.5

- 🔄 BREAKING CHANGE: Remove Author Meta & Featured Image URL Fields from Post response
- 💥 BREAKING CHANGE: Remove Author Meta & Featured Image URL Fields from Post response

## 5.2.4

- 🗑️ Remove unused package
- Remove unused package

## 5.2.3

- 🔄 BREAKING CHANGE: Request API Change
- 💥 BREAKING CHANGE: Request API Change

## 5.1.1

- 📝 Formatting changes
- Formatting changes

## 5.1.0

- 🔄 BREAKING CHANGE: Authorization API Change
- 💥 BREAKING CHANGE: Authorization API Change

## 5.0.4

- 🔒 Fixed Authorization Bugs
- Fixed Authorization Bugs

## 4.0.0

- 🚀 Initial version, created by Stagehand
- Initial version, created by Stagehand
Loading
Loading