Skip to content

v0.23.0

Latest

Choose a tag to compare

@schultek schultek released this 17 Apr 15:48
· 13 commits to main since this release

Version 0.23.0 adds Agent Skills, CLI Improvements, Standalone CSS and Unsafe Import Analysis.

Read the full release notes here.


jaspr, jaspr_cli

  • Added Agent Skills for Jaspr, which can be installed with jaspr install-skills.

  • Multiple improvements to the Jaspr CLI:

    • Jaspr can now be installed with dart install jaspr_cli instead of dart pub global activate jaspr_cli.
    • Added jaspr convert-html command to automatically convert raw HTML to Jaspr code.
    • Breaking Removed jaspr tooling-daemon command. The functionality is now provided by the jaspr_lints package.
    • Improved logging and overall stability.
  • Added jaspr: styles: standalone option to pubspec.yaml.

    • When enabled, all @css declarations are rendered to a standalone .css file instead of being inlined in the pre-rendered HTML.
    • @css is now also allowed in client mode projects, where standalone mode is enabled by default.

jaspr_lints 0.7.0

  • Added unsafe_imports lint rule to detect unsafe platform-specific imports in components depending on where they are rendered (server or client).
  • Component scopes are now calculated by this package, instead of the jaspr tooling-daemon command.