jaspr 0.5.0 jaspr: ^0.5.0 copied to clipboard
Modern web framework for building websites in Dart that feels like Flutter but supports server-side rendering.
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 theDocument()
component.This combines the behaviour of the now removed
@app
and@island
annotations, as well as the removedDocument.app()
andDocument.islands()
constructors. Use the defaultDocument()
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 theserve
andbuild
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
BuildContext
scontext.binding
property.
-
BREAKING Removed
ComponentTester.setUp()
,BrowserTester.setUp()
andServerTester.setUp()
.- Use
testComponents()
,testBrowser()
andtestServer()
instead.
- Use
-
Requires Dart 3.0 or later.
0.3.0 #
- BREAKING The cli is now a separate package:
jaspr_cli
. To migrate run:
The usage stays the same withdart pub global deactivate jaspr dart pub global activate jaspr_cli
jaspr create
,jaspr serve
andjaspr 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.0 #
- Initial version