Skip to content

v7.0.0

Compare
Choose a tag to compare
@MarcinOrlowski MarcinOrlowski released this 22 Nov 16:10
· 643 commits to master since this release
bb6c145
  • BACKWARD INCOMPATIBLE CHANGES (more info)
  • New, flexible API based on Builder pattern (see docs for details).
  • Reworked ExceptionHandlerHelper configuration. Now, you will be able to easily configure every
    HttpException for each HTTP status code you want. Separate ExceptionHandler::TYPE_HTTP_NOT_FOUND_KEY
    and all related stuff, incl. localization key http_not_found, configuration is now replace with more
    flexible generic code that provides error messages for all supported HTTP codes from in range 400-599.
  • Added support for external data converters (related part of config changed too).
  • Config key classes is now (partially) converter. Its method key is gone and handler.
    needs to be added now, pointing to the class implementing ConverterContract acting as delegate worker.
  • Data converter now handles objects implementing JsonSerializable and Arrayable contracts as well.