Repository navigation
Dartvel 0.9.3
Self-contained dartvel binaries. No Dart or Flutter SDK needed to run the CLI itself; dartvel build still needs Flutter for the target you are building.
This release has Linux binaries only (amd64 and arm64). GitHub Actions is billing-locked on Danroyal001, so they were built by hand; macOS and Windows binaries need those hosts and are added when the release workflow runs for v0.9.3.
Highlights:
-
Security: Studio never renders for a signed-out visitor. A signed-out request for
<mount>/index.htmlused to get Studio's screens (never its data). Every Studio document path now redirects to sign-in without the Studio grant. Upgrade and redeploy if Studio is enabled. -
Studio lists every page the application has. Pages lists compiled routes from the route manifest alongside stored pages (marked Code, Studio or Override). A compiled page opens read-only as its content or captured structure; Edit this page creates an override that takes the route over when deployed, and Restore compiled page deletes it.
dartvel admin generateopensDVStudioInAppover the project's own routes and models, and the router generatesdartvelPagePreview. -
Data models are designed in Studio. A model's name, key, fields and their types, rules (smallest, largest, shortest, longest, pattern, unique), relations, indexes and who may use its data are created and edited in Studio's Data section, stored as a definition beside its records and served at once. Designed models have an instant data API at
/_dartvel/data/<Model>governed by access policies, and ondartvel devcan be written tolib/modelsas@DVModeldeclarations. -
Upstream Shelf adapter:
package:dartvel_shelf/shelf.dartprovidesfromShelf()to mount existing Shelf pipelines, cascading handlers, and middlewares directly on Dartvel's high-performance native server runtime. -
Native WebSockets:
package:dartvel_shelf/web_socket.dartprovideswebSocketHandlerandwsHandlerbacked by Axum and tungstenite with event-driven native frame delivery callbacks (aw_register_ws_wakeup_handler), eliminating polling latency and multiplying throughput. -
Streaming response and request body backpressure: A bounded queue with native stream acknowledgements pauses fast Dart producers when native buffers fill, preventing unbounded native memory growth when clients read slowly.
-
Native static file serving: Native static asset handling streams via
tower-httpServeFile, with full support for byte ranges (Range,206,416),HEAD, conditional requests (Last-Modified,If-Modified-Since, weakETag,If-None-Match), and canonical path traversal protection.
Packages on pub.dev and npm: dartvel_core, dartvel_flutter, dartvel_cli, dartvel_dev 0.9.3; dartvel_shelf 0.9.2; dartvel_generator 1.4.2 unchanged. CHANGELOG.