knowa_sdk 2.2.0
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_sdkcan be built with plainflutter build --release: icon fonts are tree-shaken as usual, and--no-tree-shake-iconsis no longer needed. - Added
package:knowa_sdk/icon_data.dart.knowa releaselinks it into the builds it makes, so patches to those builds can constructIconData. Requires Knowa CLI 2.6.0 or later.
2.1.0 #
- Update checks report the device's platform (
android,ios,macos,windowsorlinux), 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, anddart_evalis no longer a dependency. A patch built for thedart_evalengine 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 withKnowaConfig.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_sdkno longer depends onanalyzertransitively, so it resolves alongsidefreezed,json_serializableand 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.0andpath_provider^2.0.15.
1.1.0 #
- Initial release.