Releases: Stillat/dagger
Releases · Stillat/dagger
1.4.3
1.4.2
1.4.1
What's fixed
- Removes errant
raycall
1.4.0
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
1.3.0
What's new
- Adds support for the
#whencompiler attribute to conditionally render Dagger components - Adds support for the
#forcompiler attribute to render a component for each item in a list - Adds a new
hasSlothelper method to components - Adds a new
hasDefaultSlothelper method to components
What's improved
- Improves internal compiler hot reloading behavior when using tools such as Vite
1.2.1
What's New
- Improves compatibility with other component compilers that make internal use of
Blade::render
1.2.0
What's New
- Allows for installations within Laravel 12 projects 🚢
1.1.1
What's Improved
- Improves automatic cache invalidation and manifest lifecycle
1.1.0
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
#cachecompiler attribute, which may be used to cache the results of any Dagger component - Bumps the minimum Laravel version to
11.23, forCache::flexiblesupport - Improves compilation of custom functions declared within a component's template
- Reduces overall memory utilization
- Simplifies serialized output of dynamic and circular components