Releases: maicol07/flarum-api-client
Releases · maicol07/flarum-api-client
1.5.2
Full Changelog: 1.5.1...1.5.2
1.5.1
fix: Relations with same ID but different type get overridden
Full Changelog: 1.5...1.5.1
1.5
1.4
This release supports Laravel 9 and fixes the "CSRF mismatch" issue on POST requests.
➕ Added
🐛 Fixed
fix: Fix CSRF token mismatch issue on POST requests
- The issue was caused by the missing userId specification in the token authorization header.
New Contributors
Full Changelog: 1.3...1.4
1.3
This release focuses on adding minor features and removing support for Laravel 6 & 7 and Guzzle 6, in order to follow Flarum decisions with beta16. This changelog is a little different from the previous ones (new format!)
➕ Added
feat:
✨Accept id as a string (for user endpoint)
- Theid()
method can now accept a string parameters (like theuser()
method)feat:
✨`addQueryParameter` method is now public!
- Public method = You can use it too! You can now add query parameters to the request
📈 Improved
docs:
📝Updated docs
anddocs:
📝Improved and added PHPDocs
- New API docs website design. Some missing PHPDocs added and some updated.tests:
✅Updated tests
🗑️ Changed/Removed
chore(deps):
💥 📌Removed support for Laravel 6 & 7. Requires PHP 7.3
- As commit says, now the api client requires PHP 7.3 and using it with Laravel 6 & 7 is no more supported. You can update or stick with version 1.2.3chore(deps):
💥 📌Removed support for Guzzle 6
- Same as above.
1.2.3 - Beta15 fix
🐛 Fixed
- 🐛 Get user by username returning 404
1.2.2
1.2.1
1.2
Guzzle 6 support
This release adds support for Guzzle 6, adds a new test and fixes a bug with tests.
Changelog
➕ Added
- Guzzle 6 support
⚠️ Guzzle 6 will be supported during until its EOL
- User test
🐛 Fixed
- Tests error when composer packages has been updated