Releases: mako-framework/framework
Releases · mako-framework/framework
Release list
12.2.2
12.2.1
12.2.0
New
- Added new
SortDirectionenum for use with the query builder "order" methods. - Added the following methods to the query builder:
Query::orderByNullsFirst()Query::orderByNullsLast()Query::ascendingNullsFirst()Query::descendingNullsFirst()Query::ascendingNullsLast()Query::descendingNullsLast()
- Added the following filter methods to the class finder:
ClassFinder::implementing()ClassFinder::extending()ClassFinder::using()ClassFinder::with()
- Added
ClassFinder::findWith()method to to enable finding classes using a certain attribute. - Added
unique_valuesvalidation rule.
Deprecations
- Passing the string values
ASCandDESCto the$orderparameter of these methods is deprecated in favor of theSortDirectionenum:Query::orderBy()Query::orderByRaw()Query::orderByVectorDistance()
- All enum cases have been converted from
UPPER_SNAKE_CASEtoPascalCase. A compatibility layer is available until Mako 13.
12.1.1
12.0.3
12.1.0
New
- Added vector query support to the query builder for the following databases:
MariaDBMySQLPostgres
- Now possible to define custom input/output value objects for the query builder.
- Added a
EventStreamresponse sender to simplify sending sever-sent events. - Permission calculations now fully support special bits (sticky, setgid and setuid).
- Added the following methods to the
Permissionsclass:addremove
Deprecations
- Deprecated the following methods in the
ControllerHelperTraittrait:fileResponse- Create and returnmako\http\response\senders\Fileinstance insteadstreamResponse- Create and return amako\http\response\senders\Streaminstance insteadjsonResponse- Create and return amako\http\response\builders\JSONinstance instead