jaspr 0.6.0 copy "jaspr: ^0.6.0" to clipboard
jaspr: ^0.6.0 copied to clipboard

Modern web framework for building websites in Dart that feels like Flutter but supports server-side rendering.

0.6.0 #

  • Added support for flutter web plugins.

    Jaspr apps can now depend-on and import flutter plugins that work on web. This is achieved by using a modified compiler toolchain: jaspr_web_compilers.

    To enable support for flutter plugins simply exchange your build_web_compilers dependency for jaspr_web_compilers:

    dev_dependencies:
      jaspr_web_compilers: ^4.0.4
    

    For an example see experiments/flutter_plugin_interop](https://github.com/schultek/jaspr/tree/main/experiments/flutter_plugin_interop).

  • Improved flutter element embedding.

    Flutter apps can now be directly embedded from your jaspr codebase and integrated into the existing jaspr component tree.

    This removes the need for any kind of interop between apps as they can directly communicate through the usual primitives of passing properties and callbacks.

    For an example see experiments/flutter_embedding_v2](https://github.com/schultek/jaspr/tree/main/experiments/flutter_embedding_v2).

  • jaspr build now outputs to /build/jaspr instead of /build.

0.5.0 #

  • BREAKING Added @client as replacement for both @app and @island.

    Components annotated with @client act as entry points for the client application and are automatically detected, compiled and shipped to the client when using the Document() component.

    This combines the behaviour of the now removed @app and @island annotations, as well as the removed Document.app() and Document.islands() constructors. Use the default Document() constructor instead.

  • BREAKING Removed DeferRenderMixin as async first builds are no longer permitted on clients.

  • Added support for Flutter element embedding.

    Flutter apps can now easily be embedded within jaspr sites. The cli supports the --flutter argument for both the serve and build commands to specify the entrypoint of the flutter application.

    The complete setup is demonstrated in the flutter_embedding example.

  • Fixed handling of initial uri.

  • Added SynchronousFuture.

0.4.0 #

  • BREAKING Bindings are no longer singletons.

    • ComponentsBinding.instance, SchedulerBinding.instance etc. were removed.
    • You can access the current binding through BuildContexts context.binding property.
  • BREAKING Removed ComponentTester.setUp(), BrowserTester.setUp() and ServerTester.setUp().

    • Use testComponents(), testBrowser() and testServer() instead.
  • Requires Dart 3.0 or later.

0.3.0 #

  • BREAKING The cli is now a separate package: jaspr_cli. To migrate run:
      dart pub global deactivate jaspr
      dart pub global activate jaspr_cli
    
    The usage stays the same with jaspr create, jaspr serve and jaspr build.

0.2.0 #

BREAKING: This is the first major release after the initial publish and contains several breaking changes.

  • Update to Dart 2.17
  • Rewrite of the rendering system that comes with a lot of improvements in stability and performance.
  • Added support for custom backend & server setup.
  • Added support for multiple apps on the client as well as island components.
  • Added html utility components for common elements.
  • Added Styles class for writing typed css in dart.
  • Various other improvements throughout the framework.

0.1.5 #

  • Refactor cli code #12
  • Fixed issue with jaspr serve

0.1.4 #

  • Added --port option to jaspr serve (#6)
  • Fixed webdev dependency constraint (#5)

0.1.3 #

  • Fixed domino dependency (#4)
  • Fixed build on windows (#3)

0.1.2 #

  • Added executable to pubspec.yaml (#2)

0.1.1 #

  • Fixed template for jaspr create (#1)

0.1.0 #

  • Initial version
422
likes
0
pub points
90%
popularity

Publisher

verified publisherschultek.de

Modern web framework for building websites in Dart that feels like Flutter but supports server-side rendering.

Repository (GitHub)
View/report issues

Topics

#jaspr #web #html #server

Documentation

Documentation

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

binary_codec, hotreloader, html, http, js, logging, meta, path, shelf, shelf_gzip, shelf_proxy, shelf_static

More

Packages that depend on jaspr