oka_service 0.12.2
oka_service: ^0.12.2 copied to clipboard
Non-GUI buildables for oka (ADR-0055): a generic command pipeline driving `jaspr build` / `dart compile exe` / `docker build` / any argv sequence, plus a GitHub Releases publish channel. Tiny, framewo [...]
0.12.2 #
Patch Changes #
- Release-train smoke cut, part 2: explicit patch bumps for the 12
published packages the core cascade does not reach. The engine's
dependent cascade is constraint-driven — caret constraints absorb a
patch bump of
oka_core, so dependents are skipped by design (if (constraint.allows(newVersion)) continue;). A full-train smoke needs every package declared explicitly. Union withtrain-smoke-patterns.mdcovers all 17 published packages; the three unpublished ones (oka_devices,oka_dart_kernel,oka_verify) stay out — they have no pub.dev automated-publishing config yet.
0.12.0 #
Minor Changes #
-
Identity + law hardening (2026-11-22 review wave):
oka_store:StoreKey.of(runtime-checked factory for dynamic boundaries — the const ctor cannot validate), the erasure caveat documented (a key IS its String at runtime), andokaStoreDefine(OKA_STORE) — the dart-define key under which a delivery variant bakes its store key into the compiled binary.oka_core:Variant.applyTonow bakesOKA_STORE=<key.name>so the store identity reaches the artifact and the app boot can verify its runtime binding matches the composition (no two-masters drift).DeliveryTarget.dartDefinescontributes nothing — the variant is the single define writer (the target-level getter remains the general ADR-0014 surface for plain targets). The dispatcher appliestransformContextBEFORE the build directory resolves, so a delivery'sbuildAablands in the same-aabdirectory convention bare--aabbuilds use, and--aabalongside a delivery warns loudly instead of being silently overridden (artifact format is composition-owned).PublishTarget.validateDeliverynow requires every parameter — a partial call can no longer silently skip the overlay legality checks. Target runs whose final step is not the artifact build still print a completion line.oka_play: the Play channel REQUIRES thegmsoverlay on deliveries (Play presumes GMS; the overlay may be an empty marker — the declaration is the contract).oka_desktop: desktop pipelines forwardctx.flavor(never silently dropped) and fail the step when flutter exits green but the expected artifact directory is missing.oka_huawei:HuaweiPublishTargetis variant-free — the channel no longer restates the build config (ADR-0055: channels publish, deliveries build); the opt-inverifyArtifactgate derives its exclusion set from the delivery context's overlays.HuaweiBuildVariantstays exported for legacy compositions.
oka_core: ADR-0055 — the delivery matrix. New
Delivery/DeliveryTarget(pipeline by const reference + variant + channel),Variant(entrypoint, defines, overlays, openStoreKey),Overlay(defines + native-dep edits),RunPipelineStep;Target.dartDefines(ADR-0014 amendment — CLI wins) andTarget.transformContext;Oka.pipelinesoptional (delivery-only projects);BuildContext.overlays;PublishTargetcapability hooks (acceptedPlatforms,acceptedArtifactFormats,requiredOverlays,prohibitedOverlays) withvalidateDeliverycomposition checks.oka_store: new leaf package — the open store-key identity (
StoreKeyextension type + validation,StoreBinding+NoopStoreBinding, well-known keys as convenience constants, no enum).oka_android: overlay native-dependency folding (
foldOverlayDependencies— the generic form of the GMS exclusion).oka_web: new
WebPipeline(validate → emit shell → flutter build web);WebBuildTarget.transformContextwires contribution dartDefines into the build (previously dead); gh-pages/itch declare platform/format capabilities.oka_desktop: new —
MacosPipeline/LinuxPipeline/WindowsPipeline(honestflutter build <desktop>delegation, delivery-ready).oka_service: new —
CommandPipeline(jaspr/dart/docker/any argv) +GitHubReleasePublishTarget(gh CLI, ambient auth) +StageFileStep.Store channels declare capabilities (Play: android/aab; RuStore: android; AppGallery: android/aab,
gmsoverlay prohibited). ADR 0055. -
Updated
oka_coredependency constraint to^0.14.0.
0.12.0 #
See packages/oka/CHANGELOG.md for train-wide release notes.