Releases: tomaj/nette-api
Releases · tomaj/nette-api
1.6.1
- Fixed Nette 2.4 compatibility
- End of support for php < 5.6
- Service of type Tomaj\NetteApi\Misc\IpDetectorInterface is no more required if service of type Tomaj\NetteApi\Logger\ApiLoggerInterface is not configured and used
- Service of type Tomaj\NetteApi\Logger\ApiLoggerInterface need not be named "apiLogger"
1.6.0
1.5.0
1.4.0
Error reporting with Tracy
- added tracy for error logging from ApiPresenter
- added tests for ApiPresenter
New Input Types
New ability to send new input types:
- send RAW POST data
- send COOKIES
- send FILEs
more info in readme section Inputs
all new types are available in test console for easy testing api calls
Added CORS Support
- Added CORS support to ApiPresenter. Available options:
- 'auto' - send back header Access-Control-Allow-Origin with domain that made request
- '*' - send header with '*' - this will work fine if you dont need to send cookies via ajax calls to api with jquery $.ajax with xhrFields: { withCredentials: true } settings
- 'off' - will not send any CORS header
- other - any other value will be send in Access-Control-Allow-Origin header
- Rewritten few internal functions
Fixed array parsing
Fixed parsing array variables from GET and POST when using multi InputParam
First stable version
First version that can be used for api. Contains
- Authorization
- Handling api request
- Logging
- UI Control for api listing
- UI Control for web console to test api endpoints
- Api versioning