Skip to content

Releases: Stillat/dagger

1.4.1

08 Jul 00:14
Compare
Choose a tag to compare

What's fixed

  • Removes errant ray call

1.4.0

15 Jun 19:31
487b465
Compare
Choose a tag to compare

What's New

  • Adds the ability to compile a component using a callback function, without needing a corresponding view file:
<?php

use Stillat\Dagger\Facades\Compiler;

Compiler::compileComponent('c:mycomponent', function ($node) {
    return 'My Component';
});
<c-mycomponent />

1.3.1

07 May 17:18
Compare
Choose a tag to compare

What's Improved

  • Corrects dependencies for Laravel 12 (#28)

1.3.0

04 May 16:41
Compare
Choose a tag to compare

What's new

  • Adds support for the #when compiler attribute to conditionally render Dagger components
  • Adds support for the #for compiler attribute to render a component for each item in a list
  • Adds a new hasSlot helper method to components
  • Adds a new hasDefaultSlot helper method to components

What's improved

  • Improves internal compiler hot reloading behavior when using tools such as Vite

1.2.1

27 Feb 01:31
2070d97
Compare
Choose a tag to compare

What's New

  • Improves compatibility with other component compilers that make internal use of Blade::render

1.2.0

24 Feb 01:56
Compare
Choose a tag to compare

What's New

  • Allows for installations within Laravel 12 projects 🚢

1.1.1

11 Feb 00:59
Compare
Choose a tag to compare

What's Improved

  • Improves automatic cache invalidation and manifest lifecycle

1.1.0

08 Feb 22:28
Compare
Choose a tag to compare

What's Changed

  • Adds a new "Compile Time Rendering" system, which can render components at compile time and inline the static output
  • Adds compiler support for circular component references, like nested comment threads
  • Adds a #cache compiler attribute, which may be used to cache the results of any Dagger component
  • Bumps the minimum Laravel version to 11.23, for Cache::flexible support
  • Improves compilation of custom functions declared within a component's template
  • Reduces overall memory utilization
  • Simplifies serialized output of dynamic and circular components

1.0.6

01 Feb 02:21
Compare
Choose a tag to compare

The Things That Now Be Better

  • Corrects an issue where Blade stack compilation results in array index errors

1.0.5

28 Jan 00:53
Compare
Choose a tag to compare

Improvements and Bug Fixes 💪

  • @aware variables are automatically removed from the attribute bag, without needing to redefine them in @props
  • Adds support for passing attributes via. the <c-component {{ $attributes }} /> attribute
  • Bumps minimum version of stillat/blade-parser to 1.10.3
  • Adds support for compiling component attributes of the form <c-component attribute={{ $value }} />
  • Adds support for compiling component attributes of the form <c-component attribute={!! $value !!} />
  • Multi-word prop values will be available on nested components when passing $attributes to a child component
  • Internal component model instances will be cached during compilation, improving performance for heavily re-used components
  • Improves compatibility with Volt