dbrij_ship 0.3.0
dbrij_ship: ^0.3.0 copied to clipboard
Dbrij Ship for Flutter and Dart: feature flags, remote config, a kill switch and store version policy, resolved per device on one check in.
0.3.0 #
- Key rotation:
ShipAssets(signPublicKeys: [...])trusts a list of release signing keys (signPublicKeystill works). While one key replaces another, Ship signs each pack with both, so a build that trusts the list keeps updating across the change. A pack is applied when any trusted key verifies any signature it carries. checkIn(trustedKeys: ...)sends the keys this build trusts (public halves only), so Ship answers with a signature the device can check and knows who a key's retirement would leave behind.ShipUpdateDescriptorgainskeyIdandsignatures.
0.2.0 #
- Breaking:
ShipAssetsrequiressignPublicKeyandverifier. Every asset pack is checked against the app's signing key before it is unpacked; a pack with no key or a bad signature is never applied (the README shows the verifier in ten lines). ship.signal(name)andflushSignals(): report what a release could make worse ("checkout_error"); Ship compares releases and can pause a rollout on its own.runGuardedsends uncaught asynchronous errors as 'error'.- An update that arrives with the kill switch on is applied: the kill switch drops flags and config to their defaults and nothing else, so the fix still reaches devices.
0.1.1 #
- Works with
archive4 as well as 3, so an app already on the newer one can add this without a version conflict. - A runnable example (
example/dbrij_ship_example.dart), including the file backed storage adapter a command line or server program needs. - Doc comments on the remaining public members. No change in behaviour.
0.1.0 #
- First release: check in, feature flags, remote config, the kill switch, the store version verdict and release beacons, with an offline cache and a pluggable storage adapter.
- Asset packs: signed, staged zips of the files the app reads at runtime, verified and unpacked atomically, with rollback and automatic halt on the same rail as code push.