pull/1566/head v9.0.0-dev-1
Ellet 1 year ago
parent e3a706cc4f
commit 8d6a180d28
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 6
      .github/workflows/publish.yml
  2. 10
      CHANGELOG.md
  3. 1633
      flutter_quill_extensions/CHANGELOG.md
  4. 4
      flutter_quill_extensions/pubspec.yaml
  5. 1583
      flutter_quill_test/CHANGELOG.md
  6. 4
      flutter_quill_test/pubspec.yaml
  7. 1
      lib/src/models/config/quill_shared_configurations.dart
  8. 1
      lib/src/widgets/editor/editor.dart
  9. 1
      lib/src/widgets/toolbar/buttons/link_style.dart
  10. 1
      lib/src/widgets/toolbar/buttons/link_style2.dart
  11. 1
      lib/src/widgets/toolbar/buttons/search/search.dart
  12. 1588
      packages/quill_html_converter/CHANGELOG.md
  13. 4
      packages/quill_html_converter/pubspec.yaml
  14. 2
      pubspec.yaml
  15. 25
      scripts/regenerate_versions.dart
  16. 2
      version.dart

@ -43,12 +43,12 @@ jobs:
- name: Publish flutter_quill_extensions - name: Publish flutter_quill_extensions
run: flutter pub publish --force run: flutter pub publish --force
working-directory: ./flutter_quill_extensions working-directory: ./flutter_quill_extensions/
- name: Publish flutter_quill_test - name: Publish flutter_quill_test
run: flutter pub publish --force run: flutter pub publish --force
working-directory: ./flutter_quill_test working-directory: ./flutter_quill_test/
- name: Publish quill_html_converter - name: Publish quill_html_converter
run: flutter pub publish --force run: flutter pub publish --force
working-directory: ./packages/quill_html_converter working-directory: ./packages/quill_html_converter/

@ -2,8 +2,18 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## 9.0.0-dev-1
* An attemp to fix CI automated publishing
## 9.0.0-dev ## 9.0.0-dev
* **Major Breaking change**: The `QuillProvider` is now optional, the `controller` parameter has been moved to the `QuillEditor` and `QuillToolbar` once again. * **Major Breaking change**: The `QuillProvider` is now optional, the `controller` parameter has been moved to the `QuillEditor` and `QuillToolbar` once again.
* Flutter Quill Extensions;
* **Breaking Change**: Completly change the way how the source code structured to more basic and simple way, organize folders and file names, if you use the library
from `flutter_quill_extensions.dart` then there is nothing you need to do, but if you are using any other import then you need to re-imports
embed, this won't affect how quill js work
* Improvemenets to the image embed
* Add support for `margin` for web
* Add untranslated strings to the `quill_en.arb`
## 8.6.4 ## 8.6.4
* The default value of `keyboardAppearance` for the iOS will be the one from the App/System theme mode instead of always using the `Brightness.light` * The default value of `keyboardAppearance` for the iOS will be the one from the App/System theme mode instead of always using the `Brightness.light`

File diff suppressed because it is too large Load Diff

@ -1,6 +1,6 @@
name: flutter_quill_extensions name: flutter_quill_extensions
description: Embed extensions for flutter_quill including image, video, formula and etc. description: Embed extensions for flutter_quill including image, video, formula and etc.
version: 9.0.0-dev version: 9.0.0-dev-1
homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/ homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/
repository: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/ repository: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/
issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/
@ -35,7 +35,7 @@ dependencies:
universal_html: ^2.2.4 universal_html: ^2.2.4
cross_file: ^0.3.3+6 cross_file: ^0.3.3+6
flutter_quill: ^8.6.0 flutter_quill: ^9.0.0-dev
photo_view: ^0.14.0 photo_view: ^0.14.0
# Plugins # Plugins

File diff suppressed because it is too large Load Diff

@ -1,6 +1,6 @@
name: flutter_quill_test name: flutter_quill_test
description: Test utilities for flutter_quill which includes methods to simplify interacting with the editor in test cases. description: Test utilities for flutter_quill which includes methods to simplify interacting with the editor in test cases.
version: 9.0.0-dev version: 9.0.0-dev-1
homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/ homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/
repository: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/ repository: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/
issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/
@ -28,7 +28,7 @@ environment:
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
flutter_quill: ^8.2.5 flutter_quill: ^9.0.0-dev
flutter_test: flutter_test:
sdk: flutter sdk: flutter

@ -3,7 +3,6 @@ import 'package:flutter/material.dart' show Color, Colors, Locale;
import '../themes/quill_dialog_theme.dart'; import '../themes/quill_dialog_theme.dart';
import './editor/configurations.dart' show QuillEditorConfigurations; import './editor/configurations.dart' show QuillEditorConfigurations;
import 'others/animations.dart';
import 'toolbar/toolbar_configurations.dart' show QuillToolbarConfigurations; import 'toolbar/toolbar_configurations.dart' show QuillToolbarConfigurations;
export './others/animations.dart'; export './others/animations.dart';

@ -8,7 +8,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart'; import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import '../../extensions/quill_provider.dart';
import '../../l10n/widgets/localizations.dart'; import '../../l10n/widgets/localizations.dart';
import '../../models/config/editor/configurations.dart'; import '../../models/config/editor/configurations.dart';
import '../../models/config/raw_editor/configurations.dart'; import '../../models/config/raw_editor/configurations.dart';

