Skip to main content

knowa_sdk 2.2.0 copy "knowa_sdk: ^2.2.0" to clipboard
knowa_sdk: ^2.2.0 copied to clipboard

Code push for Flutter on the stock Flutter SDK: ship a Dart fix to apps already installed, signed with your own key, with no forked engine.

Changelog #

2.2.0 #

  • An app that depends on knowa_sdk can be built with plain flutter build --release: icon fonts are tree-shaken as usual, and --no-tree-shake-icons is no longer needed.
  • Added package:knowa_sdk/icon_data.dart. knowa release links it into the builds it makes, so patches to those builds can construct IconData. Requires Knowa CLI 2.6.0 or later.

2.1.0 #

  • Update checks report the device's platform (android, ios, macos, windows or linux), so a patch can be published for one platform and rolled out per platform.
  • A patch signed for another platform is refused, and the app runs its shipped code.

2.0.1 #

  • Documentation improvements. No functional changes.

2.0.0 #

Breaking changes #

  • Patches run only on knowa_kernel, and dart_eval is no longer a dependency. A patch built for the dart_eval engine is rejected with a status asking you to republish it, and the app runs its shipped code.
  • Removed package:knowa_sdk/wrappers.dart. Pass zone arguments as plain values: args: [context].
  • Removed KnowaConfig.plugins. Register host bindings with KnowaConfig.bridges.

Apps set up with knowa init use neither API. They only need to update the constraint to knowa_sdk: ^2.0.0.

Other changes #

  • knowa_sdk no longer depends on analyzer transitively, so it resolves alongside freezed, json_serializable and other code generators.
  • Lowered the minimum Flutter version from 3.41.4 to 3.27.0.
  • Widened dependency constraints: package_info_plus >=5.0.0 <11.0.0, http ^1.0.0, cryptography ^2.6.0 and path_provider ^2.0.15.

1.1.0 #

  • Initial release.
0
likes
160
points
538
downloads

Documentation

API reference

Publisher

verified publisherknowalabs.com

Weekly Downloads

Code push for Flutter on the stock Flutter SDK: ship a Dart fix to apps already installed, signed with your own key, with no forked engine.

Homepage

Topics

#code-push #ota-updates #hotfix #flutter

License

BSD-3-Clause (license)

Dependencies

cryptography, flutter, http, knowa_flutter_bindings, knowa_kernel, knowa_patch_format, package_info_plus, path_provider

More

Packages that depend on knowa_sdk