v3.0.0
·
1256 commits
to master
since this release
- BACKWARD INCOMPATIBILE CHANGES
- [RB-17]
success()
now allows to return API code as well - Corrected default config file containing faulty and unneeded
use
entries - [RB-20] Renamed ErrorCode class to ApiCodeBase
- ApiCodeBase's
getMinCode()
andgetMaxCode()
are nowpublic
- Improved error messages to be even more informative
- All exceptions thrown due to misconfiguration have
CONFIG:
message prefix now - Renamed
error_code
param toapi_code
in all the method signatures :api_code
is now code placeholder in strings (:error_code
is no longer supported)- Default HTTP codes are now declared as constants
DEFAULT_HTTP_CODE_xxx
if you need to know them ApiCodeBase::getMap()
now ensuresmap
config entry of expectedarray
type- [RB-26] Added
successWithCode()
method