Releases: contributte/api
Releases · contributte/api
v0.4.0
v0.3
Bump! 🔪
Diff: v0.2.2...v0.3
Changes:
- namespace refactoring (drop Bridges)
- rename Factory/Generator to Serialization
- rename Validators to Validations
- ApiResponse/ApiRequest don't composite PSR7, they extend
- simplify whole middlewares usage
- simplify ApiExtension
- added new Api2MiddlewaresExtension to easy use of middlewares
- simplify Transformers (from 2 interfaces to 1 interface)
- direct dependencies: contributte/psr7-http-message, contributte/middlewares, contributte/phpdoc
- tiny micro refactorings
- added huge amount of tests
v0.2.2
v0.2.1
v0.2
Bumped! 🐕
Diff: v0.1...v0.2
Changes:
- rewritten ApiMiddleware (BC!)
- introduced invokers concept:
- ApiRouter (
maps and parses request URL(s)
) - ApiContentNegotiation (
converts data to any formats
)- UrlNegotiator (
negotiates content data by URL suffix
)- JsonTransformer (
encodes / decodes data
)
- JsonTransformer (
- UrlNegotiator (
- ApiEmitter (
passes requests to ApiDispatcher
) - synchronize trailing slashes (at the start, at the end)
- ApiRouter (