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
assets
withmethod_exists
to prevent unnecessary clashing - 🎨 Remove unnecessary
align_content
conditional - 🎨 Add types to stubs
- 🎨 Improve default typing on the
assets
method (Fixes #206) - 🎨 Simplify the default
styles
property on stubs - 🎨 Move example data into the
example()
method in the blockconstruct
stub - 🧑💻 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