@ -10,7 +10,6 @@ import '../../../models/themes/quill_dialog_theme.dart';
import '../../../models/themes/quill_icon_theme.dart'; import '../../../models/themes/quill_icon_theme.dart';
import '../../controller.dart'; import '../../controller.dart';
import '../../link.dart'; import '../../link.dart';
import '../../utils/provider.dart';
import '../base_toolbar.dart'; import '../base_toolbar.dart';
class QuillToolbarLinkStyleButton extends StatefulWidget { class QuillToolbarLinkStyleButton extends StatefulWidget {

@ -12,7 +12,6 @@ import '../../../models/themes/quill_dialog_theme.dart';
import '../../../models/themes/quill_icon_theme.dart'; import '../../../models/themes/quill_icon_theme.dart';
import '../../controller.dart'; import '../../controller.dart';
import '../../link.dart'; import '../../link.dart';
import '../../utils/provider.dart';
import '../base_toolbar.dart'; import '../base_toolbar.dart';
/// Alternative version of [QuillToolbarLinkStyleButton]. This widget has more /// Alternative version of [QuillToolbarLinkStyleButton]. This widget has more

@ -6,7 +6,6 @@ import '../../../../l10n/widgets/localizations.dart';
import '../../../../models/themes/quill_dialog_theme.dart'; import '../../../../models/themes/quill_dialog_theme.dart';
import '../../../../models/themes/quill_icon_theme.dart'; import '../../../../models/themes/quill_icon_theme.dart';
import '../../../controller.dart'; import '../../../controller.dart';
import '../../../utils/provider.dart';
import '../../base_toolbar.dart'; import '../../base_toolbar.dart';
class QuillToolbarSearchButton extends StatelessWidget { class QuillToolbarSearchButton extends StatelessWidget {

File diff suppressed because it is too large Load Diff

@ -1,6 +1,6 @@
name: quill_html_converter name: quill_html_converter
description: A extension for flutter_quill package to add support for dealing with conversion to/from html description: A extension for flutter_quill package to add support for dealing with conversion to/from html
version: 0.0.1-experimental.1 version: 9.0.0-dev-1
homepage: https://github.com/singerdmx/flutter-quill/tree/master/packages/quill_html_converter/ homepage: https://github.com/singerdmx/flutter-quill/tree/master/packages/quill_html_converter/
repository: https://github.com/singerdmx/flutter-quill/tree/master/packages/quill_html_converter/ repository: https://github.com/singerdmx/flutter-quill/tree/master/packages/quill_html_converter/
issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/
@ -20,7 +20,7 @@ environment:
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
flutter_quill: ^8.5.1 flutter_quill: ^9.0.0-dev
vsc_quill_delta_to_html: ^1.0.3 vsc_quill_delta_to_html: ^1.0.3
html2md: ^1.3.1 html2md: ^1.3.1
# markdown: ^7.1.1 # markdown: ^7.1.1

@ -1,6 +1,6 @@
name: flutter_quill name: flutter_quill
description: A rich text editor built for the modern Android, iOS, web and desktop platforms. It is the WYSIWYG editor and a Quill component for Flutter. description: A rich text editor built for the modern Android, iOS, web and desktop platforms. It is the WYSIWYG editor and a Quill component for Flutter.
version: 9.0.0-dev version: 9.0.0-dev-1
homepage: https://1o24bbs.com/c/bulletjournal/108/ homepage: https://1o24bbs.com/c/bulletjournal/108/
repository: https://github.com/singerdmx/flutter-quill/ repository: https://github.com/singerdmx/flutter-quill/
issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/

@ -1,3 +1,5 @@
// ignore_for_file: avoid_print
import 'dart:io' show File; import 'dart:io' show File;
import 'package:yaml_edit/yaml_edit.dart'; import 'package:yaml_edit/yaml_edit.dart';
@ -8,10 +10,18 @@ import 'package:yaml_edit/yaml_edit.dart';
import '../version.dart'; import '../version.dart';
Future<void> main(List<String> args) async { Future<void> main(List<String> args) async {
await updatePubspecYamlFile('./pubspec.yaml'); final packages = [
await updatePubspecYamlFile('./flutter_quill_extensions/pubspec.yaml'); './',
await updatePubspecYamlFile('./flutter_quill_test/pubspec.yaml'); './flutter_quill_extensions',
await updatePubspecYamlFile('./packages/quill_html_converter/pubspec.yaml'); './flutter_quill_test',
'./packages/quill_html_converter'
];
for (final element in packages) {
await updatePubspecYamlFile('$element/pubspec.yaml');
if (element != packages.first) {
updateChangelogMD(element);
}
}
} }
Future<void> updatePubspecYamlFile(String path) async { Future<void> updatePubspecYamlFile(String path) async {
@ -19,6 +29,11 @@ Future<void> updatePubspecYamlFile(String path) async {
final yaml = await file.readAsString(); final yaml = await file.readAsString();
final yamlEditor = YamlEditor(yaml)..update(['version'], version); final yamlEditor = YamlEditor(yaml)..update(['version'], version);
await file.writeAsString(yamlEditor.toString()); await file.writeAsString(yamlEditor.toString());
// ignore: avoid_print
print(yamlEditor.toString()); print(yamlEditor.toString());
} }
Future<void> updateChangelogMD(String path) async {
final changeLog = await File('./CHANGELOG.md').readAsString();
final currentFile = File('$path/CHANGELOG.md');
await currentFile.writeAsString(changeLog);
}

@ -1 +1 @@
const version = '9.0.0-dev'; const version = '9.0.0-dev-1';

Loading…
Cancel
Save