From 82b78fdaef24783bc160eea6c9b8bf6a023fca22 Mon Sep 17 00:00:00 2001 From: "thomashii@dukefirehawk.com" Date: Sat, 27 May 2023 10:08:51 +0800 Subject: [PATCH] Updated to support dart 3 --- CHANGELOG.md | 15 ++++++++ packages/auth_oauth2/pubspec.yaml | 2 + packages/file_service/CHANGELOG.md | 4 ++ packages/file_service/pubspec.yaml | 36 +++++++++--------- packages/jinja/CHANGELOG.md | 4 ++ packages/jinja/pubspec.yaml | 58 ++++++++++++++--------------- packages/markdown/pubspec.yaml | 58 ++++++++++++++--------------- packages/mongo/pubspec.yaml | 40 ++++++++++---------- packages/mustache/CHANGELOG.md | 4 ++ packages/mustache/pubspec.yaml | 36 +++++++++--------- packages/oauth2/pubspec.yaml | 2 + packages/proxy/CHANGELOG.md | 4 ++ packages/proxy/pubspec.yaml | 60 +++++++++++++++--------------- packages/redis/CHANGELOG.md | 4 ++ packages/redis/pubspec.yaml | 36 +++++++++--------- 15 files changed, 201 insertions(+), 162 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6acea485..c64749a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,21 @@ * Updated: angel3_orm_test * Updated: angel3_orm_cache * Updated: angel3_orm_cors +* Updated: angel3_mustache +* Updated: angel3_proxy +* Updated: angel3_redis +* Updated: angel3_oauth2 (issue: oauth2 don't support http 1.0.0) +* Updated: angel3_markdown (issue: markdown don't support file 7.0.0) +* Updated: angel3_auth_oauth2 (issue: oauth2 don't support http 1.0.0) +* Updated: angel3_mongo (issue: mongo_dart don't support http 1.0.0) +* Updated: angel3_jinja (issue: 2 errors) +* Updated: angel3_user_agent (todo) +* Updated: angel3_sync (todo) +* Updated: angel3_shelf (todo) +* Updated: angel3_sembast (todo) +* Updated: angel3_security (todo) +* Updated: angel3_seo (todo) +* Updated: angel3_auth_twitter (todo) ## 7.0.0 diff --git a/packages/auth_oauth2/pubspec.yaml b/packages/auth_oauth2/pubspec.yaml index faf812cb..453a0490 100644 --- a/packages/auth_oauth2/pubspec.yaml +++ b/packages/auth_oauth2/pubspec.yaml @@ -14,6 +14,8 @@ dev_dependencies: logging: ^1.2.0 lints: ^2.1.0 dependency_overrides: + oauth2: + path: ../../../oauth2 angel3_container: path: ../container/angel_container angel3_framework: diff --git a/packages/file_service/CHANGELOG.md b/packages/file_service/CHANGELOG.md index 7cbf6390..bb58f290 100644 --- a/packages/file_service/CHANGELOG.md +++ b/packages/file_service/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.0.0 * Require Dart >= 2.17 diff --git a/packages/file_service/pubspec.yaml b/packages/file_service/pubspec.yaml index 8c87d0c8..02380aa9 100644 --- a/packages/file_service/pubspec.yaml +++ b/packages/file_service/pubspec.yaml @@ -1,27 +1,27 @@ name: angel3_file_service -version: 7.0.0 +version: 8.0.0 description: Angel service that persists data to a file on disk, stored as a JSON list. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/file_service environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_framework: ^7.0.0 - file: ^6.1.1 + angel3_framework: ^8.0.0 + file: ^7.0.0 pool: ^1.5.0 dev_dependencies: - test: ^1.21.0 - lints: ^2.0.0 -# dependency_overrides: -# angel3_container: -# path: ../container/angel_container -# angel3_framework: -# path: ../framework -# angel3_http_exception: -# path: ../http_exception -# angel3_model: -# path: ../model -# angel3_route: -# path: ../route -# angel3_mock_request: -# path: ../mock_request + test: ^1.24.0 + lints: ^2.1.0 +dependency_overrides: + angel3_container: + path: ../container/angel_container + angel3_framework: + path: ../framework + angel3_http_exception: + path: ../http_exception + angel3_model: + path: ../model + angel3_route: + path: ../route + angel3_mock_request: + path: ../mock_request diff --git a/packages/jinja/CHANGELOG.md b/packages/jinja/CHANGELOG.md index 041043f5..08573b33 100644 --- a/packages/jinja/CHANGELOG.md +++ b/packages/jinja/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.0.0 * Require Dart >= 2.17 diff --git a/packages/jinja/pubspec.yaml b/packages/jinja/pubspec.yaml index 21db7690..ee8dd817 100644 --- a/packages/jinja/pubspec.yaml +++ b/packages/jinja/pubspec.yaml @@ -1,37 +1,37 @@ name: angel3_jinja -version: 7.0.0 +version: 8.0.0 description: A service that renders Jinja2 template into HTML view for Angel3. Ported from Python to Dart. homepage: https://github.com/dukefirehawk/angel/tree/master/packages/jinja environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_framework: ^7.0.0 - jinja: ^0.3.4 + angel3_framework: ^8.0.0 + jinja: ^0.4.2 dev_dependencies: - angel3_test: ^7.0.0 + angel3_test: ^8.0.0 path: ^1.8.0 - test: ^1.21.0 - lints: ^2.0.0 -# dependency_overrides: -# angel3_container: -# path: ../container/angel_container -# angel3_framework: -# path: ../framework -# angel3_http_exception: -# path: ../http_exception -# angel3_model: -# path: ../model -# angel3_route: -# path: ../route -# angel3_mock_request: -# path: ../mock_request -# angel3_test: -# path: ../test -# angel3_websocket: -# path: ../websocket -# angel3_client: -# path: ../client -# angel3_auth: -# path: ../auth -# angel3_validate: -# path: ../validate \ No newline at end of file + test: ^1.24.0 + lints: ^2.1.0 +dependency_overrides: + angel3_container: + path: ../container/angel_container + angel3_framework: + path: ../framework + angel3_http_exception: + path: ../http_exception + angel3_model: + path: ../model + angel3_route: + path: ../route + angel3_mock_request: + path: ../mock_request + angel3_test: + path: ../test + angel3_websocket: + path: ../websocket + angel3_client: + path: ../client + angel3_auth: + path: ../auth + angel3_validate: + path: ../validate \ No newline at end of file diff --git a/packages/markdown/pubspec.yaml b/packages/markdown/pubspec.yaml index 18e36526..9bcaeea3 100644 --- a/packages/markdown/pubspec.yaml +++ b/packages/markdown/pubspec.yaml @@ -1,38 +1,38 @@ name: angel3_markdown -version: 7.0.0 +version: 8.0.0 description: Angel3 Markdown view generator. Write static sites, with no build step. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/markdown environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_framework: ^7.0.0 + angel3_framework: ^8.0.0 file: ^6.1.2 - markdown: ^6.0.0 + markdown: ^7.1.0 dev_dependencies: - angel3_test: ^7.0.0 - lints: ^2.0.0 - test: ^1.21.0 -# dependency_overrides: -# angel3_container: -# path: ../container/angel_container -# angel3_framework: -# path: ../framework -# angel3_http_exception: -# path: ../http_exception -# angel3_model: -# path: ../model -# angel3_route: -# path: ../route -# angel3_mock_request: -# path: ../mock_request -# angel3_test: -# path: ../test -# angel3_websocket: -# path: ../websocket -# angel3_client: -# path: ../client -# angel3_auth: -# path: ../auth -# angel3_validate: -# path: ../validate \ No newline at end of file + angel3_test: ^8.0.0 + lints: ^2.1.0 + test: ^1.24.0 +dependency_overrides: + angel3_container: + path: ../container/angel_container + angel3_framework: + path: ../framework + angel3_http_exception: + path: ../http_exception + angel3_model: + path: ../model + angel3_route: + path: ../route + angel3_mock_request: + path: ../mock_request + angel3_test: + path: ../test + angel3_websocket: + path: ../websocket + angel3_client: + path: ../client + angel3_auth: + path: ../auth + angel3_validate: + path: ../validate \ No newline at end of file diff --git a/packages/mongo/pubspec.yaml b/packages/mongo/pubspec.yaml index 510da81d..c9bc6054 100644 --- a/packages/mongo/pubspec.yaml +++ b/packages/mongo/pubspec.yaml @@ -1,29 +1,29 @@ name: angel3_mongo -version: 7.0.0 +version: 8.0.0 description: MongoDB-enabled services for the Angel3 framework. Well-tested. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/mongo environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_framework: ^7.0.0 - belatuk_json_serializer: ^6.0.0 - belatuk_merge_map: ^4.0.0 + angel3_framework: ^8.0.0 + belatuk_json_serializer: ^7.0.0 + belatuk_merge_map: ^5.0.0 mongo_dart: ^0.7.0 dev_dependencies: - http: ^0.13.0 - test: ^1.21.0 - lints: ^2.0.0 -# dependency_overrides: -# angel3_container: -# path: ../container/angel_container -# angel3_framework: -# path: ../framework -# angel3_http_exception: -# path: ../http_exception -# angel3_model: -# path: ../model -# angel3_route: -# path: ../route -# angel3_mock_request: -# path: ../mock_request \ No newline at end of file + http: ^1.0.0 + test: ^1.24.0 + lints: ^2.1.0 +dependency_overrides: + angel3_container: + path: ../container/angel_container + angel3_framework: + path: ../framework + angel3_http_exception: + path: ../http_exception + angel3_model: + path: ../model + angel3_route: + path: ../route + angel3_mock_request: + path: ../mock_request \ No newline at end of file diff --git a/packages/mustache/CHANGELOG.md b/packages/mustache/CHANGELOG.md index 81a69079..e12ad86a 100644 --- a/packages/mustache/CHANGELOG.md +++ b/packages/mustache/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.0.0 * Require Dart >= 2.17 diff --git a/packages/mustache/pubspec.yaml b/packages/mustache/pubspec.yaml index 1e85a0cb..48db4c0b 100644 --- a/packages/mustache/pubspec.yaml +++ b/packages/mustache/pubspec.yaml @@ -6,24 +6,24 @@ repository: https://github.com/dukefirehawk/angel/tree/master/packages/mustache environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_framework: ^7.0.0 - file: ^6.1.2 + angel3_framework: ^8.0.0 + file: ^7.0.0 mustache_template: ^2.0.0 path: ^1.8.0 dev_dependencies: - http: ^0.13.3 - test: ^1.21.0 - lints: ^2.0.0 -# dependency_overrides: -# angel3_container: -# path: ../container/angel_container -# angel3_framework: -# path: ../framework -# angel3_http_exception: -# path: ../http_exception -# angel3_model: -# path: ../model -# angel3_route: -# path: ../route -# angel3_mock_request: -# path: ../mock_request \ No newline at end of file + http: ^1.0.0 + test: ^1.24.0 + lints: ^2.1.0 +dependency_overrides: + angel3_container: + path: ../container/angel_container + angel3_framework: + path: ../framework + angel3_http_exception: + path: ../http_exception + angel3_model: + path: ../model + angel3_route: + path: ../route + angel3_mock_request: + path: ../mock_request \ No newline at end of file diff --git a/packages/oauth2/pubspec.yaml b/packages/oauth2/pubspec.yaml index 5959f234..349163fc 100644 --- a/packages/oauth2/pubspec.yaml +++ b/packages/oauth2/pubspec.yaml @@ -19,6 +19,8 @@ dev_dependencies: test: ^1.24.0 uuid: ^3.0.0 dependency_overrides: + oauth2: + path: ../../../oauth2 angel3_container: path: ../container/angel_container angel3_framework: diff --git a/packages/proxy/CHANGELOG.md b/packages/proxy/CHANGELOG.md index f38b645f..8c7a6ec0 100644 --- a/packages/proxy/CHANGELOG.md +++ b/packages/proxy/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.0.1 * Fixed `BytesBuilder` warnings diff --git a/packages/proxy/pubspec.yaml b/packages/proxy/pubspec.yaml index b02cc0e8..4c277330 100644 --- a/packages/proxy/pubspec.yaml +++ b/packages/proxy/pubspec.yaml @@ -6,36 +6,36 @@ repository: https://github.com/dukefirehawk/angel/tree/master/packages/proxy environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_framework: ^7.0.0 - http: ^0.13.3 + angel3_framework: ^8.0.0 + http: ^1.0.0 http_parser: ^4.0.0 path: ^1.8.0 dev_dependencies: - angel3_test: ^7.0.0 - angel3_mock_request: ^7.0.0 - logging: ^1.0.1 - lints: ^2.0.0 - test: ^1.21.0 -# dependency_overrides: -# angel3_framework: -# path: ../framework -# angel3_container: -# path: ../container/angel_container -# angel3_http_exception: -# path: ../http_exception -# angel3_model: -# path: ../model -# angel3_route: -# path: ../route -# angel3_mock_request: -# path: ../mock_request -# angel3_test: -# path: ../test -# angel3_websocket: -# path: ../websocket -# angel3_client: -# path: ../client -# angel3_auth: -# path: ../auth -# angel3_validate: -# path: ../validate \ No newline at end of file + angel3_test: ^8.0.0 + angel3_mock_request: ^8.0.0 + logging: ^1.2.0 + lints: ^2.1.0 + test: ^1.24.0 +dependency_overrides: + angel3_framework: + path: ../framework + angel3_container: + path: ../container/angel_container + angel3_http_exception: + path: ../http_exception + angel3_model: + path: ../model + angel3_route: + path: ../route + angel3_mock_request: + path: ../mock_request + angel3_test: + path: ../test + angel3_websocket: + path: ../websocket + angel3_client: + path: ../client + angel3_auth: + path: ../auth + angel3_validate: + path: ../validate \ No newline at end of file diff --git a/packages/redis/CHANGELOG.md b/packages/redis/CHANGELOG.md index ff064f7f..56a9f066 100644 --- a/packages/redis/CHANGELOG.md +++ b/packages/redis/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.0.0 * Require Dart >= 2.17 diff --git a/packages/redis/pubspec.yaml b/packages/redis/pubspec.yaml index db66f0b2..2395b977 100644 --- a/packages/redis/pubspec.yaml +++ b/packages/redis/pubspec.yaml @@ -1,27 +1,27 @@ name: angel3_redis -version: 7.0.0 +version: 8.0.0 description: An Angel3 service provider for Redis. Works well for caching volatile data. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/redis environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_framework: ^7.0.0 - angel3_http_exception: ^7.0.0 + angel3_framework: ^8.0.0 + angel3_http_exception: ^8.0.0 resp_client: ^1.2.0 dev_dependencies: - test: ^1.21.0 - lints: ^2.0.0 -# dependency_overrides: -# angel3_framework: -# path: ../framework -# angel3_container: -# path: ../container/angel_container -# angel3_http_exception: -# path: ../http_exception -# angel3_model: -# path: ../model -# angel3_route: -# path: ../route -# angel3_mock_request: -# path: ../mock_request \ No newline at end of file + test: ^1.24.0 + lints: ^2.1.0 +dependency_overrides: + angel3_framework: + path: ../framework + angel3_container: + path: ../container/angel_container + angel3_http_exception: + path: ../http_exception + angel3_model: + path: ../model + angel3_route: + path: ../route + angel3_mock_request: + path: ../mock_request \ No newline at end of file