spark_framework 1.0.0-alpha.10
spark_framework: ^1.0.0-alpha.10 copied to clipboard
Lightweight isomorphic SSR framework for Dart with Custom Elements and Declarative Shadow DOM
1.0.0-alpha.10 #
- Extracted CSS style system into standalone
spark_csspackage. - Added
spark_cssdependency and re-exported it for backward compatibility.
1.0.0-alpha.9 #
Fixed #
- Fixed click events not working after spark_web migration.
SparkComponent.update()now passes spark_web wrappers to the VDOM engine instead of rawpackage:webobjects.
1.0.0-alpha.8 #
- Extracted web API access to use spark_web.
- Moved HTML DSL and VDOM into external packages (spark_html_dsl, spark_vdom).
1.0.0-alpha.7 #
Features #
- Improved VDOM hydration by ignoring comment nodes and preserving input state.
- Added
onHydratinglifecycle hook. - Refactored
ContentType.fromto use strict MIME type matching.
Bug Fixes #
- Fixed Stored XSS in static file handler directory listing.
- Fixed memory leak in
vdom_web.dartby cleaning up listeners on node removal. - Removed redundant
simpleStaticHandler.
Performance #
- Optimized static file serving with streaming and non-blocking Gzip.
- Optimized static handler directory listing.
- Optimized
Style.toCsswith caching. - Optimized CSS serialization in
SparkComponent. - Removed repeated VDOM traversal in
SparkComponent.update.
1.0.0-alpha.6 #
- Fixed SVG element hydration by properly using
createElementNSand ensuring context-aware element creation. - Breaking Change: Renamed
NodetoVNodeto avoid conflict withdart:htmlNode. - Improve vdom attribute patching
- Improve clientIp getter
1.0.0-alpha.5 #
- Implement CSS minification logic and enable it during the build process for server and client compilation.
- Switch CSS minification to use the
dart.vm.productflag, remove custom build flags, and add new tests for minification behavior.
1.0.0-alpha.4 30-01-2026 #
1.0.0-alpha.3 27-01-2026 #
- Updated spark_generator to 1.0.0-alpha.4. This allows using
dart:ioin Pages.
Breaking changes #
SparkPage.componentsgetter now returnsList<Type>instead of ComponentInfo list. This simplifies usage:[Counter]instead of[ComponentInfo(Counter.tag, Counter.new)].
1.0.0-alpha.2 22-01-2025 #
Breaking changes #
- There is a new way to write Components. Please refer to the documentation for more information.
Features #
- Add type to input element onInput event based on the type of the input
- Added support for cookies
- Added support for csp nonce on scripts and styles
- Fix @Component
1.0.0-alpha.1 #
- Initial version