flutterfire
flutterfire copied to clipboard
🐛 [cloud_Firestore] Update 4.14.0 CHANGELOG to clearly describe its BREAKING change
Update 4.14.0 CHANGELOG to clearly describe its BREAKING change
According to the diff, since cloud_firestore version 4.14.0, aggregation count query returns int? instead of int, which is not compatible with previous versions.
So would it be better to clearly describe the BREAKING change for 4.14.0 CHANGELOG? (Otherwise, I would like to know the standard to judge what BREAKING changes are and others are not.)
And additionally, having doc comments to explain when the count property to return null is desired.
/cc @Lyokone
It looks like a bug to return null...
Hello @kosukesaigusa, sorry for the late response. The change from int to int? is indeed a breaking change but was considered a fix since it could happen in some edge cases in the previous versions.