Merge pull request #116 from dukefirehawk/feature/upgrade_deps
Feature/upgrade deps
This commit is contained in:
commit
c1dbc6ed8a
152 changed files with 489 additions and 333 deletions
|
@ -29,7 +29,7 @@
|
||||||
* Updated: angel3_orm
|
* Updated: angel3_orm
|
||||||
* Updated: angel3_orm_generator
|
* Updated: angel3_orm_generator
|
||||||
* Updated: angel3_migration
|
* Updated: angel3_migration
|
||||||
* Updated: angel3_migration_generator
|
* Updated: angel3_migration_runner
|
||||||
* Updated: angel3_orm_postgresql
|
* Updated: angel3_orm_postgresql
|
||||||
* Updated: angel3_orm_mysql
|
* Updated: angel3_orm_mysql
|
||||||
* Updated: angel3_orm_service
|
* Updated: angel3_orm_service
|
||||||
|
|
|
@ -59,7 +59,7 @@ For more details, checkout [Project Status](https://github.com/dukefirehawk/ange
|
||||||
|
|
||||||
### Release 8.0.0 (Current)
|
### Release 8.0.0 (Current)
|
||||||
|
|
||||||
* Updated `angel3_` packages to require dart >= 3.0.x
|
* Updated `angel3_` packages to require dart >= 3.0.0
|
||||||
* Updated dependencies to the latest
|
* Updated dependencies to the latest
|
||||||
* Resolved issues related to generated container
|
* Resolved issues related to generated container
|
||||||
|
|
||||||
|
|
2
TODO.md
2
TODO.md
|
@ -9,4 +9,4 @@
|
||||||
|
|
||||||
* Refactor Angel3 architecture for performance and security
|
* Refactor Angel3 architecture for performance and security
|
||||||
* Improve ORM features
|
* Improve ORM features
|
||||||
* Improve performances
|
* Improve HTTP performance
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: angel3_auth
|
name: angel3_auth
|
||||||
description: A complete authentication plugin for Angel3. Includes support for stateless JWT tokens, Basic Auth, and more.
|
description: A complete authentication plugin for Angel3. Includes support for stateless JWT tokens, Basic Auth, and more.
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/auth
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/auth
|
||||||
environment:
|
environment:
|
||||||
|
@ -19,7 +19,7 @@ dev_dependencies:
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
io: ^1.0.0
|
io: ^1.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_auth_oauth2
|
name: angel3_auth_oauth2
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Angel3 library for authenticating users with external identity providers via OAuth2.
|
description: Angel3 library for authenticating users with external identity providers via OAuth2.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/auth_oauth2
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/auth_oauth2
|
||||||
|
@ -12,7 +12,7 @@ dependencies:
|
||||||
oauth2: ^2.0.0
|
oauth2: ^2.0.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
logging: ^1.2.0
|
logging: ^1.2.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
* Updated `oauth1` to `belatuk_oauth1`
|
* Updated `oauth1` to `belatuk_oauth1`
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 7.0.0
|
## 7.0.0
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,8 @@ import 'package:angel3_auth/angel3_auth.dart';
|
||||||
import 'package:angel3_framework/angel3_framework.dart';
|
import 'package:angel3_framework/angel3_framework.dart';
|
||||||
import 'package:http/http.dart' as http;
|
import 'package:http/http.dart' as http;
|
||||||
import 'package:path/path.dart' as p;
|
import 'package:path/path.dart' as p;
|
||||||
import 'package:oauth1/oauth1.dart' as oauth;
|
//import 'package:oauth1/oauth1.dart' as oauth;
|
||||||
|
import 'package:belatuk_oauth1/belatuk_oauth1.dart' as oauth;
|
||||||
import 'package:dart_twitter_api/twitter_api.dart';
|
import 'package:dart_twitter_api/twitter_api.dart';
|
||||||
|
|
||||||
/// Authenticates users by connecting to Twitter's API.
|
/// Authenticates users by connecting to Twitter's API.
|
||||||
|
|
|
@ -10,13 +10,14 @@ dependencies:
|
||||||
angel3_auth: ^8.0.0
|
angel3_auth: ^8.0.0
|
||||||
angel3_framework: ^8.0.0
|
angel3_framework: ^8.0.0
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
path: ^1.0.0
|
path: ^1.9.0
|
||||||
belatuk_oauth1: ^3.0.0
|
belatuk_oauth1: ^3.0.0
|
||||||
dart_twitter_api: ^0.5.6+1
|
dart_twitter_api: ^0.5.6+1
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
logging: ^1.2.0
|
logging: ^1.2.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
dependency_overrides:
|
||||||
|
http: ^1.0.0
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
# angel3_framework:
|
# angel3_framework:
|
||||||
|
|
5
packages/cache/CHANGELOG.md
vendored
5
packages/cache/CHANGELOG.md
vendored
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
4
packages/cache/pubspec.yaml
vendored
4
packages/cache/pubspec.yaml
vendored
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_cache
|
name: angel3_cache
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: A service that provides HTTP caching to the response data for Angel3
|
description: A service that provides HTTP caching to the response data for Angel3
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/cache
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/cache
|
||||||
|
@ -16,7 +16,7 @@ dev_dependencies:
|
||||||
glob: ^2.0.1
|
glob: ^2.0.1
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -48,8 +48,7 @@ class RestService<Id, Data> extends BaseAngelService<Id, Data> {
|
||||||
|
|
||||||
final Type? type;
|
final Type? type;
|
||||||
|
|
||||||
RestService(http.BaseClient client, BaseAngelClient app, url, this.type)
|
RestService(super.client, super.app, super.url, this.type);
|
||||||
: super(client, app, url);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Data? deserialize(x) {
|
Data? deserialize(x) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_client
|
name: angel3_client
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: A browser, mobile and command line based client that supports querying Angel3 servers
|
description: A browser, mobile and command line based client that supports querying Angel3 servers
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/client
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/client
|
||||||
|
@ -24,7 +24,7 @@ dev_dependencies:
|
||||||
build_runner: ^2.4.0
|
build_runner: ^2.4.0
|
||||||
build_web_compilers: ^4.0.0
|
build_web_compilers: ^4.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_configuration
|
name: angel3_configuration
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Automatic YAML application configuration loader for Angel 3, with .env support.
|
description: Automatic YAML application configuration loader for Angel 3, with .env support.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/configuration
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/configuration
|
||||||
|
@ -14,7 +14,7 @@ dependencies:
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
io: ^1.0.0
|
io: ^1.0.0
|
||||||
logging: ^1.2.0
|
logging: ^1.2.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
belatuk_pretty_logging: ^6.0.0
|
belatuk_pretty_logging: ^6.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed analyser warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_container
|
name: angel3_container
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Angel3 hierarchical DI container, and pluggable backends for reflection.
|
description: Angel3 hierarchical DI container, and pluggable backends for reflection.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/container/angel_container
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/container/angel_container
|
||||||
|
@ -10,4 +10,4 @@ dependencies:
|
||||||
quiver: ^3.2.0
|
quiver: ^3.2.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
|
@ -116,7 +116,7 @@ class Pokemon {
|
||||||
}
|
}
|
||||||
|
|
||||||
class KantoPokemon extends Pokemon {
|
class KantoPokemon extends Pokemon {
|
||||||
KantoPokemon(String name, PokemonType type) : super(name, type);
|
KantoPokemon(super.name, super.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
enum PokemonType { water, fire, grass, ice, poison, flying }
|
enum PokemonType { water, fire, grass, ice, poison, flying }
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed analyser warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
|
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
|
||||||
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/master/packages/container/angel3_container_generator/LICENSE)
|
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/master/packages/container/angel3_container_generator/LICENSE)
|
||||||
|
|
||||||
An alternative container for Angel3 that uses `reflectable` package instead of `dart:mirrors` for reflection. However, `reflectable` has much limited relfection capabilities when compared to `dart:mirrors`.
|
An alternative container for Angel3 that uses `reflectable` package instead of `dart:mirrors` for reflection. However, `reflectable` has more limited relfection capabilities when compared to `dart:mirrors`.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ An alternative container for Angel3 that uses `reflectable` package instead of `
|
||||||
|
|
||||||
## Known limitation
|
## Known limitation
|
||||||
|
|
||||||
|
* `analyser` 6.x is not supported due to `reflectable`
|
||||||
* Reflection on functions/closures is not supported
|
* Reflection on functions/closures is not supported
|
||||||
* Reflection on private declarations is not supported
|
* Reflection on private declarations is not supported
|
||||||
* Reflection on generic type is not supported
|
* Reflection on generic type is not supported
|
||||||
|
|
|
@ -426,7 +426,7 @@ final _data = <r.Reflectable, r.ReflectorData>{
|
||||||
},
|
},
|
||||||
4,
|
4,
|
||||||
10,
|
10,
|
||||||
const <int>[],
|
const <int>[15],
|
||||||
const [],
|
const [],
|
||||||
null,
|
null,
|
||||||
(o) => false,
|
(o) => false,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_container_generator
|
name: angel3_container_generator
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Codegen support for using pkg:reflectable with pkg:angel3_container.
|
description: Codegen support for using pkg:reflectable with pkg:angel3_container.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/container/angel_container_generator
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/container/angel_container_generator
|
||||||
|
@ -12,7 +12,7 @@ dev_dependencies:
|
||||||
build_runner: ^2.4.0
|
build_runner: ^2.4.0
|
||||||
build_test: ^2.1.0
|
build_test: ^2.1.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../angel_container
|
# path: ../angel_container
|
||||||
|
|
|
@ -142,7 +142,7 @@ class Pokemon {
|
||||||
|
|
||||||
@contained
|
@contained
|
||||||
class KantoPokemon extends Pokemon {
|
class KantoPokemon extends Pokemon {
|
||||||
KantoPokemon(String name, PokemonType type) : super(name, type);
|
KantoPokemon(super.name, super.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
@contained
|
@contained
|
||||||
|
|
|
@ -641,7 +641,7 @@ final _data = <r.Reflectable, r.ReflectorData>{
|
||||||
},
|
},
|
||||||
2,
|
2,
|
||||||
18,
|
18,
|
||||||
const <int>[],
|
const <int>[23],
|
||||||
const [],
|
const [],
|
||||||
null,
|
null,
|
||||||
(o) => false,
|
(o) => false,
|
||||||
|
@ -3598,7 +3598,7 @@ final _data = <r.Reflectable, r.ReflectorData>{
|
||||||
null),
|
null),
|
||||||
r.ParameterMirrorImpl(
|
r.ParameterMirrorImpl(
|
||||||
r'name',
|
r'name',
|
||||||
134348806,
|
134349830,
|
||||||
70,
|
70,
|
||||||
const prefix0.ContainedReflectable(),
|
const prefix0.ContainedReflectable(),
|
||||||
15,
|
15,
|
||||||
|
@ -3610,7 +3610,7 @@ final _data = <r.Reflectable, r.ReflectorData>{
|
||||||
null),
|
null),
|
||||||
r.ParameterMirrorImpl(
|
r.ParameterMirrorImpl(
|
||||||
r'type',
|
r'type',
|
||||||
134348806,
|
134349830,
|
||||||
70,
|
70,
|
||||||
const prefix0.ContainedReflectable(),
|
const prefix0.ContainedReflectable(),
|
||||||
6,
|
6,
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_cors
|
name: angel3_cors
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Angel3 CORS middleware. Ported from expressjs/cors to Angel3 framework.
|
description: Angel3 CORS middleware. Ported from expressjs/cors to Angel3 framework.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/cors
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/cors
|
||||||
|
@ -10,7 +10,7 @@ dependencies:
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
angel3_test: ^8.0.0
|
angel3_test: ^8.0.0
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.3.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.2.0
|
## 8.2.0
|
||||||
|
|
||||||
* Add `addResponseHeader` to `AngelHttp` to add headers to HTTP default response
|
* Add `addResponseHeader` to `AngelHttp` to add headers to HTTP default response
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'request_context.dart';
|
|
||||||
import 'response_context.dart';
|
|
||||||
import 'service.dart';
|
import 'service.dart';
|
||||||
|
|
||||||
/// An easy helper class to create one-off services without having to create an entire class.
|
/// An easy helper class to create one-off services without having to create an entire class.
|
||||||
|
@ -22,8 +20,7 @@ class AnonymousService<Id, Data> extends Service<Id, Data> {
|
||||||
FutureOr<Data> Function(Id id, Data data, [Map<String, dynamic>? params])?
|
FutureOr<Data> Function(Id id, Data data, [Map<String, dynamic>? params])?
|
||||||
update,
|
update,
|
||||||
FutureOr<Data> Function(Id id, [Map<String, dynamic>? params])? remove,
|
FutureOr<Data> Function(Id id, [Map<String, dynamic>? params])? remove,
|
||||||
FutureOr<Data> Function(RequestContext, ResponseContext)? readData})
|
super.readData}) {
|
||||||
: super(readData: readData) {
|
|
||||||
_index = index;
|
_index = index;
|
||||||
_read = read;
|
_read = read;
|
||||||
_create = create;
|
_create = create;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
part of angel_framework.http.request_context;
|
part of 'request_context.dart';
|
||||||
|
|
||||||
const List<Type> _primitiveTypes = [String, int, num, double, Null];
|
const List<Type> _primitiveTypes = [String, int, num, double, Null];
|
||||||
|
|
||||||
|
|
|
@ -141,40 +141,26 @@ class Parameter {
|
||||||
|
|
||||||
/// Shortcut for declaring a request header [Parameter].
|
/// Shortcut for declaring a request header [Parameter].
|
||||||
class Header extends Parameter {
|
class Header extends Parameter {
|
||||||
const Header(String header, {match, defaultValue, bool required = true})
|
const Header(String header, {super.match, super.defaultValue, super.required})
|
||||||
: super(
|
: super(header: header);
|
||||||
header: header,
|
|
||||||
match: match,
|
|
||||||
defaultValue: defaultValue,
|
|
||||||
required: required);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Shortcut for declaring a request session [Parameter].
|
/// Shortcut for declaring a request session [Parameter].
|
||||||
class Session extends Parameter {
|
class Session extends Parameter {
|
||||||
const Session(String session, {match, defaultValue, bool required = true})
|
const Session(String session,
|
||||||
: super(
|
{super.match, super.defaultValue, super.required})
|
||||||
session: session,
|
: super(session: session);
|
||||||
match: match,
|
|
||||||
defaultValue: defaultValue,
|
|
||||||
required: required);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Shortcut for declaring a request query [Parameter].
|
/// Shortcut for declaring a request query [Parameter].
|
||||||
class Query extends Parameter {
|
class Query extends Parameter {
|
||||||
const Query(String query, {match, defaultValue, bool required = true})
|
const Query(String query, {super.match, super.defaultValue, super.required})
|
||||||
: super(
|
: super(query: query);
|
||||||
query: query,
|
|
||||||
match: match,
|
|
||||||
defaultValue: defaultValue,
|
|
||||||
required: required);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Shortcut for declaring a request cookie [Parameter].
|
/// Shortcut for declaring a request cookie [Parameter].
|
||||||
class CookieValue extends Parameter {
|
class CookieValue extends Parameter {
|
||||||
const CookieValue(String cookie, {match, defaultValue, bool required = true})
|
const CookieValue(String cookie,
|
||||||
: super(
|
{super.match, super.defaultValue, super.required})
|
||||||
cookie: cookie,
|
: super(cookie: cookie);
|
||||||
match: match,
|
|
||||||
defaultValue: defaultValue,
|
|
||||||
required: required);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,8 +26,8 @@ class AngelHttp extends Driver<HttpRequest, HttpResponse, HttpServer,
|
||||||
scheme: 'http', host: server?.address.address, port: server?.port);
|
scheme: 'http', host: server?.address.address, port: server?.port);
|
||||||
}
|
}
|
||||||
|
|
||||||
AngelHttp._(Angel app, ServerGeneratorType serverGenerator, bool useZone)
|
AngelHttp._(super.app, super.serverGenerator, bool useZone)
|
||||||
: super(app, serverGenerator, useZone: useZone);
|
: super(useZone: useZone);
|
||||||
|
|
||||||
factory AngelHttp(Angel app, {bool useZone = true}) {
|
factory AngelHttp(Angel app, {bool useZone = true}) {
|
||||||
return AngelHttp._(app, HttpServer.bind, useZone);
|
return AngelHttp._(app, HttpServer.bind, useZone);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_framework
|
name: angel3_framework
|
||||||
version: 8.2.0
|
version: 8.3.0
|
||||||
description: A high-powered HTTP server extensible framework with dependency injection, routing and much more.
|
description: A high-powered HTTP server extensible framework with dependency injection, routing and much more.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/framework
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/framework
|
||||||
|
@ -11,9 +11,9 @@ dependencies:
|
||||||
angel3_model: ^8.0.0
|
angel3_model: ^8.0.0
|
||||||
angel3_route: ^8.0.0
|
angel3_route: ^8.0.0
|
||||||
angel3_mock_request: ^8.0.0
|
angel3_mock_request: ^8.0.0
|
||||||
belatuk_merge_map: ^5.0.0
|
belatuk_merge_map: ^5.1.0
|
||||||
belatuk_combinator: ^5.0.0
|
belatuk_combinator: ^5.1.0
|
||||||
belatuk_http_server: ^4.0.0
|
belatuk_http_server: ^4.1.0
|
||||||
charcode: ^1.3.0
|
charcode: ^1.3.0
|
||||||
file: ^7.0.0
|
file: ^7.0.0
|
||||||
http_parser: ^4.0.0
|
http_parser: ^4.0.0
|
||||||
|
@ -34,7 +34,7 @@ dev_dependencies:
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
io: ^1.0.0
|
io: ^1.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.2.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Updated `vm_service` to 14.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.1.0
|
## 8.1.0
|
||||||
|
|
||||||
* Updated `vm_service` to 13.0.0
|
* Updated `vm_service` to 13.0.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_hot
|
name: angel3_hot
|
||||||
version: 8.1.0
|
version: 8.2.0
|
||||||
description: Supports hot reloading/hot code push of Angel3 servers on file changes.
|
description: Supports hot reloading/hot code push of Angel3 servers on file changes.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/hot
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/hot
|
||||||
|
@ -7,18 +7,18 @@ environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
angel3_framework: ^8.2.0
|
angel3_framework: ^8.2.0
|
||||||
angel3_websocket: ^8.0.0
|
angel3_websocket: ^8.1.0
|
||||||
belatuk_html_builder: ^5.0.0
|
belatuk_html_builder: ^5.1.0
|
||||||
charcode: ^1.3.0
|
charcode: ^1.3.0
|
||||||
glob: ^2.1.0
|
glob: ^2.1.0
|
||||||
io: ^1.0.0
|
io: ^1.0.0
|
||||||
path: ^1.8.0
|
path: ^1.9.0
|
||||||
vm_service: ^13.0.0
|
vm_service: ^14.0.0
|
||||||
watcher: ^1.0.0
|
watcher: ^1.0.0
|
||||||
logging: ^1.2.0
|
logging: ^1.2.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
#dependency_overrides:
|
#dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
|
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
name: angel3_http_exception
|
name: angel3_http_exception
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Exception class that can be serialized to JSON and serialized to clients.
|
description: Exception class that can be serialized to JSON and serialized to clients.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/http_exception
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/http_exception
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_jael
|
name: angel3_jael
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Angel support for the Jael templating engine, similar to Blade or Liquid.
|
description: Angel support for the Jael templating engine, similar to Blade or Liquid.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/angel_jael
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/angel_jael
|
||||||
|
@ -9,15 +9,15 @@ dependencies:
|
||||||
angel3_framework: ^8.0.0
|
angel3_framework: ^8.0.0
|
||||||
jael3: ^8.0.0
|
jael3: ^8.0.0
|
||||||
jael3_preprocessor: ^8.0.0
|
jael3_preprocessor: ^8.0.0
|
||||||
belatuk_code_buffer: ^5.0.0
|
belatuk_code_buffer: ^5.1.0
|
||||||
belatuk_symbol_table: ^5.0.0
|
belatuk_symbol_table: ^5.1.0
|
||||||
file: ^7.0.0
|
file: ^7.0.0
|
||||||
logging: ^1.2.0
|
logging: ^1.2.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
angel3_test: ^8.0.0
|
angel3_test: ^8.0.0
|
||||||
html: ^0.15.0
|
html: ^0.15.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../../container/angel_container
|
# path: ../../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
part of jael.src.text.parselet;
|
part of 'parselet.dart';
|
||||||
|
|
||||||
const Map<TokenType, InfixParselet> infixParselets = {
|
const Map<TokenType, InfixParselet> infixParselets = {
|
||||||
TokenType.lParen: CallParselet(),
|
TokenType.lParen: CallParselet(),
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
part of jael.src.text.parselet;
|
part of 'parselet.dart';
|
||||||
|
|
||||||
const Map<TokenType, PrefixParselet> prefixParselets = {
|
const Map<TokenType, PrefixParselet> prefixParselets = {
|
||||||
TokenType.exclamation: NotParselet(),
|
TokenType.exclamation: NotParselet(),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: jael3
|
name: jael3
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid.
|
description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael
|
||||||
|
@ -8,14 +8,14 @@ environment:
|
||||||
dependencies:
|
dependencies:
|
||||||
args: ^2.4.0
|
args: ^2.4.0
|
||||||
charcode: ^1.3.0
|
charcode: ^1.3.0
|
||||||
belatuk_code_buffer: ^5.0.0
|
belatuk_code_buffer: ^5.1.0
|
||||||
belatuk_symbol_table: ^5.0.0
|
belatuk_symbol_table: ^5.1.0
|
||||||
source_span: ^1.10.0
|
source_span: ^1.10.0
|
||||||
string_scanner: ^1.2.0
|
string_scanner: ^1.2.0
|
||||||
collection: ^1.17.0
|
collection: ^1.17.0
|
||||||
matcher: ^0.12.10
|
matcher: ^0.12.10
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
executables:
|
executables:
|
||||||
jaelfmt: jaelfmt
|
jaelfmt: jaelfmt
|
|
@ -5,7 +5,7 @@ import 'object.dart';
|
||||||
|
|
||||||
class Analyzer extends Parser {
|
class Analyzer extends Parser {
|
||||||
final Logger logger;
|
final Logger logger;
|
||||||
Analyzer(Scanner scanner, this.logger) : super(scanner);
|
Analyzer(super.scanner, this.logger);
|
||||||
|
|
||||||
//@override
|
//@override
|
||||||
//final errors = <JaelError>[];
|
//final errors = <JaelError>[];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: jael3_language_server
|
name: jael3_language_server
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Language Server Protocol implementation for the Jael templating engine.
|
description: Language Server Protocol implementation for the Jael templating engine.
|
||||||
homepage: https://github.com/angel-dart/vscode
|
homepage: https://github.com/angel-dart/vscode
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
@ -18,7 +18,7 @@ dependencies:
|
||||||
path: ^1.8.0
|
path: ^1.8.0
|
||||||
source_span: ^1.10.0
|
source_span: ^1.10.0
|
||||||
string_scanner: ^1.2.0
|
string_scanner: ^1.2.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
stream_channel: ^2.1.0
|
stream_channel: ^2.1.0
|
||||||
async: ^2.11.0
|
async: ^2.11.0
|
||||||
executables:
|
executables:
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: jael3_preprocessor
|
name: jael3_preprocessor
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: A pre-processor for resolving blocks and includes within Jael templates.
|
description: A pre-processor for resolving blocks and includes within Jael templates.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael_preprocessor
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael_preprocessor
|
||||||
|
@ -8,12 +8,12 @@ environment:
|
||||||
dependencies:
|
dependencies:
|
||||||
file: ^7.0.0
|
file: ^7.0.0
|
||||||
jael3: ^8.0.0
|
jael3: ^8.0.0
|
||||||
belatuk_symbol_table: ^5.0.0
|
belatuk_symbol_table: ^5.1.0
|
||||||
collection: ^1.17.0
|
collection: ^1.17.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
belatuk_code_buffer: ^5.0.0
|
belatuk_code_buffer: ^5.1.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# jael3:
|
# jael3:
|
||||||
# path: ../jael
|
# path: ../jael
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.2.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.1.0
|
## 8.1.0
|
||||||
|
|
||||||
* Upgraded to `analyzer` 6.2.x
|
* Upgraded to `analyzer` 6.2.x
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: jael3_web
|
name: jael3_web
|
||||||
version: 8.1.0
|
version: 8.2.0
|
||||||
description: Experimental virtual DOM/SPA engine built on Jael3. Supports SSR.
|
description: Experimental virtual DOM/SPA engine built on Jael3. Supports SSR.
|
||||||
publish_to: none
|
publish_to: none
|
||||||
environment:
|
environment:
|
||||||
|
@ -17,7 +17,7 @@ dependencies:
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
build_runner: ^2.4.0
|
build_runner: ^2.4.0
|
||||||
build_web_compilers: ^4.0.0
|
build_web_compilers: ^4.0.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# jael3:
|
# jael3:
|
||||||
# path: ../jael
|
# path: ../jael
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.2.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.1.0
|
## 8.1.0
|
||||||
|
|
||||||
* Update `jinja` to 0.5.0
|
* Update `jinja` to 0.5.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_jinja
|
name: angel3_jinja
|
||||||
version: 8.1.0
|
version: 8.2.0
|
||||||
description: A service that renders Jinja2 template into HTML view for Angel3. Ported from Python to Dart.
|
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
|
homepage: https://github.com/dukefirehawk/angel/tree/master/packages/jinja
|
||||||
environment:
|
environment:
|
||||||
|
@ -9,9 +9,9 @@ dependencies:
|
||||||
jinja: ^0.5.0
|
jinja: ^0.5.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
angel3_test: ^8.0.0
|
angel3_test: ^8.0.0
|
||||||
path: ^1.8.0
|
path: ^1.9.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -15,8 +15,8 @@ In your `pubspec.yaml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
dependencies:
|
dependencies:
|
||||||
angel3_framework: ^6.0.0
|
angel3_framework: ^8.0.0
|
||||||
angel3_markdown: ^6.0.0
|
angel3_markdown: ^8.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
@ -33,9 +33,7 @@ configureServer(Angel app) async {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then generate HTML on-the-fly in a request handler.
|
You can then generate HTML on-the-fly in a request handler. Assuming your view directory contained a file named `hello.md`, the following would render it as an HTML response:
|
||||||
Assuming your view directory contained a file named `hello.md`, the
|
|
||||||
following would render it as an HTML response:
|
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
configureServer(Angel app) async {
|
configureServer(Angel app) async {
|
||||||
|
@ -48,9 +46,7 @@ you can easily override this.
|
||||||
|
|
||||||
## Interpolation
|
## Interpolation
|
||||||
|
|
||||||
`angel3_markdown` can interpolate the values of data from `locals` before building the Markdown.
|
`angel3_markdown` can interpolate the values of data from `locals` before building the Markdown. For example, with the following template `species.md`:
|
||||||
|
|
||||||
For example, with the following template `species.md`:
|
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
# Species: {{species.name}}
|
# Species: {{species.name}}
|
||||||
|
@ -96,10 +92,8 @@ configureServer(Angel app) async {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
The `template` function will have access to whatever values were passed to the renderer,
|
The `template` function will have access to whatever values were passed to the renderer, or an empty `Map`.
|
||||||
or an empty `Map`.
|
|
||||||
|
|
||||||
## Enhancing Markdown
|
## Enhancing Markdown
|
||||||
|
|
||||||
You can pass an `extensionSet` to add additional features to the Markdown renderer.
|
You can pass an `extensionSet` to add additional features to the Markdown renderer. By default, this plug-in configures it to enable Github-flavored Markdown.
|
||||||
By default, this plug-in configures it to enable Github-flavored Markdown.
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_markdown
|
name: angel3_markdown
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Angel3 Markdown view generator. Write static sites, with no build step.
|
description: Angel3 Markdown view generator. Write static sites, with no build step.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/markdown
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/markdown
|
||||||
|
@ -11,7 +11,7 @@ dependencies:
|
||||||
markdown: ^7.1.0
|
markdown: ^7.1.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
angel3_test: ^8.0.0
|
angel3_test: ^8.0.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_mock_request
|
name: angel3_mock_request
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Manufacture dart:io HttpRequests, HttpResponses, HttpHeaders, etc.
|
description: Manufacture dart:io HttpRequests, HttpResponses, HttpHeaders, etc.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/mock_request
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/mock_request
|
||||||
|
@ -11,7 +11,7 @@ dev_dependencies:
|
||||||
#angel3_framework: ^7.0.0
|
#angel3_framework: ^7.0.0
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_framework:
|
# angel3_framework:
|
||||||
# path: ../framework
|
# path: ../framework
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed analyser warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -11,10 +11,9 @@ class Todo extends Model {
|
||||||
bool isComplete;
|
bool isComplete;
|
||||||
|
|
||||||
Todo(
|
Todo(
|
||||||
{required String id,
|
{required String super.id,
|
||||||
this.text,
|
this.text,
|
||||||
this.isComplete = false,
|
this.isComplete = false,
|
||||||
DateTime? createdAt,
|
super.createdAt,
|
||||||
DateTime? updatedAt})
|
super.updatedAt});
|
||||||
: super(id: id, createdAt: createdAt, updatedAt: updatedAt);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
name: angel3_model
|
name: angel3_model
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Angel3 basic data model class, no longer with the added weight of the whole framework.
|
description: Angel3 basic data model class, no longer with the added weight of the whole framework.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/model
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/model
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -13,7 +13,7 @@ Add the following to your `pubspec.yaml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
dependencies:
|
dependencies:
|
||||||
angel3_mongo: ^6.0.0
|
angel3_mongo: ^8.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
@ -22,8 +22,7 @@ This library exposes one main class: `MongoService`.
|
||||||
|
|
||||||
## Model
|
## Model
|
||||||
|
|
||||||
`Model` is class with no real functionality; however, it represents a basic document, and your services should host inherited classes.
|
`Model` is class with no real functionality; however, it represents a basic document, and your services should host inherited classes. Other Angel service providers host `Model` as well, so you will easily be able to modify your application if you ever switch databases.
|
||||||
Other Angel service providers host `Model` as well, so you will easily be able to modify your application if you ever switch databases.
|
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
class User extends Model {
|
class User extends Model {
|
||||||
|
@ -51,13 +50,11 @@ This class interacts with a `DbCollection` (from mongo_dart) and serializing dat
|
||||||
|
|
||||||
You can query these services as follows:
|
You can query these services as follows:
|
||||||
|
|
||||||
```bash
|
```curl
|
||||||
/path/to/service?foo=bar
|
/path/to/service?foo=bar
|
||||||
```
|
```
|
||||||
|
|
||||||
The above will query the database to find records where 'foo' equals 'bar'.
|
The above will query the database to find records where 'foo' equals 'bar'. The former will sort result in ascending order of creation, and so will the latter.
|
||||||
|
|
||||||
The former will sort result in ascending order of creation, and so will the latter.
|
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
List queried = await MyService.index({r"$query": where.id(new ObjectId.fromHexString("some hex string"})));
|
List queried = await MyService.index({r"$query": where.id(new ObjectId.fromHexString("some hex string"})));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
part of angel3_mongo.services;
|
part of 'services.dart';
|
||||||
|
|
||||||
/// Manipulates data from MongoDB as Maps.
|
/// Manipulates data from MongoDB as Maps.
|
||||||
class MongoService extends Service<String, Map<String, dynamic>> {
|
class MongoService extends Service<String, Map<String, dynamic>> {
|
||||||
|
@ -127,13 +127,13 @@ class MongoService extends Service<String, Map<String, dynamic>> {
|
||||||
@override
|
@override
|
||||||
Future<Map<String, dynamic>> read(String id,
|
Future<Map<String, dynamic>> read(String id,
|
||||||
[Map<String, dynamic>? params]) async {
|
[Map<String, dynamic>? params]) async {
|
||||||
var _id = _makeId(id);
|
var localId = _makeId(id);
|
||||||
var found =
|
var found =
|
||||||
await collection.findOne(where.id(_id).and(_makeQuery(params)!));
|
await collection.findOne(where.id(localId).and(_makeQuery(params)!));
|
||||||
|
|
||||||
if (found == null) {
|
if (found == null) {
|
||||||
throw AngelHttpException.notFound(
|
throw AngelHttpException.notFound(
|
||||||
message: 'No record found for ID ${_id.toHexString()}');
|
message: 'No record found for ID ${localId.toHexString()}');
|
||||||
}
|
}
|
||||||
|
|
||||||
return _jsonify(found, params);
|
return _jsonify(found, params);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_mongo
|
name: angel3_mongo
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: MongoDB-enabled services for the Angel3 framework. Well-tested.
|
description: MongoDB-enabled services for the Angel3 framework. Well-tested.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/mongo
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/mongo
|
||||||
|
@ -7,13 +7,13 @@ environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
angel3_framework: ^8.0.0
|
angel3_framework: ^8.0.0
|
||||||
belatuk_json_serializer: ^7.0.0
|
belatuk_json_serializer: ^7.1.0
|
||||||
belatuk_merge_map: ^5.0.0
|
belatuk_merge_map: ^5.1.0
|
||||||
mongo_dart: ^0.9.0
|
mongo_dart: ^0.9.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -15,7 +15,7 @@ In `pubspec.yaml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
dependencies:
|
dependencies:
|
||||||
angel3_mustache: ^6.0.0
|
angel3_mustache: ^8.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_mustache
|
name: angel3_mustache
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: A service that renders Mustache template into HTML view for Angel3
|
description: A service that renders Mustache template into HTML view for Angel3
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/mustache
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/mustache
|
||||||
|
@ -13,7 +13,7 @@ dependencies:
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
|
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
|
||||||
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/master/packages/oauth2/LICENSE)
|
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/master/packages/oauth2/LICENSE)
|
||||||
|
|
||||||
A class containing handlers that can be used within [Angel](https://angel3-framework.web.app/) to build a spec-compliant
|
A class containing handlers that can be used within [Angel](https://angel3-framework.web.app/) to build a spec-compliant OAuth 2.0 server, including PKCE support.
|
||||||
OAuth 2.0 server, including PKCE support.
|
|
||||||
|
|
||||||
- [Angel3 OAuth2 Server](#angel3-oauth2-server)
|
- [Angel3 OAuth2 Server](#angel3-oauth2-server)
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
|
|
|
@ -5,12 +5,8 @@ class AuthorizationException extends AngelHttpException {
|
||||||
final ErrorResponse errorResponse;
|
final ErrorResponse errorResponse;
|
||||||
|
|
||||||
AuthorizationException(this.errorResponse,
|
AuthorizationException(this.errorResponse,
|
||||||
{StackTrace? stackTrace, int? statusCode, dynamic error})
|
{super.stackTrace, int? statusCode, super.error})
|
||||||
: super(
|
: super(message: '', statusCode: statusCode ?? 400);
|
||||||
stackTrace: stackTrace,
|
|
||||||
message: '',
|
|
||||||
error: error,
|
|
||||||
statusCode: statusCode ?? 400);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Map toJson() {
|
Map toJson() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_oauth2
|
name: angel3_oauth2
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: A class containing handlers that can be used within Angel to build a spec-compliant OAuth 2.0 server.
|
description: A class containing handlers that can be used within Angel to build a spec-compliant OAuth 2.0 server.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/oauth2
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/oauth2
|
||||||
|
@ -16,7 +16,7 @@ dev_dependencies:
|
||||||
angel3_test: ^8.0.0
|
angel3_test: ^8.0.0
|
||||||
angel3_container: ^8.0.0
|
angel3_container: ^8.0.0
|
||||||
oauth2: ^2.0.0
|
oauth2: ^2.0.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
uuid: ^4.0.0
|
uuid: ^4.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -20,14 +20,10 @@ class MigrationColumn extends Column {
|
||||||
|
|
||||||
MigrationColumn(ColumnType type,
|
MigrationColumn(ColumnType type,
|
||||||
{bool isNullable = true,
|
{bool isNullable = true,
|
||||||
int length = 255,
|
super.length,
|
||||||
IndexType indexType = IndexType.standardIndex,
|
IndexType indexType = IndexType.standardIndex,
|
||||||
dynamic defaultValue})
|
dynamic defaultValue})
|
||||||
: super(
|
: super(type: type, isNullable: isNullable, defaultValue: defaultValue) {
|
||||||
type: type,
|
|
||||||
length: length,
|
|
||||||
isNullable: isNullable,
|
|
||||||
defaultValue: defaultValue) {
|
|
||||||
_nullable = isNullable;
|
_nullable = isNullable;
|
||||||
_index = indexType;
|
_index = indexType;
|
||||||
_defaultValue = defaultValue;
|
_defaultValue = defaultValue;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_migration
|
name: angel3_migration
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Database migration runtime for Angel3 ORM. Use this package to define schemas.
|
description: Database migration runtime for Angel3 ORM. Use this package to define schemas.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_migration
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_migration
|
||||||
|
@ -8,7 +8,7 @@ environment:
|
||||||
dependencies:
|
dependencies:
|
||||||
angel3_orm: ^8.0.0
|
angel3_orm: ^8.0.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_orm:
|
# angel3_orm:
|
||||||
# path: ../angel_orm
|
# path: ../angel_orm
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
/// These are straightforward migrations.
|
|
||||||
///
|
|
||||||
/// You will likely never have to actually write these yourself.
|
|
||||||
import 'package:angel3_migration/angel3_migration.dart';
|
import 'package:angel3_migration/angel3_migration.dart';
|
||||||
|
|
||||||
class UserMigration implements Migration {
|
class UserMigration implements Migration {
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
name: angel3_migration_runner
|
name: angel3_migration_runner
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Command-line based database migration runner for Angel3's ORM.
|
description: Command-line based database migration runner for Angel3's ORM.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_migration_runner
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_migration_runner
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
|
publish_to: none
|
||||||
dependencies:
|
dependencies:
|
||||||
angel3_migration: ^8.0.0
|
angel3_migration: ^8.0.0
|
||||||
angel3_orm: ^8.0.0
|
angel3_orm: ^8.0.0
|
||||||
|
@ -15,7 +16,7 @@ dependencies:
|
||||||
mysql1: ^0.20.0
|
mysql1: ^0.20.0
|
||||||
logging: ^1.2.0
|
logging: ^1.2.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_orm:
|
# angel3_orm:
|
||||||
# path: ../angel_orm
|
# path: ../angel_orm
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -30,8 +30,7 @@ class NumericSqlExpressionBuilder<T extends num>
|
||||||
String? _raw;
|
String? _raw;
|
||||||
T? _value;
|
T? _value;
|
||||||
|
|
||||||
NumericSqlExpressionBuilder(Query query, String columnName)
|
NumericSqlExpressionBuilder(super.query, super.columnName);
|
||||||
: super(query, columnName);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool get hasValue => _hasValue;
|
bool get hasValue => _hasValue;
|
||||||
|
@ -123,8 +122,7 @@ class EnumSqlExpressionBuilder<T> extends SqlExpressionBuilder<T> {
|
||||||
String? _raw;
|
String? _raw;
|
||||||
int? _value;
|
int? _value;
|
||||||
|
|
||||||
EnumSqlExpressionBuilder(Query query, String columnName, this._getValue)
|
EnumSqlExpressionBuilder(super.query, super.columnName, this._getValue);
|
||||||
: super(query, columnName);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool get hasValue => _hasValue;
|
bool get hasValue => _hasValue;
|
||||||
|
@ -187,8 +185,7 @@ class StringSqlExpressionBuilder extends SqlExpressionBuilder<String> {
|
||||||
bool _hasValue = false;
|
bool _hasValue = false;
|
||||||
String? _op = '=', _raw, _value;
|
String? _op = '=', _raw, _value;
|
||||||
|
|
||||||
StringSqlExpressionBuilder(Query query, String columnName)
|
StringSqlExpressionBuilder(super.query, super.columnName);
|
||||||
: super(query, columnName);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool get hasValue => _hasValue;
|
bool get hasValue => _hasValue;
|
||||||
|
@ -291,8 +288,7 @@ class BooleanSqlExpressionBuilder extends SqlExpressionBuilder<bool> {
|
||||||
String? _op = '=', _raw;
|
String? _op = '=', _raw;
|
||||||
bool? _value;
|
bool? _value;
|
||||||
|
|
||||||
BooleanSqlExpressionBuilder(Query query, String columnName)
|
BooleanSqlExpressionBuilder(super.query, super.columnName);
|
||||||
: super(query, columnName);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool get hasValue => _hasValue;
|
bool get hasValue => _hasValue;
|
||||||
|
@ -346,8 +342,7 @@ class DateTimeSqlExpressionBuilder extends SqlExpressionBuilder<DateTime> {
|
||||||
|
|
||||||
String? _raw;
|
String? _raw;
|
||||||
|
|
||||||
DateTimeSqlExpressionBuilder(Query query, String columnName)
|
DateTimeSqlExpressionBuilder(super.query, super.columnName);
|
||||||
: super(query, columnName);
|
|
||||||
|
|
||||||
NumericSqlExpressionBuilder<int> get year =>
|
NumericSqlExpressionBuilder<int> get year =>
|
||||||
_year ??= NumericSqlExpressionBuilder(query, 'year');
|
_year ??= NumericSqlExpressionBuilder(query, 'year');
|
||||||
|
@ -468,8 +463,7 @@ abstract class JsonSqlExpressionBuilder<T, K> extends SqlExpressionBuilder<T> {
|
||||||
String? _op;
|
String? _op;
|
||||||
String? _raw;
|
String? _raw;
|
||||||
|
|
||||||
JsonSqlExpressionBuilder(Query query, String columnName)
|
JsonSqlExpressionBuilder(super.query, super.columnName);
|
||||||
: super(query, columnName);
|
|
||||||
|
|
||||||
JsonSqlExpressionBuilderProperty operator [](K name) {
|
JsonSqlExpressionBuilderProperty operator [](K name) {
|
||||||
var p = _property(name);
|
var p = _property(name);
|
||||||
|
@ -550,8 +544,7 @@ abstract class JsonSqlExpressionBuilder<T, K> extends SqlExpressionBuilder<T> {
|
||||||
}
|
}
|
||||||
|
|
||||||
class MapSqlExpressionBuilder extends JsonSqlExpressionBuilder<Map, String> {
|
class MapSqlExpressionBuilder extends JsonSqlExpressionBuilder<Map, String> {
|
||||||
MapSqlExpressionBuilder(Query query, String columnName)
|
MapSqlExpressionBuilder(super.query, super.columnName);
|
||||||
: super(query, columnName);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
JsonSqlExpressionBuilderProperty _property(String name) {
|
JsonSqlExpressionBuilderProperty _property(String name) {
|
||||||
|
@ -568,8 +561,7 @@ class MapSqlExpressionBuilder extends JsonSqlExpressionBuilder<Map, String> {
|
||||||
}
|
}
|
||||||
|
|
||||||
class ListSqlExpressionBuilder extends JsonSqlExpressionBuilder<List, int> {
|
class ListSqlExpressionBuilder extends JsonSqlExpressionBuilder<List, int> {
|
||||||
ListSqlExpressionBuilder(Query query, String columnName)
|
ListSqlExpressionBuilder(super.query, super.columnName);
|
||||||
: super(query, columnName);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<dynamic>? _encodeValue(List<dynamic>? v) => v; //[json.encode(v)];
|
List<dynamic>? _encodeValue(List<dynamic>? v) => v; //[json.encode(v)];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_orm
|
name: angel3_orm
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Runtime support for Angel3 ORM. Includes base classes for queries.
|
description: Runtime support for Angel3 ORM. Includes base classes for queries.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm
|
||||||
|
@ -7,7 +7,7 @@ environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
charcode: ^1.3.0
|
charcode: ^1.3.0
|
||||||
intl: ^0.18.0
|
intl: ^0.19.0
|
||||||
meta: ^1.9.0
|
meta: ^1.9.0
|
||||||
string_scanner: ^1.2.0
|
string_scanner: ^1.2.0
|
||||||
optional: ^6.1.0
|
optional: ^6.1.0
|
||||||
|
@ -18,7 +18,7 @@ dev_dependencies:
|
||||||
angel3_serialize_generator: ^8.0.0
|
angel3_serialize_generator: ^8.0.0
|
||||||
build_runner: ^2.4.0
|
build_runner: ^2.4.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_serialize:
|
# angel3_serialize:
|
||||||
# path: ../../serialize/angel_serialize
|
# path: ../../serialize/angel_serialize
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.2.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.1.0
|
## 8.1.0
|
||||||
|
|
||||||
* Upgraded to `analyzer` 6.2.x
|
* Upgraded to `analyzer` 6.2.x
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_orm_generator
|
name: angel3_orm_generator
|
||||||
version: 8.1.0
|
version: 8.2.0
|
||||||
description: Code generators for Angel3 ORM. Generates query builder classes.
|
description: Code generators for Angel3 ORM. Generates query builder classes.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_generator
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_generator
|
||||||
|
@ -27,9 +27,8 @@ dev_dependencies:
|
||||||
angel3_framework: ^8.0.0
|
angel3_framework: ^8.0.0
|
||||||
angel3_migration: ^8.0.0
|
angel3_migration: ^8.0.0
|
||||||
build_runner: ^2.4.0
|
build_runner: ^2.4.0
|
||||||
postgres: ^2.4.0
|
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
#dependency_overrides:
|
#dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../../container/angel_container
|
# path: ../../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
|
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
|
||||||
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_mysql/LICENSE)
|
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_mysql/LICENSE)
|
||||||
|
|
||||||
This package contains the SQL executor required by Angel3 ORM to work with MySQL and MariaDB respectively. In order to better support both MySQL and MariaDB, two different flavors of drives have been included; `mysql_client` and `mysql1`. They are implmented as `MySqlExecutor` and `MariaDbExecutor` respectively.
|
This package contains the SQL executor required by Angel3 ORM to work with MySQL or MariaDB. In order to better support both MySQL and MariaDB, two different flavors of drives have been included; `mysql_client` and `mysql1`. They are implmented as `MySqlExecutor` and `MariaDbExecutor` respectively.
|
||||||
|
|
||||||
## Supported databases
|
## Supported databases
|
||||||
|
|
||||||
|
@ -73,23 +73,23 @@ This SQL executor is implemented using [`mysql1`](https://pub.dev/packages?q=mys
|
||||||
|
|
||||||
1. Login to MariaDB/MySQL database console with the following command.
|
1. Login to MariaDB/MySQL database console with the following command.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mysql -u root -p
|
mysql -u root -p
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Run the following commands to create a new database, `orm_test` and grant both local and remote access to user, `test`. Replace `orm_test`, `test` and `test123` with your own database name, username and password respectively.
|
2. Run the following commands to create a new database, `orm_test`, and grant both local and remote access to user, `test`. Replace `orm_test`, `test` and `test123` with your own database name, username and password.
|
||||||
|
|
||||||
```mysql
|
```mysql
|
||||||
create database orm_test;
|
create database orm_test;
|
||||||
|
|
||||||
-- Granting localhost access only
|
-- Granting localhost access only
|
||||||
create user 'test'@'localhost' identified by 'test123';
|
create user 'test'@'localhost' identified by 'test123';
|
||||||
grant all privileges on orm_test.* to 'test'@'localhost';
|
grant all privileges on orm_test.* to 'test'@'localhost';
|
||||||
|
|
||||||
-- Granting localhost and remote access
|
-- Granting localhost and remote access
|
||||||
create user 'test'@'%' identified by 'test123';
|
create user 'test'@'%' identified by 'test123';
|
||||||
grant all privileges on orm_test.* to 'test'@'%';
|
grant all privileges on orm_test.* to 'test'@'%';
|
||||||
```
|
```
|
||||||
|
|
||||||
## Compatibility Matrix
|
## Compatibility Matrix
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_orm_mysql
|
name: angel3_orm_mysql
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: MySQL support for Angel3 ORM. Includes functionality for querying and transactions.
|
description: MySQL support for Angel3 ORM. Includes functionality for querying and transactions.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_mysql
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_mysql
|
||||||
|
@ -16,7 +16,7 @@ dev_dependencies:
|
||||||
angel3_orm_test: ^8.0.0
|
angel3_orm_test: ^8.0.0
|
||||||
build_runner: ^2.4.0
|
build_runner: ^2.4.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
|
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_serialize:
|
# angel3_serialize:
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
name: angel3_orm_postgres
|
name: angel3_orm_postgres
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: PostgreSQL support for Angel3 ORM. Includes functionality for querying and transactions.
|
description: PostgreSQL support for Angel3 ORM. Includes functionality for querying and transactions.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_postgres
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_postgres
|
||||||
|
publish_to: none
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -12,11 +13,11 @@ dependencies:
|
||||||
postgres: ^2.6.1
|
postgres: ^2.6.1
|
||||||
postgres_pool: ^2.1.6
|
postgres_pool: ^2.1.6
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
belatuk_pretty_logging: ^6.0.0
|
belatuk_pretty_logging: ^6.1.0
|
||||||
angel3_orm_generator: ^8.0.0
|
angel3_orm_generator: ^8.0.0
|
||||||
angel3_orm_test: ^8.0.0
|
angel3_orm_test: ^8.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_serialize:
|
# angel3_serialize:
|
||||||
# path: ../../serialize/angel_serialize
|
# path: ../../serialize/angel_serialize
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -13,7 +13,7 @@ In your `pubspec.yaml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
dependencies:
|
dependencies:
|
||||||
angel3_orm_service: ^6.0.0
|
angel3_orm_service: ^8.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_orm_service
|
name: angel3_orm_service
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Service implementation that wraps over Angel3 ORM Query classes.
|
description: Service implementation that wraps over Angel3 ORM Query classes.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_service
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_service
|
||||||
|
@ -19,7 +19,7 @@ dev_dependencies:
|
||||||
build_runner: ^2.4.0
|
build_runner: ^2.4.0
|
||||||
logging: ^1.2.0
|
logging: ^1.2.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../../container/angel_container
|
# path: ../../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_orm_test
|
name: angel3_orm_test
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Common tests for Angel3 ORM. Reference implmentation of the generated ORM files.
|
description: Common tests for Angel3 ORM. Reference implmentation of the generated ORM files.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_test
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_test
|
||||||
|
@ -18,7 +18,7 @@ dev_dependencies:
|
||||||
angel3_orm_generator: ^8.0.0
|
angel3_orm_generator: ^8.0.0
|
||||||
angel3_framework: ^8.0.0
|
angel3_framework: ^8.0.0
|
||||||
build_runner: ^2.4.0
|
build_runner: ^2.4.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../../container/angel_container
|
# path: ../../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.2.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Updated `intl` to 0.19.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.1.0
|
## 8.1.0
|
||||||
|
|
||||||
* Added optional `responseHeaders` and `removeResponseHeaders` to `Runner`
|
* Added optional `responseHeaders` and `removeResponseHeaders` to `Runner`
|
||||||
|
|
|
@ -114,7 +114,6 @@ class Runner {
|
||||||
onError: onError.sendPort,
|
onError: onError.sendPort,
|
||||||
errorsAreFatal: true && false)
|
errorsAreFatal: true && false)
|
||||||
.then((isolate) {})
|
.then((isolate) {})
|
||||||
//.catchError(c.completeError);
|
|
||||||
.catchError((e) {
|
.catchError((e) {
|
||||||
c.completeError(e as Object);
|
c.completeError(e as Object);
|
||||||
return null;
|
return null;
|
||||||
|
@ -192,7 +191,8 @@ class Runner {
|
||||||
server = Server([adapter]);
|
server = Server([adapter]);
|
||||||
|
|
||||||
// Register clients
|
// Register clients
|
||||||
for (var i = 0; i < Platform.numberOfProcessors; i++) {
|
// for (var i = 0; i < Platform.numberOfProcessors; i++) {
|
||||||
|
for (var i = 0; i < options.concurrency; i++) {
|
||||||
server.registerClient(ClientInfo('client$i'));
|
server.registerClient(ClientInfo('client$i'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -248,13 +248,15 @@ class Runner {
|
||||||
|
|
||||||
if (args.options.ssl || args.options.http2) {
|
if (args.options.ssl || args.options.http2) {
|
||||||
securityContext = SecurityContext();
|
securityContext = SecurityContext();
|
||||||
if (args.options.certificateFile != null) {
|
var certificateFile = args.options.certificateFile;
|
||||||
securityContext.useCertificateChain(args.options.certificateFile!,
|
if (certificateFile != null) {
|
||||||
|
securityContext.useCertificateChain(certificateFile,
|
||||||
password: args.options.certificatePassword);
|
password: args.options.certificatePassword);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.options.keyFile != null) {
|
var keyFile = args.options.keyFile;
|
||||||
securityContext.usePrivateKey(args.options.keyFile!,
|
if (keyFile != null) {
|
||||||
|
securityContext.usePrivateKey(keyFile,
|
||||||
password: args.options.keyPassword);
|
password: args.options.keyPassword);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_production
|
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.
|
description: Helpers for concurrency, message-passing, rotating loggers, and other production functionality in Angel3.
|
||||||
homepage: https://angel3-framework.web.app
|
homepage: https://angel3-framework.web.app
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/production
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/production
|
||||||
|
@ -8,13 +8,13 @@ environment:
|
||||||
dependencies:
|
dependencies:
|
||||||
angel3_container: ^8.0.0
|
angel3_container: ^8.0.0
|
||||||
angel3_framework: ^8.2.0
|
angel3_framework: ^8.2.0
|
||||||
belatuk_pub_sub: ^6.0.0
|
belatuk_pub_sub: ^6.1.0
|
||||||
args: ^2.4.0
|
args: ^2.4.0
|
||||||
io: ^1.0.0
|
io: ^1.0.0
|
||||||
logging: ^1.2.0
|
logging: ^1.2.0
|
||||||
intl: ^0.18.0
|
intl: ^0.19.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
#dependency_overrides:
|
#dependency_overrides:
|
||||||
# angel3_container:
|
# angel3_container:
|
||||||
# path: ../container/angel_container
|
# path: ../container/angel_container
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 8.1.0
|
||||||
|
|
||||||
|
* Updated `lints` to 3.0.0
|
||||||
|
* Fixed linter warnings
|
||||||
|
|
||||||
## 8.0.0
|
## 8.0.0
|
||||||
|
|
||||||
* Require Dart >= 3.0
|
* Require Dart >= 3.0
|
||||||
|
|
|
@ -33,6 +33,4 @@ Also, you can map requests to a root path on the remote server:
|
||||||
Proxy(baseUrl.replace(path: '/path'));
|
Proxy(baseUrl.replace(path: '/path'));
|
||||||
```
|
```
|
||||||
|
|
||||||
Request bodies will be forwarded as well, if they are not empty. This allows things like POST requests to function.
|
Request bodies will be forwarded as well, if they are not empty. This allows things like POST requests to function. For a request body to be forwarded, the body must not have already been parsed.
|
||||||
|
|
||||||
For a request body to be forwarded, the body must not have already been parsed.
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_proxy
|
name: angel3_proxy
|
||||||
version: 8.0.0
|
version: 8.1.0
|
||||||
description: Angel middleware to forward requests to another server (i.e. pub serve).
|
description: Angel middleware to forward requests to another server (i.e. pub serve).
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/proxy
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/proxy
|
||||||
|
@ -9,12 +9,12 @@ dependencies:
|
||||||
angel3_framework: ^8.0.0
|
angel3_framework: ^8.0.0
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
http_parser: ^4.0.0
|
http_parser: ^4.0.0
|
||||||
path: ^1.8.0
|
path: ^1.9.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
angel3_test: ^8.0.0
|
angel3_test: ^8.0.0
|
||||||
angel3_mock_request: ^8.0.0
|
angel3_mock_request: ^8.0.0
|
||||||
logging: ^1.2.0
|
logging: ^1.2.0
|
||||||
lints: ^2.1.0
|
lints: ^3.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
# dependency_overrides:
|
# dependency_overrides:
|
||||||
# angel3_framework:
|
# angel3_framework:
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue