- 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
inlib/src/version.dart
by1
for patch releases, by10
for minor releases - Update version in
README.md
- Bump version in
- 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
anddev
branches (Runwiresdk 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 🎉
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).
- New
WidgetInspector
constructor flutter/flutter#158219
Multiple Color
API changes
-
https://docs.flutter.dev/release/breaking-changes/wide-gamut-framework
-
Color.alpha
->Color.a
-
Color.red
->Color.r
-
Color.green
->Color.g
-
Color.blue
->Color.b
-
Color.withOpacity()
->Color.withValues()
-
Color.value
-> ?
Iterable<T?>.whereNotNull()
->Iterable<T>.nonNulls
(Caused by pinnedcollection: 1.19.0
package)MediaQuery.fromWindow
->MediaQuery.fromView
(deprecated in Flutter v3.7.0-32.0.pre) flutter/flutter#119647