Updated to Dart 3

This commit is contained in:
Thomas Hii 2023-05-20 15:37:23 +00:00
parent 22d3c29857
commit c96454fab1
47 changed files with 55 additions and 47 deletions

View file

@ -1,5 +1,5 @@
{
"image": "dart:2.19",
"image": "dart:3.0",
"features": {
}
}

View file

@ -21,7 +21,7 @@ jobs:
- uses: dart-lang/setup-dart@v1
with:
sdk: "2.19.6"
sdk: "3.0.0"
- id: angel3_container_upgrade
name: angel3_container; Upgrade depedencies
@ -87,7 +87,7 @@ jobs:
- uses: dart-lang/setup-dart@v1
with:
sdk: "2.19.6"
sdk: "3.0.0"
# Angel3 ORM
- id: angel3_orm_upgrade

View file

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

View file

@ -3,7 +3,7 @@ version: 1.0.0
description: Angel3 performance testing tool
publish_to: none
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
published_to: none
dependencies:
mysql1: ^0.20.0

View file

@ -3,7 +3,7 @@ version: 1.0.0
description: Angel3 performance testing tool
publish_to: none
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
published_to: none
dependencies:
http: ^0.13.4

View file

@ -3,7 +3,7 @@ version: 1.0.0
description: Angel3 performance testing tool
publish_to: none
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
published_to: none
dependencies:
http: ^0.13.4

View file

@ -4,7 +4,7 @@ version: 7.0.1
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/auth
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
charcode: ^1.2.0

View file

@ -4,7 +4,7 @@ description: Angel3 library for authenticating users with external identity prov
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/auth_oauth2
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_auth: ^7.0.0
angel3_framework: ^7.0.0

View file

@ -4,7 +4,7 @@ description: A service that provides HTTP caching to the response data for Angel
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/cache
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
collection: ^1.15.0

View file

@ -4,7 +4,7 @@ description: A browser, mobile and command line based client that supports query
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/client
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_http_exception: ^7.0.0
belatuk_json_serializer: ^6.0.0

View file

@ -4,7 +4,7 @@ description: Automatic YAML application configuration loader for Angel 3, with .
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/configuration
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
belatuk_merge_map: ^4.0.0

View file

@ -4,7 +4,7 @@ description: Angel3 CORS middleware. Ported from expressjs/cors to Angel3 framew
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/cors
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
dev_dependencies:

View file

@ -4,7 +4,7 @@ description: Angel service that persists data to a file on disk, stored as a JSO
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/file_service
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
file: ^6.1.1

View file

@ -4,7 +4,7 @@ description: Supports hot reloading/hot code push of Angel3 servers on file chan
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/hot
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
angel3_websocket: ^7.0.0

View file

@ -4,7 +4,7 @@ description: Support for rendering html_builder AST's as responses in Angel.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/html_builder
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
belatuk_html_builder: ^4.0.0

View file

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

View file

@ -1,9 +1,9 @@
name: angel3_http_exception
version: 7.0.0
version: 8.0.0
description: Exception class that can be serialized to JSON and serialized to clients.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/http_exception
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dev_dependencies:
lints: ^2.0.0

View file

@ -4,7 +4,7 @@ description: Angel support for the Jael templating engine, similar to Blade or L
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/angel_jael
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
jael3: ^7.0.0

View file

@ -4,7 +4,7 @@ description: A simple server-side HTML templating engine for Dart. Comparable t
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
args: ^2.0.0
charcode: ^1.0.0

View file

@ -4,7 +4,7 @@ description: Language Server Protocol implementation for the Jael templating eng
homepage: https://github.com/angel-dart/vscode
publish_to: none
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
args: ^2.1.1
# dart_language_server: ^0.1.16

View file

@ -4,7 +4,7 @@ description: A pre-processor for resolving blocks and includes within Jael templ
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael_preprocessor
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
file: ^6.1.0
jael3: ^7.0.0

View file

@ -3,7 +3,7 @@ version: 7.1.1
description: Experimental virtual DOM/SPA engine built on Jael3. Supports SSR.
publish_to: none
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
analyzer: ^5.0.0
build: ^2.0.2

View file

@ -3,7 +3,7 @@ version: 7.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: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
jinja: ^0.3.4

