[flutter_markdown] Ensure customize nested bullet list style.#6384
[flutter_markdown] Ensure customize nested bullet list style.#6384auto-submit[bot] merged 9 commits intoflutter:mainfrom
Conversation
domesticmouse
left a comment
There was a problem hiding this comment.
PTAL @stuartmorgan
CI will not pass without completing these steps; that's why |
|
I've updated them (I'm new to contribute this package, so I'm not sure this versioning is correct). |
|
@domesticmouse This is a breaking change isn't it? |
Do we follow SemVer in these packages? If we do, then yeah it is. |
|
So should I increase the minor version? |
We're generally stricter than that. No breaking changes, we would deprecate this method and add a new one. I'm not sure if that's the policy for this package. @stuartmorgan will know. |
That's for platform interface packages. For regular packages we can do breaking changes (with a corresponding major version bump), but we generally evaluate the importance of the use case and whether we need to do it with a breaking change or there is a less disruptive option. |
Right.
@Kurogoma4D That should be fine. I think change is worth the breaking change. You should also make a note in the changelog about what this pr breaks https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#changelog |
| typedef MarkdownBulletBuilder = Widget Function( | ||
| int index, | ||
| BulletStyle style, | ||
| int nestLevel, |
There was a problem hiding this comment.
I haven't done a full review here, but I assume the breaking change is that we're adding a parameter to a method that package clients need to implement?
If so, it would be better to make the breaking change replace it with a parameter object, so that next time it doesn't need a breaking change.
There was a problem hiding this comment.
I agree.
Which is better to use class or record, as a parameter object here?
There was a problem hiding this comment.
Adding a field to a record later would be breaking (since it changes the type), so it needs to be a class to get the benefit.
|
@domesticmouse @stuartmorgan |
domesticmouse
left a comment
There was a problem hiding this comment.
PTAL @stuartmorgan
|
Kurogoma4D, I think I've resolved the conflicts appropriately, please check. @tarrinneal @stuartmorgan PTAL |
|
@domesticmouse Thanks, LGTM :) |
flutter/packages@0e3809d...88a3a56 2024-04-19 stuartmorgan@google.com [camera] Convert iOS Obj-C->Dart calls to Pigeon (flutter/packages#6568) 2024-04-19 highdro0479@gmail.com [flutter_markdown] Ensure customize nested bullet list style. (flutter/packages#6384) 2024-04-18 stuartmorgan@google.com [ci] Add more dev dependency checks, and fix errors (flutter/packages#6563) 2024-04-18 engine-flutter-autoroll@skia.org Roll Flutter from 3882afb to fb110b9 (56 revisions) (flutter/packages#6565) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter/packages@0e3809d...88a3a56 2024-04-19 stuartmorgan@google.com [camera] Convert iOS Obj-C->Dart calls to Pigeon (flutter/packages#6568) 2024-04-19 highdro0479@gmail.com [flutter_markdown] Ensure customize nested bullet list style. (flutter/packages#6384) 2024-04-18 stuartmorgan@google.com [ci] Add more dev dependency checks, and fix errors (flutter/packages#6563) 2024-04-18 engine-flutter-autoroll@skia.org Roll Flutter from 3882afb to fb110b9 (56 revisions) (flutter/packages#6565) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
See flutter/flutter#145670 .
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.