Skip to content

v0.21.0

Choose a tag to compare

@schultek schultek released this 13 Sep 14:34
· 210 commits to main since this release

Read the full Release Notes for this version here.

jaspr, jaspr_builder, jaspr_cli, jaspr_test 0.21.0

  • Breaking Changed all build() methods and builder functions to return a single Component instead of Iterable<Component>. Use jaspr migrate to migrate automatically after updating.

  • Breaking Introduced new Component.element(), Component.text(), Component.fragment() and Component.wrapElement() constructors, replacing DomComponent(), Text(), Fragment() and DomComponent.wrap(), respectively. Also added Component.empty() to create an empty fragment.

  • Allow setting Document(base: ) to null, and fix the path to the generated client script when no <base> element exists.

  • Added justifyItems, justifySelf and alignContent styles properties.

  • Added filter and backdropFilter styles properties.

  • Added all, appearance and aspectRatio styles properties.

  • Added --include-source-maps option to jaspr build command.

  • Added jaspr tooling-daemon command and component scope analysis.

  • Fixed sitemap generation bug in top-level route ('/')

  • Require sdk: ^3.8.0.

  • Update analyzer to ^8.0.0 and build to ^4.0.0.

jaspr_content 0.4.0

  • The LiquidTemplateEngine is no longer const.
  • Fixed resolution of partial files in LiquidTemplateEngine.
  • Skip adding a <style> element for an empty ContentTheme.
  • Fixed HtmlParser to treat html files as fragments.

jaspr_lints 0.5.0

  • Extend prefer_html_methods lint to also suggest using text() and fragment() methods, and offer fixes for them.

  • Changed Add styles assist to create a getter instead of variable.

  • Update analyzer to ^8.0.0.

  • Update custom_lint to ^0.8.0.