View file

@ -4,7 +4,7 @@ description: Angel3 Markdown view generator. Write static sites, with no build s
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/markdown
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
file: ^6.1.2

View file

@ -4,7 +4,7 @@ description: Manufacture dart:io HttpRequests, HttpResponses, HttpHeaders, etc.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/mock_request
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
charcode: ^1.2.0
dev_dependencies:

View file

@ -4,6 +4,6 @@ description: Angel3 basic data model class, no longer with the added weight of t
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/model
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dev_dependencies:
lints: ^2.0.0

View file

@ -4,7 +4,7 @@ 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: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
belatuk_json_serializer: ^6.0.0

View file

@ -4,7 +4,7 @@ description: A service that renders Mustache template into HTML view for Angel3
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/mustache
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
file: ^6.1.2

View file

@ -4,7 +4,7 @@ description: A class containing handlers that can be used within Angel to build
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/oauth2
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
angel3_http_exception: ^7.0.0

View file

@ -4,7 +4,7 @@ description: Command-line based database migration runner for Angel3's ORM.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_migration_runner
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_migration: ^7.0.0
angel3_orm: ^7.0.0

View file

@ -4,7 +4,7 @@ description: Service implementation that wraps over Angel3 ORM Query classes.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_service
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
angel3_orm: ^7.0.0

View file

@ -4,7 +4,7 @@ description: Platform-agnostic pagination library, with custom support for the A
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/paginate
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
dev_dependencies:

View file

@ -4,7 +4,7 @@ description: Helpers for concurrency, message-passing, rotating loggers, and oth
homepage: https://angel3-framework.web.app
repository: https://github.com/dukefirehawk/angel/tree/master/packages/production
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_container: ^7.0.0
angel3_framework: ^7.0.0

View file

@ -4,7 +4,7 @@ description: Angel middleware to forward requests to another server (i.e. pub se
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/proxy
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
http: ^0.13.3

View file

@ -4,7 +4,7 @@ description: An Angel3 service provider for Redis. Works well for caching volati
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/redis
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
angel3_http_exception: ^7.0.0

View file

@ -4,7 +4,7 @@ description: A powerful, isomorphic routing library for Dart. It is mainly used
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/route
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
belatuk_combinator: ^4.0.0
string_scanner: ^1.1.0

View file

@ -4,7 +4,7 @@ description: Angel3 infrastructure for improving security, rate limiting, and mo
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/security
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
crypto: ^3.0.1

View file

@ -4,7 +4,7 @@ description: A plugin service that persist data to Sembast for Angel3 framework.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/sembast
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
sembast: ^3.1.1

View file

@ -4,7 +4,7 @@ description: Helper infrastructure for building SEO-friendly Web backends in Ang
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/seo
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
angel3_static: ^7.0.0

View file

@ -4,7 +4,7 @@ description: Static annotations powering Angel3 model serialization. Combine wit
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/serialize/angel_serialize
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_model: ^7.0.0
collection: ^1.15.0

View file

@ -4,7 +4,7 @@ description: Shelf interop with Angel3. Use this to wrap existing server code.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/shelf
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
angel3_container: ^7.0.0

View file

@ -4,7 +4,7 @@ description: This library provides a virtual directory to serve static files for
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/static
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
belatuk_range_header: ^5.0.0

View file

@ -4,7 +4,7 @@ description: Easily synchronize and scale WebSockets using belatuk_pub_sub in An
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/sync
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
angel3_websocket: ^7.0.0

View file

@ -4,7 +4,7 @@ description: Testing utility library for the Angel3 framework. Use with package:
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/test
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_client: ^7.0.0
angel3_framework: ^7.0.0

View file

@ -4,7 +4,7 @@ description: Angel3 middleware to parse and inject a User Agent object into requ
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/user_agent/angel_user_agent
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
user_agent_analyzer: ^3.0.0

View file

@ -4,7 +4,7 @@ version: 7.0.1
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/validate
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_framework: ^7.0.0
angel3_http_exception: ^7.0.0

View file

@ -4,7 +4,7 @@ description: This library provides WebSockets support for Angel3 framework.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/websocket
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
angel3_auth: ^7.0.0
angel3_client: ^7.0.0