Skip to content

3.1.0

Choose a tag to compare

@mydoxie mydoxie released this 08 Nov 11:45
· 13 commits to main since this release
f9a2132

Read before you update

  • $slots.main is now always there, as empty text. So {{ $slots.main ?? 'x' }} no longer prints x for an empty body.
  • An empty SafeString is now false in @if.

New

  • Tags: @isset, @empty, @auth, @guest, @env, @production, @once, @verbatim, @class, @checked, @selected and @disabled.
  • ViewEngine takes environment. By default it is APP_ENV.
  • Components get $attributes (with merge()) and $slot.

Fixes

  • {{ errors.email }} no longer throws when there is no session.
  • An app global named errors shows when there are no validation errors.
  • A changed object now shows in later renders. The toJson() cache lasts one render.

Needs dox_core 3.1.0.

Docs: Views

Full list: the CHANGELOG.