jaspr_test 0.8.1
jaspr_test: ^0.8.1 copied to clipboard
Testing utilities for jaspr.
0.8.1 #
- Fixed bug with rebuilding the root component.
0.8.0 #
-
Added
StyleRule.media({MediaRuleQuery query, List<StyleRule> styles})to support@mediacss statements. -
Added support for Tailwind using the
jaspr_tailwindintegration.
Simply rundart pub add jaspr_tailwind --devand start using tailwind classes in your jaspr components.
For a full setup and usage guide see Tailwind Integration Docs.
0.7.0 #
-
Improved cli experience with better logging and progress indicators.
-
Removed
--ssrand--fluttercli options. -
Added support
jasprconfig section inpubspec.yaml.It is now possible to define certain configuration options for the jaspr cli directly inside the
pubspec.yamlfile under thejasprsection. Initially supported options are:jaspr: uses-ssr: true # or false; Toggles server-side-rendering on or off. uses-flutter: true # or false; Whether the project uses flutter element embedding.
0.6.2 #
- Added integrated support for seamless flutter element embedding. Refer to Flutter Embedding Docs on how to setup and use this.
0.6.1 #
-
Fixed bug with
jaspr create. -
Added prompts when running
jaspr createwithout any arguments. This way the developer is guided through the creation process more dynamically.
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_compilersdependency forjaspr_web_compilers:dev_dependencies: jaspr_web_compilers: ^4.0.4For 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 buildnow outputs to/build/jasprinstead of/build.
0.5.0 #
-
BREAKING Added
@clientas replacement for both@appand@island.Components annotated with
@clientact 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
@appand@islandannotations, as well as the removedDocument.app()andDocument.islands()constructors. Use the defaultDocument()constructor instead. -
BREAKING Removed
DeferRenderMixinas 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
--flutterargument for both theserveandbuildcommands 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.instanceetc. were removed.- You can access the current binding through
BuildContextscontext.bindingproperty.
-
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_clijaspr create,jaspr serveandjaspr 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
Stylesclass for writing typed css in dart. - Various other improvements throughout the framework.
0.1.0 #
- Initial version