Skip to content

Dartvel 0.9.2

Choose a tag to compare

@Danroyal001 Danroyal001 released this 28 Sep 21:59
· 630 commits to main since this release

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 unavailable, so they were built by hand; macOS and Windows binaries need those hosts and are added when the CLI release workflow runs for v0.9.2.

Highlights:

  • A web page shows its own text and a loading bar before Flutter starts. The text the build writes for crawlers is the page until the first frame, so the largest contentful paint is text rather than the splash. A thin bar across the top follows the compiled app, the renderer and the fonts as they arrive and completes on the first frame (role="progressbar", still under reduced motion; dartvel.splash.progress: false turns it off). main.dart.js is preloaded.
  • DvDefaultLoading is that loading bar on every platform, for deferred pages and page data, and DV.progress shows it for an application's own work.
  • Adopt Dartvel without changing routers: besides go_router, mount Dartvel pages into auto_route (dartvelAutoRoutes) or Flutter's Navigator 1.0 (dartvelOnGenerateRoute) and 2.0 (dartvelPageFor), with Dartvel's guards, back through Dartvel's stack first, and the web address bar following. dartvel init names the router an app uses.
  • The specification gains a Brownfield section (Dartvel inside an existing native app), measured against Expo's.

Packages on pub.dev and npm: dartvel_core, dartvel_flutter, dartvel_cli, dartvel_dev 0.9.2; dartvel_shelf 0.9.1 and dartvel_generator 1.4.2 unchanged. CHANGELOG.