v0.21.0
Read the full Release Notes for this version here.
jaspr, jaspr_builder, jaspr_cli, jaspr_test 0.21.0
-
Breaking Changed all
build()methods andbuilderfunctions to return a singleComponentinstead ofIterable<Component>. Usejaspr migrateto migrate automatically after updating. -
Breaking Introduced new
Component.element(),Component.text(),Component.fragment()andComponent.wrapElement()constructors, replacingDomComponent(),Text(),Fragment()andDomComponent.wrap(), respectively. Also addedComponent.empty()to create an empty fragment. -
Allow setting
Document(base: )tonull, and fix the path to the generated client script when no<base>element exists. -
Added
justifyItems,justifySelfandalignContentstyles properties. -
Added
filterandbackdropFilterstyles properties. -
Added
all,appearanceandaspectRatiostyles properties. -
Added
--include-source-mapsoption tojaspr buildcommand. -
Added
jaspr tooling-daemoncommand and component scope analysis. -
Fixed sitemap generation bug in top-level route ('/')
-
Require
sdk: ^3.8.0. -
Update
analyzerto^8.0.0andbuildto^4.0.0.
jaspr_content 0.4.0
- The
LiquidTemplateEngineis no longerconst. - Fixed resolution of partial files in
LiquidTemplateEngine. - Skip adding a
<style>element for an emptyContentTheme. - Fixed
HtmlParserto treat html files as fragments.
jaspr_lints 0.5.0
-
Extend
prefer_html_methodslint to also suggest usingtext()andfragment()methods, and offer fixes for them. -
Changed
Add stylesassist to create a getter instead of variable. -
Update
analyzerto^8.0.0. -
Update
custom_lintto^0.8.0.