Skip to content

Releases: mako-framework/framework

12.2.2

Choose a tag to compare

@freost freost released this 15 Jul 21:21
f8bb3b7

Bugfixes

  • Fixed an error in the 429 error template.

12.2.1

Choose a tag to compare

@freost freost released this 04 May 17:50
af0dcdd

Improvements

  • The container can now resolve unregistered interfaces as long as the parameter has a default value.

12.2.0

Choose a tag to compare

@freost freost released this 02 Apr 14:27
449a4b4

New

  • Added new SortDirection enum 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_values validation rule.

Deprecations

  • Passing the string values ASC and DESC to the $order parameter of these methods is deprecated in favor of the SortDirection enum:
    • Query::orderBy()
    • Query::orderByRaw()
    • Query::orderByVectorDistance()
  • All enum cases have been converted from UPPER_SNAKE_CASE to PascalCase. A compatibility layer is available until Mako 13.

12.1.1

Choose a tag to compare

@freost freost released this 01 Mar 13:12
b16ede9

Bugfixes

  • Fixed an error in the 429 error template.

12.0.3

Choose a tag to compare

@freost freost released this 01 Mar 13:02
71bb0a9

Bugfixes

  • Fixed an error in the 429 error template.

12.1.0

Choose a tag to compare

@freost freost released this 20 Feb 20:36
1803ff1

New

  • Added vector query support to the query builder for the following databases:
    • MariaDB
    • MySQL
    • Postgres
  • Now possible to define custom input/output value objects for the query builder.
  • Added a EventStream response sender to simplify sending sever-sent events.
  • Permission calculations now fully support special bits (sticky, setgid and setuid).
  • Added the following methods to the Permissions class:
    • add
    • remove

Deprecations

  • Deprecated the following methods in the ControllerHelperTrait trait:
    • fileResponse - Create and return mako\http\response\senders\File instance instead
    • streamResponse - Create and return a mako\http\response\senders\Stream instance instead
    • jsonResponse - Create and return a mako\http\response\builders\JSON instance instead

12.0.2

Choose a tag to compare

@freost freost released this 09 Jan 02:18
dcd92ee

Bugfixes

  • Eager loading of BelongsTo relations could lead to unnecessary queries.

11.4.6

Choose a tag to compare

@freost freost released this 09 Jan 02:18
7505868

Bugfixes

  • Eager loading of BelongsTo relations could lead to unnecessary queries.

12.0.1

Choose a tag to compare

@freost freost released this 08 Jan 13:44
8ff8b39

Bugfixes

  • Fixed deprecation warning if foreign key value is null during eager loading of BelongsTo relations.

11.4.5

Choose a tag to compare

@freost freost released this 08 Jan 18:10
52e9eb4

Bugfixes

  • Fixed deprecation warning if foreign key value is null during eager loading of BelongsTo relations.