Skip to content

Dartvel v0.7.0

Choose a tag to compare

@Danroyal001 Danroyal001 released this 27 Sep 17:58
· 1217 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 currently has Linux binaries only. GitHub Actions was unavailable when it was cut, so they were built by hand. macOS and Windows binaries are added when the CLI release workflow runs for v0.7.0.

Highlights:

  • DV.Cache is four calls: get, set, has and delete. delete takes a key, a DVCacheTag or DVCache.all; dartvel.cache in pubspec.yaml names the store and DV.Cache.withAdapter(adapter) switches it in code. The lock, housekeeping and tag inspection moved to the framework's DVCacheRuntime.
  • Every data model gets a public page unless it opts out (generatePublicPages defaults to true). Accounts, sessions, credentials, audit records and tenant-scoped models are left out; sensitive fields are shown only to a viewer the new viewSensitive policy admits, and a record the view policy refuses answers 404.
  • Webhooks: deliveries as CloudEvents 1.0.2 or signed the Standard Webhooks way, configured under dartvel.webhooks, and an AsyncAPI 3.0 document at /api/asyncapi.json. DV-WEBHOOK-008 to 010 are registered diagnostics.
  • DV.Platform.Tray.show(icon:) takes a generated DVAssetRef, so a renamed icon is a compile error.
  • Change capture and offline data models are declared rather than wired, and application-facing Dart uses primary constructors.
  • Breaking: the SDK floor is Dart 3.13.0 and Flutter 3.47.0.

What changed, including the breaking changes and their migrations: CHANGELOG. Packages on pub.dev: dartvel_core, dartvel_flutter, dartvel_cli, dartvel_dev 0.7.0; dartvel_shelf 0.8.0; dartvel_generator 1.4.0.