singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.53k stars 812 forks source link

Breaking changes of version 11.0.0 #2260

Open EchoEllet opened 1 day ago

EchoEllet commented 1 day ago

This issue will document the breaking changes that are planned for 11.0.0

The new major version should not be released without discussing it first, introducing all of our breaking changes at once, major versions give us the opportunity to clean a lot of issues so it should be used to clean up as much as we can, versions such as 7.0.0 and 10.0.0 almost didn't introduce much of breaking changes.

7.0.0 only cleaned some minor code that shouldn't be exposed directly and 10.0.0 introduced due to the project structure refactoring which wasn't a breaking change for many users.

This issue will be updated as we plan. All breaking changes should be planned here instead of discussing them in different issues.

CatHood0 commented 21 hours ago

I propose that we should and need to refactor files that contain several classes that are only used internally.

If you want to see what the problem is with this you can take a look at: editor, text_line, text_block, proxy, default_styles, etc. There are many files of this style that we can perfectly divide into different files (making this avoid creating files with more than 1000 lines that are not always easy to debug)