Updated to support dart 3

This commit is contained in:
thomashii@dukefirehawk.com 2023-05-27 15:38:50 +08:00
parent f2c9ab23eb
commit 7f3eba8538
15 changed files with 225 additions and 202 deletions

View file

@ -39,18 +39,18 @@
* Updated: angel3_mustache * Updated: angel3_mustache
* Updated: angel3_proxy * Updated: angel3_proxy
* Updated: angel3_redis * Updated: angel3_redis
* Updated: angel3_jinja
* Updated: angel3_security
* Updated: angel3_user_agent
* Updated: angel3_seo
* Updated: angel3_sync
* Updated: angel3_sembast
* Updated: angel3_oauth2 (issue: oauth2 don't support http 1.0.0) * 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_auth_oauth2 (issue: oauth2 don't support http 1.0.0)
* Updated: angel3_auth_twitter (issue: oauth2 don't support http 1.0.0)
* Updated: angel3_mongo (issue: mongo_dart 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_markdown (issue: markdown don't support file 7.0.0)
* Updated: angel3_user_agent (todo) * Updated: angel3_shelf (issue: 2 failed test cases)
* 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 ## 7.0.0

View file

@ -1,33 +1,33 @@
name: "angel3_auth_twitter" name: "angel3_auth_twitter"
description: Angel3 authentication strategy for Twitter login. Auto-signs requests. description: Angel3 authentication strategy for Twitter login. Auto-signs requests.
version: 7.0.0 version: 8.0.0
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/auth_twitter repository: https://github.com/dukefirehawk/angel/tree/master/packages/auth_twitter
publish_to: none publish_to: none
environment: environment:
sdk: ">=2.17.0 <3.0.0" sdk: ">=3.0.0 <4.0.0"
dependencies: dependencies:
angel3_auth: ^7.0.0 angel3_auth: ^8.0.0
angel3_framework: ^7.0.0 angel3_framework: ^8.0.0
http: ^0.13.0 http: ^1.0.0
path: ^1.0.0 path: ^1.0.0
oauth1: ^2.0.0 oauth1: ^2.0.0
dart_twitter_api: ^0.5.6+1 dart_twitter_api: ^0.5.6+1
dev_dependencies: dev_dependencies:
logging: ^1.0.0 logging: ^1.2.0
lints: ^1.0.0 lints: ^2.1.0
# dependency_overrides: dependency_overrides:
# angel3_container: angel3_container:
# path: ../container/angel_container path: ../container/angel_container
# angel3_framework: angel3_framework:
# path: ../framework path: ../framework
# angel3_http_exception: angel3_http_exception:
# path: ../http_exception path: ../http_exception
# angel3_model: angel3_model:
# path: ../model path: ../model
# angel3_route: angel3_route:
# path: ../route path: ../route
# angel3_mock_request: angel3_mock_request:
# path: ../mock_request path: ../mock_request
# angel3_auth: angel3_auth:
# path: ../auth path: ../auth

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 8.0.0
* Require Dart >= 3.0
## 7.0.0 ## 7.0.0
* Require Dart >= 2.17 * Require Dart >= 2.17

View file

@ -1,48 +1,48 @@
name: angel3_security name: angel3_security
version: 7.0.0 version: 8.0.0
description: Angel3 infrastructure for improving security, rate limiting, and more description: Angel3 infrastructure for improving security, rate limiting, and more
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/security repository: https://github.com/dukefirehawk/angel/tree/master/packages/security
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
angel3_framework: ^7.0.0 angel3_framework: ^8.0.0
crypto: ^3.0.1 crypto: ^3.0.1
dev_dependencies: dev_dependencies:
angel3_auth: ^7.0.0 angel3_auth: ^8.0.0
angel3_production: ^7.0.0 angel3_production: ^8.0.0
angel3_redis: ^7.0.0 angel3_redis: ^8.0.0
angel3_test: ^7.0.0 angel3_test: ^8.0.0
angel3_validate: ^7.0.0 angel3_validate: ^8.0.0
belatuk_pretty_logging: ^5.0.0 belatuk_pretty_logging: ^6.0.0
test: ^1.21.0 test: ^1.24.0
logging: ^1.0.0 logging: ^1.2.0
resp_client: ^1.2.0 resp_client: ^1.2.0
lints: ^2.0.0 lints: ^2.1.0
# dependency_overrides: dependency_overrides:
# angel3_production: angel3_production:
# path: ../production path: ../production
# angel3_redis: angel3_redis:
# path: ../redis path: ../redis
# angel3_test: angel3_test:
# path: ../test path: ../test
# angel3_container: angel3_container:
# path: ../container/angel_container path: ../container/angel_container
# angel3_framework: angel3_framework:
# path: ../framework path: ../framework
# angel3_http_exception: angel3_http_exception:
# path: ../http_exception path: ../http_exception
# angel3_model: angel3_model:
# path: ../model path: ../model
# angel3_route: angel3_route:
# path: ../route path: ../route
# angel3_mock_request: angel3_mock_request:
# path: ../mock_request path: ../mock_request
# angel3_auth: angel3_auth:
# path: ../auth path: ../auth
# angel3_client: angel3_client:
# path: ../client path: ../client
# angel3_websocket: angel3_websocket:
# path: ../websocket path: ../websocket
# angel3_validate: angel3_validate:
# path: ../validate path: ../validate

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 8.0.0
* Require Dart >= 3.0
## 7.0.0 ## 7.0.0
* Require Dart >= 2.17 * Require Dart >= 2.17

View file

@ -1,28 +1,28 @@
name: angel3_sembast name: angel3_sembast
version: 7.0.0 version: 8.0.0
description: A plugin service that persist data to Sembast for Angel3 framework. description: A plugin service that persist data to Sembast for Angel3 framework.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/sembast repository: https://github.com/dukefirehawk/angel/tree/master/packages/sembast
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
angel3_framework: ^7.0.0 angel3_framework: ^8.0.0
sembast: ^3.1.1 sembast: ^3.1.1
dev_dependencies: dev_dependencies:
angel3_http_exception: ^7.0.0 angel3_http_exception: ^8.0.0
logging: ^1.0.1 logging: ^1.2.0
lints: ^2.0.0 lints: ^2.1.0
test: ^1.21.0 test: ^1.24.0
# dependency_overrides: dependency_overrides:
# angel3_framework: angel3_framework:
# path: ../framework path: ../framework
# angel3_container: angel3_container:
# path: ../container/angel_container path: ../container/angel_container
# angel3_http_exception: angel3_http_exception:
# path: ../http_exception path: ../http_exception
# angel3_model: angel3_model:
# path: ../model path: ../model
# angel3_route: angel3_route:
# path: ../route path: ../route
# angel3_mock_request: angel3_mock_request:
# path: ../mock_request path: ../mock_request

View file

@ -1,6 +1,5 @@
import 'dart:collection'; import 'dart:collection';
import 'package:angel3_framework/angel3_framework.dart'; import 'package:angel3_framework/angel3_framework.dart';
import 'package:angel3_http_exception/angel3_http_exception.dart';
import 'package:angel3_sembast/angel3_sembast.dart'; import 'package:angel3_sembast/angel3_sembast.dart';
import 'package:sembast/sembast.dart'; import 'package:sembast/sembast.dart';
import 'package:sembast/sembast_io.dart'; import 'package:sembast/sembast_io.dart';

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 8.0.0
* Require Dart >= 3.0
## 7.0.0 ## 7.0.0
* Require Dart >= 2.17 * Require Dart >= 2.17

View file

@ -1,44 +1,44 @@
name: angel3_seo name: angel3_seo
version: 7.0.0 version: 8.0.0
description: Helper infrastructure for building SEO-friendly Web backends in Angel3. description: Helper infrastructure for building SEO-friendly Web backends in Angel3.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/seo repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/seo
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
angel3_framework: ^7.0.0 angel3_framework: ^8.0.0
angel3_static: ^7.0.0 angel3_static: ^8.0.0
file: ^6.1.2 file: ^7.0.0
html: ^0.15.0 html: ^0.15.0
http_parser: ^4.0.0 http_parser: ^4.0.0
path: ^1.8.0 path: ^1.8.0
dev_dependencies: dev_dependencies:
angel3_test: ^7.0.0 angel3_test: ^8.0.0
logging: ^1.0.1 logging: ^1.2.0
test: ^1.21.0 test: ^1.24.0
lints: ^2.0.0 lints: ^2.1.0
# dependency_overrides: dependency_overrides:
# angel3_static: angel3_static:
# path: ../static path: ../static
# angel3_websocket: angel3_websocket:
# path: ../websocket path: ../websocket
# angel3_container: angel3_container:
# path: ../container/angel_container path: ../container/angel_container
# angel3_framework: angel3_framework:
# path: ../framework path: ../framework
# angel3_http_exception: angel3_http_exception:
# path: ../http_exception path: ../http_exception
# angel3_model: angel3_model:
# path: ../model path: ../model
# angel3_route: angel3_route:
# path: ../route path: ../route
# angel3_mock_request: angel3_mock_request:
# path: ../mock_request path: ../mock_request
# angel3_auth: angel3_auth:
# path: ../auth path: ../auth
# angel3_client: angel3_client:
# path: ../client path: ../client
# angel3_test: angel3_test:
# path: ../test path: ../test
# angel3_validate: angel3_validate:
# path: ../validate path: ../validate

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 8.0.0
* Require Dart >= 3.0
## 7.0.0-beta.2 ## 7.0.0-beta.2
* Fixed `BytesBuilder` warnings * Fixed `BytesBuilder` warnings

View file

@ -1,46 +1,46 @@
name: angel3_shelf name: angel3_shelf
version: 7.0.0-beta.2 version: 8.0.0
description: Shelf interop with Angel3. Use this to wrap existing server code. description: Shelf interop with Angel3. Use this to wrap existing server code.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/shelf repository: https://github.com/dukefirehawk/angel/tree/master/packages/shelf
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
angel3_framework: ^7.0.0 angel3_framework: ^8.0.0
angel3_container: ^7.0.0 angel3_container: ^8.0.0
angel3_mock_request: ^7.0.0 angel3_mock_request: ^8.0.0
path: ^1.8.0 path: ^1.8.0
shelf: ^1.3.0 shelf: ^1.3.0
stream_channel: ^2.1.0 stream_channel: ^2.1.0
logging: ^1.0.0 logging: ^1.2.0
charcode: ^1.3.0 charcode: ^1.3.0
http: ^0.13.0 http: ^1.0.0
dev_dependencies: dev_dependencies:
angel3_test: ^7.0.0 angel3_test: ^8.0.0
belatuk_pretty_logging: ^5.0.0 belatuk_pretty_logging: ^6.0.0
shelf_static: ^1.1.0 shelf_static: ^1.1.0
test: ^1.21.0 test: ^1.24.0
lints: ^2.0.0 lints: ^2.1.0
# dependency_overrides: dependency_overrides:
# angel3_test: angel3_test:
# path: ../test path: ../test
# angel3_container: angel3_container:
# path: ../container/angel_container path: ../container/angel_container
# angel3_framework: angel3_framework:
# path: ../framework path: ../framework
# angel3_http_exception: angel3_http_exception:
# path: ../http_exception path: ../http_exception
# angel3_model: angel3_model:
# path: ../model path: ../model
# angel3_route: angel3_route:
# path: ../route path: ../route
# angel3_mock_request: angel3_mock_request:
# path: ../mock_request path: ../mock_request
# angel3_auth: angel3_auth:
# path: ../auth path: ../auth
# angel3_client: angel3_client:
# path: ../client path: ../client
# angel3_websocket: angel3_websocket:
# path: ../websocket path: ../websocket
# angel3_validate: angel3_validate:
# path: ../validate path: ../validate

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 8.0.0
* Require Dart >= 3.0
## 7.0.0 ## 7.0.0
* Require Dart >= 2.17 * Require Dart >= 2.17

View file

@ -1,39 +1,39 @@
name: angel3_sync name: angel3_sync
version: 7.0.0 version: 8.0.0
description: Easily synchronize and scale WebSockets using belatuk_pub_sub in Angel3. description: Easily synchronize and scale WebSockets using belatuk_pub_sub in Angel3.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/sync repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/sync
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
angel3_framework: ^7.0.0 angel3_framework: ^8.0.0
angel3_websocket: ^7.0.0 angel3_websocket: ^8.0.0
belatuk_pub_sub: ^5.0.0 belatuk_pub_sub: ^6.0.0
stream_channel: ^2.1.0 stream_channel: ^2.1.0
dev_dependencies: dev_dependencies:
angel3_test: ^7.0.0 angel3_test: ^8.0.0
test: ^1.21.0 test: ^1.24.0
lints: ^2.0.0 lints: ^2.1.0
# dependency_overrides: dependency_overrides:
# angel3_websocket: angel3_websocket:
# path: ../websocket path: ../websocket
# angel3_container: angel3_container:
# path: ../container/angel_container path: ../container/angel_container
# angel3_framework: angel3_framework:
# path: ../framework path: ../framework
# angel3_http_exception: angel3_http_exception:
# path: ../http_exception path: ../http_exception
# angel3_model: angel3_model:
# path: ../model path: ../model
# angel3_route: angel3_route:
# path: ../route path: ../route
# angel3_mock_request: angel3_mock_request:
# path: ../mock_request path: ../mock_request
# angel3_auth: angel3_auth:
# path: ../auth path: ../auth
# angel3_client: angel3_client:
# path: ../client path: ../client
# angel3_test: angel3_test:
# path: ../test path: ../test
# angel3_validate: angel3_validate:
# path: ../validate path: ../validate

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 8.0.0
* Require Dart >= 3.0
## 7.0.0-beta.1 ## 7.0.0-beta.1
* Require Dart >= 2.17 * Require Dart >= 2.17

View file

@ -1,24 +1,24 @@
name: angel3_user_agent name: angel3_user_agent
version: 7.0.0-beta.1 version: 8.0.0
description: Angel3 middleware to parse and inject a User Agent object into requests. description: Angel3 middleware to parse and inject a User Agent object into requests.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/user_agent/angel_user_agent repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/user_agent/angel_user_agent
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
angel3_framework: ^7.0.0 angel3_framework: ^8.0.0
user_agent_analyzer: ^3.0.0 user_agent_analyzer: ^5.0.0
lints: ^2.0.0 lints: ^2.1.0
# dependency_overrides: dependency_overrides:
# angel3_container: angel3_container:
# path: ../../container/angel_container path: ../../container/angel_container
# angel3_http_exception: angel3_http_exception:
# path: ../../http_exception path: ../../http_exception
# angel3_model: angel3_model:
# path: ../../model path: ../../model
# angel3_route: angel3_route:
# path: ../../route path: ../../route
# angel3_mock_request: angel3_mock_request:
# path: ../../mock_request path: ../../mock_request
# angel3_framework: angel3_framework:
# path: ../../framework path: ../../framework