From 685419eea6d7a94f40c09a326e9d28a664a06841 Mon Sep 17 00:00:00 2001 From: Thomas Hii Date: Tue, 21 May 2024 23:08:07 +0800 Subject: [PATCH] Updated to min dart sdk 3.3 --- packages/body_parser/CHANGELOG.md | 7 +++++++ packages/body_parser/pubspec.yaml | 8 ++++---- packages/code_buffer/CHANGELOG.md | 5 +++++ packages/code_buffer/pubspec.yaml | 6 +++--- packages/combinator/CHANGELOG.md | 5 +++++ packages/combinator/pubspec.yaml | 6 +++--- packages/html_builder/CHANGELOG.md | 5 +++++ packages/html_builder/lib/src/node.dart | 3 ++- packages/html_builder/pubspec.yaml | 6 +++--- packages/json_serializer/CHANGELOG.md | 5 +++++ packages/json_serializer/pubspec.yaml | 6 +++--- packages/merge_map/pubspec.yaml | 6 +++--- packages/pretty_logging/CHANGELOG.md | 5 +++++ packages/pretty_logging/pubspec.yaml | 6 +++--- packages/pub_sub/CHANGELOG.md | 5 +++++ packages/pub_sub/pubspec.yaml | 6 +++--- packages/range_header/CHANGELOG.md | 5 +++++ packages/range_header/pubspec.yaml | 6 +++--- packages/symbol_table/pubspec.yaml | 6 +++--- packages/user_agent/CHANGELOG.md | 5 +++++ packages/user_agent/pubspec.yaml | 6 +++--- pubspec.yaml | 4 ++-- 22 files changed, 85 insertions(+), 37 deletions(-) diff --git a/packages/body_parser/CHANGELOG.md b/packages/body_parser/CHANGELOG.md index ad99490..c35d909 100644 --- a/packages/body_parser/CHANGELOG.md +++ b/packages/body_parser/CHANGELOG.md @@ -1,8 +1,15 @@ # Change Log +## 5.3.0 + +* Require Dart >= 3.3 +* Updated `belatuk_http_server` to 4.4.0 +* Upgraded `lints` to 4.0.0 + ## 5.2.0 * Updated `lints` to 3.0.0 +* Updated `belatuk_http_server` to 4.2.0 ## 5.1.0 diff --git a/packages/body_parser/pubspec.yaml b/packages/body_parser/pubspec.yaml index 9301cca..8754e46 100644 --- a/packages/body_parser/pubspec.yaml +++ b/packages/body_parser/pubspec.yaml @@ -1,14 +1,14 @@ name: belatuk_body_parser -version: 5.2.0 +version: 5.3.0 description: Parse request bodies and query strings in Dart. Supports JSON, URL-encoded, and multi-part bodies. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/body_parser environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: http_parser: ^4.0.0 - belatuk_http_server: ^4.1.0 + belatuk_http_server: ^4.4.0 mime: ^1.0.0 dev_dependencies: http: ^1.0.0 test: ^1.24.0 - lints: ^3.0.0 \ No newline at end of file + lints: ^4.0.0 \ No newline at end of file diff --git a/packages/code_buffer/CHANGELOG.md b/packages/code_buffer/CHANGELOG.md index fffa3d8..862f40e 100644 --- a/packages/code_buffer/CHANGELOG.md +++ b/packages/code_buffer/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 5.2.0 + +* Require Dart >= 3.3 +* Upgraded `lints` to 4.0.0 + ## 5.1.0 * Updated `lints` to 3.0.0 diff --git a/packages/code_buffer/pubspec.yaml b/packages/code_buffer/pubspec.yaml index 1829173..de7162e 100644 --- a/packages/code_buffer/pubspec.yaml +++ b/packages/code_buffer/pubspec.yaml @@ -1,12 +1,12 @@ name: belatuk_code_buffer -version: 5.1.0 +version: 5.2.0 description: An advanced StringBuffer geared toward generating code, and source maps. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/code_buffer environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: charcode: ^1.2.0 source_span: ^1.8.1 dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/packages/combinator/CHANGELOG.md b/packages/combinator/CHANGELOG.md index 8a1ff95..f05c1a9 100644 --- a/packages/combinator/CHANGELOG.md +++ b/packages/combinator/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 5.2.0 + +* Require Dart >= 3.0 +* Upgraded `lints` to 4.0.0 + ## 5.1.0 * Updated `lints` to 3.0.0 diff --git a/packages/combinator/pubspec.yaml b/packages/combinator/pubspec.yaml index 9d36a6f..b54cfd4 100644 --- a/packages/combinator/pubspec.yaml +++ b/packages/combinator/pubspec.yaml @@ -1,9 +1,9 @@ name: belatuk_combinator -version: 5.1.0 +version: 5.2.0 description: Packrat parser combinators that support static typing, generics, file spans, memoization, and more. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/combinator environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: belatuk_code_buffer: ^5.0.0 matcher: ^0.12.10 @@ -12,4 +12,4 @@ dependencies: tuple: ^2.0.0 dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 \ No newline at end of file + lints: ^4.0.0 \ No newline at end of file diff --git a/packages/html_builder/CHANGELOG.md b/packages/html_builder/CHANGELOG.md index 3376d6e..562ef59 100644 --- a/packages/html_builder/CHANGELOG.md +++ b/packages/html_builder/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 5.2.0 + +* Require Dart >= 3.0 +* Upgraded `lints` to 4.0.0 + ## 5.1.0 * Updated `lints` to 3.0.0 diff --git a/packages/html_builder/lib/src/node.dart b/packages/html_builder/lib/src/node.dart index e77447a..8e3cae4 100644 --- a/packages/html_builder/lib/src/node.dart +++ b/packages/html_builder/lib/src/node.dart @@ -54,7 +54,8 @@ class SelfClosingNode extends Node { @override List get children => List.unmodifiable([]); - SelfClosingNode(tagName, [Map attributes = const {}]) + // ignore: use_super_parameters + SelfClosingNode(String tagName, [Map attributes = const {}]) : super._selfClosing(tagName, attributes); } diff --git a/packages/html_builder/pubspec.yaml b/packages/html_builder/pubspec.yaml index 44b8e9f..80fc76b 100644 --- a/packages/html_builder/pubspec.yaml +++ b/packages/html_builder/pubspec.yaml @@ -1,12 +1,12 @@ name: belatuk_html_builder -version: 5.1.0 +version: 5.2.0 description: Build HTML AST's and render them to HTML. This can be used as an internal DSL, i.e. for a templating engine. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/html_builder environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: collection: ^1.17.0 dev_dependencies: html: ^0.15.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/packages/json_serializer/CHANGELOG.md b/packages/json_serializer/CHANGELOG.md index 33ac891..a23a57f 100644 --- a/packages/json_serializer/CHANGELOG.md +++ b/packages/json_serializer/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 7.2.0 + +* Require Dart >= 3.0 +* Upgraded `lints` to 4.0.0 + ## 7.1.0 * Updated `lints` to 3.0.0 diff --git a/packages/json_serializer/pubspec.yaml b/packages/json_serializer/pubspec.yaml index ff6c33e..f87f3fc 100644 --- a/packages/json_serializer/pubspec.yaml +++ b/packages/json_serializer/pubspec.yaml @@ -1,12 +1,12 @@ name: belatuk_json_serializer -version: 7.1.0 +version: 7.2.0 description: Easy JSON to Object serialization and deserialization in Dart. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/json_serializer environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: logging: ^1.0.1 dev_dependencies: stack_trace: ^1.10.0 test: ^1.24.0 - lints: ^3.0.0 \ No newline at end of file + lints: ^4.0.0 \ No newline at end of file diff --git a/packages/merge_map/pubspec.yaml b/packages/merge_map/pubspec.yaml index d5b6b5c..3cb3a46 100644 --- a/packages/merge_map/pubspec.yaml +++ b/packages/merge_map/pubspec.yaml @@ -1,9 +1,9 @@ name: belatuk_merge_map -version: 5.1.0 +version: 5.2.0 description: Combine multiple Maps into one. Equivalent to Object.assign in JS. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/merge_map environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/packages/pretty_logging/CHANGELOG.md b/packages/pretty_logging/CHANGELOG.md index e135d46..b256e1f 100644 --- a/packages/pretty_logging/CHANGELOG.md +++ b/packages/pretty_logging/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 6.2.0 + +* Require Dart >= 3.0 +* Upgraded `lints` to 4.0.0 + ## 6.1.0 * Updated `lints` to 3.0.0 diff --git a/packages/pretty_logging/pubspec.yaml b/packages/pretty_logging/pubspec.yaml index 33b4456..4733adc 100644 --- a/packages/pretty_logging/pubspec.yaml +++ b/packages/pretty_logging/pubspec.yaml @@ -1,12 +1,12 @@ name: belatuk_pretty_logging -version: 6.1.0 +version: 6.2.0 description: Standalone helper for colorful logging output, using pkg:io AnsiCode. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/pretty_logging environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: io: ^1.0.0 logging: ^1.0.1 dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/packages/pub_sub/CHANGELOG.md b/packages/pub_sub/CHANGELOG.md index ddad207..23c0207 100644 --- a/packages/pub_sub/CHANGELOG.md +++ b/packages/pub_sub/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 6.3.0 + +* Require Dart >= 3.0 +* Upgraded `lints` to 4.0.0 + ## 6.2.0 * Updated `lints` to 3.0.0 diff --git a/packages/pub_sub/pubspec.yaml b/packages/pub_sub/pubspec.yaml index 1b22f2d..aa94897 100644 --- a/packages/pub_sub/pubspec.yaml +++ b/packages/pub_sub/pubspec.yaml @@ -1,9 +1,9 @@ name: belatuk_pub_sub -version: 6.2.0 +version: 6.3.0 description: Keep application instances in sync with a simple pub/sub API. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/pub_sub environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: json_rpc_2: ^3.0.0 stream_channel: ^2.1.0 @@ -11,4 +11,4 @@ dependencies: collection: ^1.17.0 dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/packages/range_header/CHANGELOG.md b/packages/range_header/CHANGELOG.md index 72d51e4..e204646 100644 --- a/packages/range_header/CHANGELOG.md +++ b/packages/range_header/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 6.3.0 + +* Require Dart >= 3.0 +* Upgraded `lints` to 4.0.0 + ## 6.2.0 * Updated `lints` to 3.0.0 diff --git a/packages/range_header/pubspec.yaml b/packages/range_header/pubspec.yaml index fff44d9..40dc204 100644 --- a/packages/range_header/pubspec.yaml +++ b/packages/range_header/pubspec.yaml @@ -1,9 +1,9 @@ name: belatuk_range_header -version: 6.2.0 +version: 6.3.0 description: Range header parser for Dart. Beyond parsing, a stream transformer is included. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/range_header environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: async: ^2.11.0 charcode: ^1.3.0 @@ -15,4 +15,4 @@ dev_dependencies: http_parser: ^4.0.0 logging: ^1.0.1 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/packages/symbol_table/pubspec.yaml b/packages/symbol_table/pubspec.yaml index f12b11e..5d480f7 100644 --- a/packages/symbol_table/pubspec.yaml +++ b/packages/symbol_table/pubspec.yaml @@ -1,11 +1,11 @@ name: belatuk_symbol_table -version: 5.1.0 +version: 5.2.0 description: A generic symbol table implementation in Dart, with support for scopes and constants. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/symbol_table environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: collection: ^1.17.0 dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/packages/user_agent/CHANGELOG.md b/packages/user_agent/CHANGELOG.md index 0f0954f..4474f21 100644 --- a/packages/user_agent/CHANGELOG.md +++ b/packages/user_agent/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 5.2.0 + +* Require Dart >= 3.0 +* Upgraded `lints` to 4.0.0 + ## 5.1.0 * Updated `lints` to 3.0.0 diff --git a/packages/user_agent/pubspec.yaml b/packages/user_agent/pubspec.yaml index 9ab9ffc..48959f0 100644 --- a/packages/user_agent/pubspec.yaml +++ b/packages/user_agent/pubspec.yaml @@ -1,9 +1,9 @@ name: user_agent_analyzer -version: 5.1.0 +version: 5.2.0 description: A library to identify the type of devices and web browsers based on User-Agent string. homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/user_agent environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/pubspec.yaml b/pubspec.yaml index 9d28025..09f4512 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: belatuk_common_utilities_workspace environment: - sdk: '>=2.18.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dev_dependencies: - melos: ^3.0.0 + melos: ^6.0.0