phanxipang/fansipan
A simple package that allows you to write your API integrations or SDKs in a elegant way.
21 Releases
Latest: 4mo ago
v1.5.01.5.0Latest
📋 What's Changed
- Adds payload support to connectorless requests by @jenky in https://github.com/phanxipang/fansipan/pull/35
- Full Changelog: https://github.com/phanxipang/fansipan/compare/1.4.2...1.5.0
v1.4.21.4.2
📋 What's Changed
- Add deprecation warning when `$response->object()` return `null`
- Full Changelog: https://github.com/phanxipang/fansipan/compare/1.4.1...1.4.2
1.4.1
📋 What's Changed
- Response decode bug fix by @jenky in https://github.com/phanxipang/fansipan/pull/33
- Full Changelog: https://github.com/phanxipang/fansipan/compare/1.4.0...1.4.1
v1.4.01.4.0
📋 What's Changed
- Update body method to return string or StreamInterface based on asString parameter by @jenky in https://github.com/phanxipang/fansipan/pull/32
- Full Changelog: https://github.com/phanxipang/fansipan/compare/1.3.0...1.4.0
v1.3.01.3.0
✨ Added
- PHP 8.4 test by @jenky in https://github.com/phanxipang/fansipan/pull/31
🐛 Fixed
- Throw exception when using `$response->object()` when decoder is not a mapper
🗑️ Deprecated
- Add deprecation warning when `$response->object()` return `null`
- Full Changelog: https://github.com/phanxipang/fansipan/compare/1.2.0...1.3.0
v1.2.01.2.0
✨ Added
- Authenticator by @jenky in https://github.com/phanxipang/fansipan/pull/30
- Minor generics improvements
🗑️ Deprecated
- Deprecate `BearerAuthentication` and `BasicAuthentication` in favor of [Authenticator](https://phanxipang.github.io/fansipan/advanced/authentication/)
- Full Changelog: https://github.com/phanxipang/fansipan/compare/1.1.0...1.2.0
Version 1.1.01.1.0
✨ Added
- feat: update generics by @jenky in https://github.com/phanxipang/fansipan/pull/28
- Anonymous connectorless request by @jenky in https://github.com/phanxipang/fansipan/pull/29
- Full Changelog: https://github.com/phanxipang/fansipan/compare/1.0.2...1.1.0
v1.0.21.0.2
📋 What's Changed
- Make `GenericConnector` PSR-18 client.
- Full Changelog: https://github.com/phanxipang/fansipan/compare/1.0.1...1.0.2
Version 1.0.11.0.1
✨ Added
- Quickly configure middleware by @jenky in https://github.com/phanxipang/fansipan/pull/27
- Full Changelog: https://github.com/phanxipang/fansipan/compare/1.0.0...1.0.1
Version 1.0.0 (stable)1.0.0
📦 v1.0.0 stable release.
- This release does not contain any changes but mark the project as stable. While this project becomes stable, [Mist](https://github.com/phanxipang/mist) start its journey in alpha stage.
- Full Changelog: https://github.com/phanxipang/fansipan/compare/0.8.1...1.0.0
Version 0.8.1 (1.0-RC2)0.8.1
🐛 Fixed
- Handle undecodable responses gracefully by @jenky in https://github.com/phanxipang/fansipan/pull/25
- Fixes generics
- Full Changelog: https://github.com/phanxipang/fansipan/compare/0.8.0...0.8.1
Version 0.8.0 (1.0-RC1)0.8.0
📋 What's Changed
- This release can be considered as `1.0-RC1` since there will be no changes to the public API.
✨ Added
- Refactor decoder by @jenky in https://github.com/phanxipang/fansipan/pull/24
- Full Changelog: https://github.com/phanxipang/fansipan/compare/0.7.0...0.8.0
Version 0.7.0 (beta)0.7.0
🐛 Fixed
- Missing `code` by @jdecode in https://github.com/phanxipang/fansipan/pull/20
- Update doc by @jenky in https://github.com/phanxipang/fansipan/pull/22
- Refactor configurator by @jenky in https://github.com/phanxipang/fansipan/pull/23
✨ New Contributors
- @jdecode made their first contribution in https://github.com/phanxipang/fansipan/pull/20
- Full Changelog: https://github.com/phanxipang/fansipan/compare/0.6.0...0.7.0
Version 0.6.0 (beta)0.6.0
📋 What's Changed
- Move to organization by @jenky in https://github.com/phanxipang/fansipan/pull/19
- Full Changelog: https://github.com/phanxipang/fansipan/compare/0.5.2...0.6.0
Version 0.5.2 (beta)0.5.2
✨ Added
- Default `RequestException`
🐛 Fixed
- Use global functions by @jenky in https://github.com/jenky/atlas/pull/17
🗑️ Removed
- `RequestAwareException` now replace by `RequestException`
- Full Changelog: https://github.com/jenky/atlas/compare/0.5.1...0.5.2
Version 0.5.1 (beta)0.5.1
🐛 Fixed
- Exception refactor
- Minor changes
- Full Changelog: https://github.com/jenky/atlas/compare/0.5.0...0.5.1
Version 0.5.0 (beta)0.5.0
✨ Added
- Better way to create payload by @jenky in https://github.com/jenky/atlas/pull/14
- Use static function `baseUri` by @jenky in https://github.com/jenky/atlas/pull/15
- Support request protocol version by @jenky in https://github.com/jenky/atlas/pull/16
- Refactor exceptions
- Add ability to set request protocol version and method
- Minor improvements
- Full Changelog: https://github.com/jenky/atlas/compare/0.4.0...0.5.0
Version 0.4.0 (beta)0.4.0
✨ Added
- Connector configurator by @jenky in https://github.com/jenky/atlas/pull/12
- Authentication middleware by @jenky in https://github.com/jenky/atlas/pull/13
- Full Changelog: https://github.com/jenky/atlas/compare/0.3.0...0.4.0
Version 0.3.0 (beta)0.3.0
✨ Added
- Follow redirects by @jenky in https://github.com/jenky/atlas/pull/11
🗑️ Deprecated
- Remove `retry` method in favor of `RetryableConnector` for better DX
🐛 Fixed
- Improve test cases performance by using mock client
- Full Changelog: https://github.com/jenky/atlas/compare/0.2.0...0.3.0
Version 0.2.0 (beta)0.2.0
🐛 Fixed
- Improve multi-part requests by @jenky in https://github.com/jenky/atlas/pull/10
- Full Changelog: https://github.com/jenky/atlas/compare/0.1.0...0.2.0
Version 0.1.0 (beta)0.1.0
Initial release
