v3.0.9
Change log
Enhancements
- ✨ Add an
attributes()method for cleanly & safely setting block properties instead of using__construct - 🧑💻 Simplify required arguments for block styles
- 🎨 Improve method typing
- 🧑💻 Check for
assetswithmethod_existsto prevent unnecessary clashing - 🎨 Remove unnecessary
align_contentconditional - 🎨 Add types to stubs
- 🎨 Improve default typing on the
assetsmethod (Fixes #206) - 🎨 Simplify the default
stylesproperty on stubs - 🎨 Move example data into the
example()method in the blockconstructstub - 🧑💻 Update the
assets()replacement inacf:upgrade
Bug fixes
- 🩹 Fix unnecessary JSON conversion with
getTemplate()(#209)
New Contributors
Full Changelog: v3.0.8...v3.0.9