diff --git a/packages/container/angel_container_generator/CHANGELOG.md b/packages/container/angel_container_generator/CHANGELOG.md index be1678e5..841d1904 100644 --- a/packages/container/angel_container_generator/CHANGELOG.md +++ b/packages/container/angel_container_generator/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 7.1.0 + +* Require Dart >= 2.18 +* Upgraded `relectable` to 4.x.x + ## 7.0.0 * Require Dart >= 2.17 diff --git a/packages/container/angel_container_generator/pubspec.yaml b/packages/container/angel_container_generator/pubspec.yaml index 0cf8fef7..be706e84 100644 --- a/packages/container/angel_container_generator/pubspec.yaml +++ b/packages/container/angel_container_generator/pubspec.yaml @@ -1,13 +1,13 @@ name: angel3_container_generator -version: 7.0.0 +version: 7.1.0 description: Codegen support for using pkg:reflectable with pkg:angel3_container. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/container/angel_container_generator environment: - sdk: '>=2.17.0 <3.0.0' + sdk: '>=2.18.0 <3.0.0' dependencies: angel3_container: ^7.0.0 - reflectable: ^3.0.4 + reflectable: ^4.0.2 dev_dependencies: build_runner: ^2.1.2 build_test: ^2.1.3 diff --git a/packages/html/test/all_test.dart b/packages/html/test/all_test.dart index 585c05a5..05d72ec7 100644 --- a/packages/html/test/all_test.dart +++ b/packages/html/test/all_test.dart @@ -2,7 +2,6 @@ import 'package:angel3_framework/angel3_framework.dart'; import 'package:angel3_html/angel3_html.dart'; import 'package:angel3_test/angel3_test.dart'; import 'package:belatuk_html_builder/elements.dart'; -import 'package:belatuk_html_builder/belatuk_html_builder.dart'; import 'package:test/test.dart'; void main() { diff --git a/packages/jael/angel_jael/lib/angel3_jael.dart b/packages/jael/angel_jael/lib/angel3_jael.dart index 540f971b..187d0c45 100644 --- a/packages/jael/angel_jael/lib/angel3_jael.dart +++ b/packages/jael/angel_jael/lib/angel3_jael.dart @@ -108,7 +108,7 @@ Future _loadViewTemplate(Directory viewsDirectory, String name, sourceUrl: file.uri, asDSX: asDSX, onError: errors.add); if (doc == null) { - throw ArgumentError(file.basename + " does not exists"); + throw ArgumentError("${file.basename} does not exists"); } try { @@ -118,7 +118,7 @@ Future _loadViewTemplate(Directory viewsDirectory, String name, // Ignore these errors, so that we can show syntax errors. } if (processed == null) { - throw ArgumentError(file.basename + " does not exists"); + throw ArgumentError("${file.basename} does not exists"); } return processed; } diff --git a/packages/jael/jael/lib/src/ast/error.dart b/packages/jael/jael/lib/src/ast/error.dart index f931a126..0d730127 100644 --- a/packages/jael/jael/lib/src/ast/error.dart +++ b/packages/jael/jael/lib/src/ast/error.dart @@ -10,8 +10,7 @@ class JaelError extends Error { @override String toString() { var label = severity == JaelErrorSeverity.warning ? 'warning' : 'error'; - return '$label: ${span.start.toolString}: $message\n' + - span.highlight(color: true); + return '$label: ${span.start.toolString}: $message\n${span.highlight(color: true)}'; } } diff --git a/packages/jael/jael/lib/src/renderer.dart b/packages/jael/jael/lib/src/renderer.dart index 0057fdd1..f48d4df8 100644 --- a/packages/jael/jael/lib/src/renderer.dart +++ b/packages/jael/jael/lib/src/renderer.dart @@ -64,11 +64,7 @@ class Renderer { '$type: ${error.span.start.toolString}: ${error.message}') ..writeln('
') ..writeln( - '' + - htmlEscape - .convert(error.span.highlight(color: false)) - .replaceAll('\n', '
') + - '
', + '${htmlEscape.convert(error.span.highlight(color: false)).replaceAll('\n', '
')}
', ) ..outdent() ..writeln(''); diff --git a/packages/jael/jael_web/example/stateful.g.dart b/packages/jael/jael_web/example/stateful.g.dart index 545b82c6..fbf0816c 100644 --- a/packages/jael/jael_web/example/stateful.g.dart +++ b/packages/jael/jael_web/example/stateful.g.dart @@ -8,7 +8,9 @@ part of 'stateful.dart'; abstract class _StatefulAppJaelTemplate implements Component<_AppState> { //Timer? get _timer; + @override void beforeDestroy(); + @override DomNode render() { return h('div', {}, [text('Tick count: '), text(state.ticks.toString())]); diff --git a/packages/jael/jael_web/example/using_components.g.dart b/packages/jael/jael_web/example/using_components.g.dart index fc8ff454..db2bfcba 100644 --- a/packages/jael/jael_web/example/using_components.g.dart +++ b/packages/jael/jael_web/example/using_components.g.dart @@ -25,11 +25,10 @@ abstract class _LabeledInputJaelTemplate implements Component { h('b', {}, [text(name.toString()), text(':')]) ]), h('br', {}, []), - h('input', { - 'name': name, - 'placeholder': "Enter " + name! + "...", - 'type': "text" - }, []) + h( + 'input', + {'name': name, 'placeholder': "Enter ${name!}...", 'type': "text"}, + []) ]); } } diff --git a/packages/orm/angel_orm_generator/CHANGELOG.md b/packages/orm/angel_orm_generator/CHANGELOG.md index 701bba6d..18c18242 100644 --- a/packages/orm/angel_orm_generator/CHANGELOG.md +++ b/packages/orm/angel_orm_generator/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 7.1.1 + +* Temporily fixed `analyzer` to 5.2.0 to resolve undocumented breaking changes in 5.3.1. + ## 7.1.0 * [Breaking] Require Dart >= 2.18 diff --git a/packages/orm/angel_orm_generator/pubspec.yaml b/packages/orm/angel_orm_generator/pubspec.yaml index f08c156b..f63b059f 100644 --- a/packages/orm/angel_orm_generator/pubspec.yaml +++ b/packages/orm/angel_orm_generator/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_orm_generator -version: 7.1.0 +version: 7.1.1 description: Code generators for Angel3 ORM. Generates query builder classes. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_generator @@ -10,7 +10,7 @@ dependencies: angel3_serialize: ^7.0.0 angel3_orm: ^7.0.0 angel3_serialize_generator: ^7.1.0 - analyzer: ^5.0.0 + analyzer: 5.2.0 inflection3: ^0.5.3+1 build: ^2.0.1 build_config: ^1.0.0