Updated JAEL
This commit is contained in:
parent
49da5f76b1
commit
510594d96e
19 changed files with 193 additions and 39 deletions
|
@ -1,5 +1,13 @@
|
|||
# Change Log
|
||||
|
||||
## 6.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 4.3.0
|
||||
|
||||
* Updated to use `vm_service` 8.1.0
|
||||
|
|
|
@ -11,7 +11,6 @@ import 'package:charcode/ascii.dart';
|
|||
import 'package:glob/glob.dart';
|
||||
import 'package:glob/list_local_fs.dart';
|
||||
import 'package:belatuk_html_builder/elements.dart';
|
||||
import 'package:belatuk_html_builder/belatuk_html_builder.dart';
|
||||
import 'package:io/ansi.dart';
|
||||
import 'package:path/path.dart' as p;
|
||||
import 'package:vm_service/vm_service.dart' as vm;
|
||||
|
@ -140,7 +139,7 @@ class HotReloader {
|
|||
|
||||
void _logWarning(String msg) {
|
||||
if (_server?.app.logger != null) {
|
||||
_server?.app.logger?.warning(msg);
|
||||
_server?.app.logger.warning(msg);
|
||||
} else {
|
||||
print(yellow.wrap('WARNING: $msg'));
|
||||
}
|
||||
|
@ -148,7 +147,7 @@ class HotReloader {
|
|||
|
||||
void _logInfo(String msg) {
|
||||
if (_server?.app.logger != null) {
|
||||
_server?.app.logger?.info(msg);
|
||||
_server?.app.logger.info(msg);
|
||||
} else {
|
||||
print(lightGray.wrap(msg));
|
||||
}
|
||||
|
@ -188,7 +187,8 @@ class HotReloader {
|
|||
if (_vmachine != null) {
|
||||
for (var isolate in _vmachine!.isolates ?? <vm.IsolateRef>[]) {
|
||||
if (isolate.id != null) {
|
||||
await _client.setExceptionPauseMode(isolate.id!, 'None');
|
||||
await _client.setIsolatePauseMode(isolate.id!,
|
||||
exceptionPauseMode: 'None');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -359,7 +359,7 @@ class HotReloader {
|
|||
scheduleMicrotask(() async {
|
||||
// Disconnect active WebSockets
|
||||
try {
|
||||
var ws = _server!.app.container!.make<AngelWebSocket>();
|
||||
var ws = _server!.app.container.make<AngelWebSocket>();
|
||||
|
||||
for (var client in ws.clients) {
|
||||
try {
|
||||
|
@ -373,7 +373,7 @@ class HotReloader {
|
|||
// await Future.forEach(
|
||||
// _server.app.shutdownHooks, _server.app.configure);
|
||||
await _server!.app.close();
|
||||
_server!.app.logger?.clearListeners();
|
||||
_server!.app.logger.clearListeners();
|
||||
} catch (_) {
|
||||
// Fail silently...
|
||||
}
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
name: angel3_hot
|
||||
version: 4.3.0
|
||||
version: 6.0.0
|
||||
description: Supports hot reloading/hot code push of Angel3 servers on file changes.
|
||||
homepage: https://angel3-framework.web.app/
|
||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/hot
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
sdk: '>=2.15.0 <3.0.0'
|
||||
dependencies:
|
||||
angel3_framework: ^4.2.0
|
||||
angel3_websocket: ^4.1.0
|
||||
angel3_framework: ^6.0.0
|
||||
angel3_websocket: ^6.0.0
|
||||
belatuk_html_builder: ^3.0.0
|
||||
charcode: ^1.2.0
|
||||
glob: ^2.0.1
|
||||
|
@ -19,7 +19,23 @@ dev_dependencies:
|
|||
http: ^0.13.2
|
||||
logging: ^1.0.1
|
||||
lints: ^1.0.0
|
||||
#dependency_overrides:
|
||||
# angel3_websocket:
|
||||
# path: ../websocket
|
||||
dependency_overrides:
|
||||
angel3_container:
|
||||
path: ../container/angel_container
|
||||
angel3_framework:
|
||||
path: ../framework
|
||||
angel3_http_exception:
|
||||
path: ../http_exception
|
||||
angel3_model:
|
||||
path: ../model
|
||||
angel3_route:
|
||||
path: ../route
|
||||
angel3_mock_request:
|
||||
path: ../mock_request
|
||||
angel3_auth:
|
||||
path: ../auth
|
||||
angel3_client:
|
||||
path: ../client
|
||||
angel3_websocket:
|
||||
path: ../websocket
|
||||
|
|
@ -1,5 +1,13 @@
|
|||
# Change Log
|
||||
|
||||
## 6.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 4.3.1
|
||||
|
||||
* Removed debug message
|
||||
|
|
|
@ -1,21 +1,47 @@
|
|||
name: angel3_jael
|
||||
version: 4.3.1
|
||||
version: 6.0.0
|
||||
description: Angel support for the Jael templating engine, similar to Blade or Liquid.
|
||||
homepage: https://angel3-framework.web.app/
|
||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/angel_jael
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
dependencies:
|
||||
angel3_framework: ^4.2.0
|
||||
angel3_framework: ^6.0.0
|
||||
jael3: ^5.0.0
|
||||
jael3_preprocessor: ^5.0.0
|
||||
belatuk_code_buffer: ^3.0.0
|
||||
belatuk_symbol_table: ^3.0.0
|
||||
jael3: ^4.2.0
|
||||
jael3_preprocessor: ^4.2.0
|
||||
file: ^6.0.0
|
||||
logging: ^1.0.1
|
||||
|
||||
dev_dependencies:
|
||||
angel3_test: ^4.0.0
|
||||
angel3_test: ^6.0.0
|
||||
html: ^0.15.0
|
||||
test: ^1.17.3
|
||||
lints: ^1.0.0
|
||||
lints: ^1.0.0
|
||||
dependency_overrides:
|
||||
angel3_container:
|
||||
path: ../../container/angel_container
|
||||
angel3_framework:
|
||||
path: ../../framework
|
||||
angel3_http_exception:
|
||||
path: ../../http_exception
|
||||
angel3_model:
|
||||
path: ../../model
|
||||
angel3_route:
|
||||
path: ../../route
|
||||
angel3_mock_request:
|
||||
path: ../../mock_request
|
||||
angel3_auth:
|
||||
path: ../../auth
|
||||
angel3_client:
|
||||
path: ../../client
|
||||
angel3_websocket:
|
||||
path: ../../websocket
|
||||
angel3_validate:
|
||||
path: ../../validate
|
||||
angel3_test:
|
||||
path: ../../test
|
||||
jael3:
|
||||
path: ../jael
|
||||
jael3_preprocessor:
|
||||
path: ../jael_preprocessor
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
# Change Log
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 4.2.0
|
||||
|
||||
* Updated to use `package:belatuk_code_buffer`
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
name: jael3
|
||||
version: 4.2.1
|
||||
version: 5.0.0
|
||||
description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid.
|
||||
homepage: https://angel3-framework.web.app/
|
||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
sdk: '>=2.15.0 <3.0.0'
|
||||
dependencies:
|
||||
args: ^2.0.0
|
||||
charcode: ^1.0.0
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
# Change Log
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 4.2.0
|
||||
|
||||
* Updated to use `package:belatuk_code_buffer`
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
name: jael3_preprocessor
|
||||
version: 4.2.0
|
||||
version: 5.0.0
|
||||
description: A pre-processor for resolving blocks and includes within Jael templates.
|
||||
homepage: https://angel3-framework.web.app/
|
||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael_preprocessor
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
sdk: '>=2.15.0 <3.0.0'
|
||||
dependencies:
|
||||
file: ^6.1.0
|
||||
jael3: ^4.2.0
|
||||
jael3: ^6.0.0
|
||||
belatuk_symbol_table: ^3.0.0
|
||||
collection: ^1.15.0
|
||||
dev_dependencies:
|
||||
belatuk_code_buffer: ^3.0.0
|
||||
test: ^1.17.4
|
||||
lints: ^1.0.0
|
||||
#dependency_overrides:
|
||||
# jael3:
|
||||
# path: ../jael
|
||||
dependency_overrides:
|
||||
jael3:
|
||||
path: ../jael
|
||||
|
|
|
@ -1,17 +1,22 @@
|
|||
name: jael3_web
|
||||
version: 1.0.0
|
||||
description: Experimental virtual DOM/SPA engine built on Jael. Supports SSR.
|
||||
version: 2.0.0
|
||||
description: Experimental virtual DOM/SPA engine built on Jael3. Supports SSR.
|
||||
publish_to: none
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
sdk: '>=2.15.0 <3.0.0'
|
||||
dependencies:
|
||||
build: ^2.0.2
|
||||
build_config: ^1.0.0
|
||||
code_builder: ^4.0.0
|
||||
jael3: ^4.2.0
|
||||
jael3_preprocessor: ^4.2.0
|
||||
jael3: ^5.0.0
|
||||
jael3_preprocessor: ^5.0.0
|
||||
source_gen: ^1.0.2
|
||||
dev_dependencies:
|
||||
build_runner: ^2.0.4
|
||||
build_web_compilers: ^3.0.0
|
||||
lints: ^1.0.0
|
||||
lints: ^1.0.0
|
||||
dependency_overrides:
|
||||
jael3:
|
||||
path: ../jael
|
||||
jael3_preprocessor:
|
||||
path: ../jael_preprocessor
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# Change Log
|
||||
|
||||
## 6.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 4.0.4
|
||||
|
||||
* Updated README
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
name: angel3_migration
|
||||
version: 4.1.0
|
||||
version: 6.0.0
|
||||
description: Database migration runtime for Angel3 ORM. Use this package to define schemas.
|
||||
homepage: https://angel3-framework.web.app/
|
||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_migration
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
sdk: '>=2.15.0 <3.0.0'
|
||||
dependencies:
|
||||
angel3_orm: ^4.1.0
|
||||
angel3_orm: ^6.0.0
|
||||
dev_dependencies:
|
||||
lints: ^1.0.0
|
||||
dependency_overrides:
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# Change Log
|
||||
|
||||
## 6.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 4.1.2
|
||||
|
||||
* Updated README
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# Change Log
|
||||
|
||||
## 6.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 4.1.0
|
||||
|
||||
* Added `MySQLDialect` to handle MySQL database specific features
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
# Change Log
|
||||
|
||||
## 6.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* Updated `analyzer` to version 3.x
|
||||
* Updated min SDK to 2.14.x
|
||||
* No release. Skipped
|
||||
|
||||
## 4.3.0
|
||||
|
||||
|
|
|
@ -1,5 +1,21 @@
|
|||
# Change Log
|
||||
|
||||
## 6.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 4.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 3.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 2.0.0-beta.3
|
||||
|
||||
* Updated linter to `package:lints`
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
# Change Log
|
||||
|
||||
## 6.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 4.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 3.3.0
|
||||
|
||||
* Updated test cases
|
||||
|
|
|
@ -1,5 +1,21 @@
|
|||
# Change Log
|
||||
|
||||
## 6.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 4.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 3.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 2.0.1
|
||||
|
||||
* Updated linter to `package:lints`
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
# Change Log
|
||||
|
||||
## 6.0.0
|
||||
|
||||
* Updated to min SDK 2.15.x
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 4.0.0
|
||||
|
||||
* No release. Skipped
|
||||
|
||||
## 3.1.2
|
||||
|
||||
* Added multiple `orderBy` test case
|
||||
|
|
Loading…
Reference in a new issue