New datasource
New features
- Autoload: improve management of declared include paths.
- Loader (dependency injection)
- Autowiring
- Preloading
- Dynamic callbacks
- Improved alias management
- Simplified prefix management
- Manage full namespaces on prefixes.
- Process attributes only for controllers and controller actions.
- Framework: use Loader to instantiate log managers.
- DataFilter
- Add types: Binary, Base64, hash
- JSON: add
contractparameter. - URL: add extra parameters.
- Add
outputparameter. mimeparameter is now optional forbinarytype.- Add
minLen/maxLenparameters tolist,json,base64types. minLen/maxLenparameters supportsK/M/G/T/P/Esuffix.- Assume
assoccontract when array contracts withouttypedefined. - Add
charsetparameter forstringandbinary. - Add
valueparameter to list validation. - Support wildcard keys and subcontracts to validate extra keys in assoc.
- Request:
- Add
validateParams(),validatePayload()andvalidateFiles()methods. - Add payload management (validation and getters).
- Add
- Session: Enforce secure cookie parameters (Lax/HttpOnly) for native PHP sessions fallback.
- Command-line interface: register data sources directly in the loader.
- Check attributes: add
Check\Payload,Check\Params,Check\Get,Check\Post,Check\FilesandCheckOutput. - Text: add
mimeTypesMatch()andparseSize(). - View attribute: add adaptative view option.
- Controllers: Debug loading default controller's template.
- SQL datasource: Add request parameters in
exec(),queryOne()andqueryAll()methods. - Improve redirection management in Response, Controller and attributes.