Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 2.4 KB

RELEASE.md

File metadata and controls

49 lines (36 loc) · 2.4 KB

Release checklist

  • run pana --no-warning and check score is 130/130
  • Bump version with wiresdk bump-version --minor (or --major, --patch) which does
    • Bump version in pubspec.yaml
    • Increment wiredashSdkVersion in lib/src/version.dart by 1 for patch releases, by 10 for minor releases
    • Update version in README.md
  • Write release notes in CHANGELOG.md (Check https://github.com/wiredashio/wiredash-sdk/compare/v1.0.0...stable to compare what changed)
  • Commit changes
  • Tag release vX.Y.Z and push it
  • Double check that there are no local changes, then run git stash && flutter pub publish
  • Update/Move the stable, beta and dev branches (Run wiresdk sync-branches)
  • Copy-paste release notes into GitHub release https://github.com/wiredashio/wiredash-sdk/releases
  • Update wiredash-demo project for website
  • Update latest SDK version in console
  • Announce release on Twitter 🎉

Handling deprecations of the Flutter SDK and dependencies

The Wiredash SDK strives to be compatible with all stable Flutter releases within the last year as well as the current master channel. To achieve this, we go the extra mile and work around breaking API changes or contribute fixes directly to the Flutter SDK to ensure compatibility.

The goal is to always have a single commit, being compatible with all versions. This way we can make sure to deliver the latest features and bug fixes to all of our users.

These are the current deprecated APIs the Wiredash SDK is currently using as long as the deprecated APIs are not removed (usually after 12 months).

Flutter v3.28 / Dart 3.6.0

Flutter 3.27 / Dart 3.6.0

Multiple Color API changes

Flutter 3.10 / Dart 3.0.0

  • Iterable<T?>.whereNotNull() -> Iterable<T>.nonNulls (Caused by pinned collection: 1.19.0 package)
  • MediaQuery.fromWindow -> MediaQuery.fromView (deprecated in Flutter v3.7.0-32.0.pre) flutter/flutter#119647