馃悰 [firebase_analytics] minor release has breaking changes #10270
Labels
plugin: analytics
resolution: fixed
A fix has been merged or is pending merge from a PR.
type: bug
Something isn't working
Running
flutter pub upgrade
bumped myfirebase_analytics
from^10.0.7
to10.1.0
.I see new errors:
The changelog points to #9520, which says:
Indeed, the diff shows new assertions in
firebase_analytics.dart
.I believe the package's major version should have been incremented to 11.0.0, as required by semver.
@russellwheatley @Lyokone @pr-Mais @mateusfccp @victor-tinoco
Separately: as a user,
I would like to see the "why & how" of this migration documented more clearly. It seems to revert fix(firebase_analytics): support complex data structures like list and map on Android聽#4394.
Would you consider just serializing
value
(replace it with'$value'
), instead of making the type assertion? I don't have (or want) type tests for all the map values I pass tologEvent
.If the answer is "no," the doc comment on
logEvent
needs to call out that it is NOT safe to pass an arbitraryMap<String, Object?> parameters
, in spite of the method signature.The text was updated successfully, but these errors were encountered: