diff --git a/packages/hot/CHANGELOG.md b/packages/hot/CHANGELOG.md index bab11244..907ab87b 100644 --- a/packages/hot/CHANGELOG.md +++ b/packages/hot/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 8.2.0 + +* Updated `lints` to 3.0.0 +* Updated `vm_service` to 14.0.0 +* Fixed linter warnings + ## 8.1.0 * Updated `vm_service` to 13.0.0 diff --git a/packages/hot/pubspec.yaml b/packages/hot/pubspec.yaml index 4fb942d6..2b0fd207 100644 --- a/packages/hot/pubspec.yaml +++ b/packages/hot/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_hot -version: 8.1.0 +version: 8.2.0 description: Supports hot reloading/hot code push of Angel3 servers on file changes. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/hot @@ -7,18 +7,18 @@ environment: sdk: '>=3.0.0 <4.0.0' dependencies: angel3_framework: ^8.2.0 - angel3_websocket: ^8.0.0 - belatuk_html_builder: ^5.0.0 + angel3_websocket: ^8.1.0 + belatuk_html_builder: ^5.1.0 charcode: ^1.3.0 glob: ^2.1.0 io: ^1.0.0 - path: ^1.8.0 - vm_service: ^13.0.0 + path: ^1.9.0 + vm_service: ^14.0.0 watcher: ^1.0.0 logging: ^1.2.0 dev_dependencies: http: ^1.0.0 - lints: ^2.1.0 + lints: ^3.0.0 #dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/jael/angel_jael/mono_pkg.yaml b/packages/jael/angel_jael/mono_pkg.yaml deleted file mode 100644 index e69de29b..00000000 diff --git a/packages/jael/angel_jael/pubspec.yaml b/packages/jael/angel_jael/pubspec.yaml index 8e7849fd..fc691e26 100644 --- a/packages/jael/angel_jael/pubspec.yaml +++ b/packages/jael/angel_jael/pubspec.yaml @@ -9,8 +9,8 @@ dependencies: angel3_framework: ^8.0.0 jael3: ^8.0.0 jael3_preprocessor: ^8.0.0 - belatuk_code_buffer: ^5.0.0 - belatuk_symbol_table: ^5.0.0 + belatuk_code_buffer: ^5.1.0 + belatuk_symbol_table: ^5.1.0 file: ^7.0.0 logging: ^1.2.0 dev_dependencies: diff --git a/packages/jael/jael/pubspec.yaml b/packages/jael/jael/pubspec.yaml index ad066692..591fa26a 100644 --- a/packages/jael/jael/pubspec.yaml +++ b/packages/jael/jael/pubspec.yaml @@ -8,8 +8,8 @@ environment: dependencies: args: ^2.4.0 charcode: ^1.3.0 - belatuk_code_buffer: ^5.0.0 - belatuk_symbol_table: ^5.0.0 + belatuk_code_buffer: ^5.1.0 + belatuk_symbol_table: ^5.1.0 source_span: ^1.10.0 string_scanner: ^1.2.0 collection: ^1.17.0 diff --git a/packages/jael/jael_preprocessor/pubspec.yaml b/packages/jael/jael_preprocessor/pubspec.yaml index 8e299268..ff133082 100644 --- a/packages/jael/jael_preprocessor/pubspec.yaml +++ b/packages/jael/jael_preprocessor/pubspec.yaml @@ -8,10 +8,10 @@ environment: dependencies: file: ^7.0.0 jael3: ^8.0.0 - belatuk_symbol_table: ^5.0.0 + belatuk_symbol_table: ^5.1.0 collection: ^1.17.0 dev_dependencies: - belatuk_code_buffer: ^5.0.0 + belatuk_code_buffer: ^5.1.0 test: ^1.24.0 lints: ^3.0.0 # dependency_overrides: diff --git a/packages/jael/jael_web/CHANGELOG.md b/packages/jael/jael_web/CHANGELOG.md index 29cc7e1a..dd5ed3f4 100644 --- a/packages/jael/jael_web/CHANGELOG.md +++ b/packages/jael/jael_web/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 8.2.0 + +* Updated `lints` to 3.0.0 +* Fixed linter warnings + ## 8.1.0 * Upgraded to `analyzer` 6.2.x diff --git a/packages/jael/jael_web/pubspec.yaml b/packages/jael/jael_web/pubspec.yaml index 1e4f5692..63fbc0ee 100644 --- a/packages/jael/jael_web/pubspec.yaml +++ b/packages/jael/jael_web/pubspec.yaml @@ -1,5 +1,5 @@ name: jael3_web -version: 8.1.0 +version: 8.2.0 description: Experimental virtual DOM/SPA engine built on Jael3. Supports SSR. publish_to: none environment: @@ -17,7 +17,7 @@ dependencies: dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 - lints: ^2.1.0 + lints: ^3.0.0 # dependency_overrides: # jael3: # path: ../jael diff --git a/packages/production/CHANGELOG.md b/packages/production/CHANGELOG.md index 99f627e3..7d2419bb 100644 --- a/packages/production/CHANGELOG.md +++ b/packages/production/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 8.2.0 + +* Updated `lints` to 3.0.0 +* Updated `intl` to 0.19.0 +* Fixed linter warnings + ## 8.1.0 * Added optional `responseHeaders` and `removeResponseHeaders` to `Runner` diff --git a/packages/production/pubspec.yaml b/packages/production/pubspec.yaml index 5884daf8..1a06e54b 100644 --- a/packages/production/pubspec.yaml +++ b/packages/production/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_production -version: 8.1.0 +version: 8.2.0 description: Helpers for concurrency, message-passing, rotating loggers, and other production functionality in Angel3. homepage: https://angel3-framework.web.app repository: https://github.com/dukefirehawk/angel/tree/master/packages/production @@ -8,13 +8,13 @@ environment: dependencies: angel3_container: ^8.0.0 angel3_framework: ^8.2.0 - belatuk_pub_sub: ^6.0.0 + belatuk_pub_sub: ^6.1.0 args: ^2.4.0 io: ^1.0.0 logging: ^1.2.0 - intl: ^0.18.0 + intl: ^0.19.0 dev_dependencies: - lints: ^2.1.0 + lints: ^3.0.0 #dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/serialize/angel_serialize/CHANGELOG.md b/packages/serialize/angel_serialize/CHANGELOG.md index 26b8a2c6..44eea0fa 100644 --- a/packages/serialize/angel_serialize/CHANGELOG.md +++ b/packages/serialize/angel_serialize/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 8.1.0 + +* Updated `lints` to 3.0.0 +* Fixed linter warnings + ## 8.0.0 * Require Dart >= 3.0 diff --git a/packages/serialize/angel_serialize/lib/angel3_serialize.dart b/packages/serialize/angel_serialize/lib/angel3_serialize.dart index 577219e7..cba003a6 100644 --- a/packages/serialize/angel_serialize/lib/angel3_serialize.dart +++ b/packages/serialize/angel_serialize/lib/angel3_serialize.dart @@ -6,11 +6,8 @@ export 'package:quiver/core.dart' show hashObjects; /// Excludes a field from being excluded. class Exclude extends SerializableField { - const Exclude({bool canDeserialize = false, bool canSerialize = false}) - : super( - exclude: true, - canDeserialize: canDeserialize, - canSerialize: canSerialize); + const Exclude({super.canDeserialize, super.canSerialize}) + : super(exclude: true); } /// No longer necessary, as this is the default. diff --git a/packages/serialize/angel_serialize/pubspec.yaml b/packages/serialize/angel_serialize/pubspec.yaml index 114fcf2a..26f556b7 100644 --- a/packages/serialize/angel_serialize/pubspec.yaml +++ b/packages/serialize/angel_serialize/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_serialize -version: 8.0.0 +version: 8.1.0 description: Static annotations powering Angel3 model serialization. Combine with angel3_serialize_generator for flexible modeling. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/serialize/angel_serialize @@ -11,7 +11,7 @@ dependencies: meta: ^1.9.0 quiver: ^3.2.0 dev_dependencies: - lints: ^2.1.0 + lints: ^3.0.0 # dependency_overrides: # angel3_model: # path: ../../model diff --git a/packages/serialize/angel_serialize_generator/CHANGELOG.md b/packages/serialize/angel_serialize_generator/CHANGELOG.md index 4baa88e3..b042d900 100644 --- a/packages/serialize/angel_serialize_generator/CHANGELOG.md +++ b/packages/serialize/angel_serialize_generator/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 8.2.0 + +* Updated `lints` to 3.0.0 +* Fixed linter warnings + ## 8.1.0 * Upgraded to `analyzer` 6.2.x diff --git a/packages/serialize/angel_serialize_generator/lib/build_context.dart b/packages/serialize/angel_serialize_generator/lib/build_context.dart index fe9eb120..00f7e6b1 100644 --- a/packages/serialize/angel_serialize_generator/lib/build_context.dart +++ b/packages/serialize/angel_serialize_generator/lib/build_context.dart @@ -2,6 +2,7 @@ import 'dart:async'; import 'package:analyzer/dart/constant/value.dart'; import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer/dart/element/type.dart'; +// ignore: implementation_imports import 'package:analyzer/src/dart/element/element.dart'; import 'package:angel3_serialize/angel3_serialize.dart'; import 'package:build/build.dart'; diff --git a/packages/serialize/angel_serialize_generator/lib/model.dart b/packages/serialize/angel_serialize_generator/lib/model.dart index 3285cb5e..8588a423 100644 --- a/packages/serialize/angel_serialize_generator/lib/model.dart +++ b/packages/serialize/angel_serialize_generator/lib/model.dart @@ -1,4 +1,4 @@ -part of angel3_serialize_generator; +part of 'angel3_serialize_generator.dart'; class JsonModelGenerator extends GeneratorForAnnotation { const JsonModelGenerator(); diff --git a/packages/serialize/angel_serialize_generator/lib/serialize.dart b/packages/serialize/angel_serialize_generator/lib/serialize.dart index 9bec3a97..f7fa2328 100644 --- a/packages/serialize/angel_serialize_generator/lib/serialize.dart +++ b/packages/serialize/angel_serialize_generator/lib/serialize.dart @@ -1,4 +1,4 @@ -part of angel3_serialize_generator; +part of 'angel3_serialize_generator.dart'; class SerializerGenerator extends GeneratorForAnnotation { final bool autoSnakeCaseNames; diff --git a/packages/serialize/angel_serialize_generator/lib/typescript.dart b/packages/serialize/angel_serialize_generator/lib/typescript.dart index 45bbf304..6aebfa81 100644 --- a/packages/serialize/angel_serialize_generator/lib/typescript.dart +++ b/packages/serialize/angel_serialize_generator/lib/typescript.dart @@ -1,4 +1,4 @@ -part of angel3_serialize_generator; +part of 'angel3_serialize_generator.dart'; class TypeScriptDefinitionBuilder implements Builder { final bool autoSnakeCaseNames; diff --git a/packages/serialize/angel_serialize_generator/pubspec.yaml b/packages/serialize/angel_serialize_generator/pubspec.yaml index 571651d2..a460d709 100644 --- a/packages/serialize/angel_serialize_generator/pubspec.yaml +++ b/packages/serialize/angel_serialize_generator/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_serialize_generator -version: 8.1.0 +version: 8.2.0 description: Angel3 model serialization generators, designed for use with Angel. Combine with angel_serialize for flexible modeling. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/serialize/angel_serialize_generator @@ -9,12 +9,12 @@ dependencies: analyzer: ^6.2.0 angel3_model: ^8.0.0 angel3_serialize: ^8.0.0 - belatuk_code_buffer: ^5.0.0 + belatuk_code_buffer: ^5.1.0 build: ^2.0.1 build_config: ^1.0.0 code_builder: ^4.0.0 meta: ^1.9.0 - path: ^1.8.0 + path: ^1.9.0 recase: ^4.0.0 source_gen: ^1.0.0 quiver: ^3.0.1 @@ -22,7 +22,7 @@ dependencies: dev_dependencies: build_runner: ^2.0.1 collection: ^1.17.0 - lints: ^2.1.0 + lints: ^3.0.0 test: ^1.24.0 # dependency_overrides: # angel3_model: diff --git a/packages/shelf/pubspec.yaml b/packages/shelf/pubspec.yaml index dcb44e4f..5dc30da2 100644 --- a/packages/shelf/pubspec.yaml +++ b/packages/shelf/pubspec.yaml @@ -5,7 +5,7 @@ homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/shelf environment: sdk: '>=3.0.0 <4.0.0' -published_to: none +publish_to: none dependencies: angel3_framework: ^8.0.0 angel3_container: ^8.0.0 diff --git a/packages/static/CHANGELOG.md b/packages/static/CHANGELOG.md index c015113a..d676dad3 100644 --- a/packages/static/CHANGELOG.md +++ b/packages/static/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 8.1.0 + +* Updated `lints` to 3.0.0 +* Fixed linter warnings + ## 8.0.0 * Require Dart >= 3.0 diff --git a/packages/static/lib/src/cache.dart b/packages/static/lib/src/cache.dart index 7ceb62f7..733e17f3 100644 --- a/packages/static/lib/src/cache.dart +++ b/packages/static/lib/src/cache.dart @@ -28,26 +28,19 @@ class CachingVirtualDirectory extends VirtualDirectory { /// Set this to `null` to leave no `Expires` header on responses. final int maxAge; - CachingVirtualDirectory(Angel app, FileSystem fileSystem, + CachingVirtualDirectory(super.app, super.fileSystem, {this.accessLevel = CacheAccessLevel.public, - Directory? source, + super.source, bool debug = false, - Iterable indexFileNames = const ['index.html'], + super.indexFileNames, this.maxAge = 0, this.noCache = false, this.onlyInProduction = false, this.useEtags = true, - bool allowDirectoryListing = false, - bool useBuffer = false, - String publicPath = '/', - Function(File file, RequestContext req, ResponseContext res)? callback}) - : super(app, fileSystem, - source: source, - indexFileNames: indexFileNames, - publicPath: publicPath, - callback: callback, - allowDirectoryListing: allowDirectoryListing, - useBuffer: useBuffer); + super.allowDirectoryListing, + super.useBuffer, + super.publicPath, + super.callback}); @override Future serveFile( diff --git a/packages/static/pubspec.yaml b/packages/static/pubspec.yaml index db6f2692..ac425bf9 100644 --- a/packages/static/pubspec.yaml +++ b/packages/static/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_static -version: 8.0.0 +version: 8.1.0 description: This library provides a virtual directory to serve static files for Angel3 framework. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/static @@ -7,18 +7,18 @@ environment: sdk: '>=3.0.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 - belatuk_range_header: ^6.0.0 + belatuk_range_header: ^6.1.0 convert: ^3.0.0 crypto: ^3.0.1 file: ^7.0.0 http_parser: ^4.0.0 - path: ^1.8.0 + path: ^1.9.0 logging: ^1.2.0 dev_dependencies: angel3_test: ^8.0.0 http: ^1.0.0 matcher: ^0.12.10 - lints: ^2.1.0 + lints: ^3.0.0 test: ^1.24.0 # dependency_overrides: # angel3_container: diff --git a/packages/test/pubspec.yaml b/packages/test/pubspec.yaml index 035f860d..96080959 100644 --- a/packages/test/pubspec.yaml +++ b/packages/test/pubspec.yaml @@ -10,7 +10,7 @@ dependencies: angel3_framework: ^8.0.0 angel3_http_exception: ^8.0.0 angel3_validate: ^8.0.0 - angel3_websocket: ^8.0.0 + angel3_websocket: ^8.1.0 angel3_mock_request: ^8.0.0 angel3_container: ^8.0.0 http: ^1.0.0