Upgraded production

This commit is contained in:
thomashii 2022-02-20 10:00:51 +08:00
parent ff65e13c75
commit 6db69d0fb1
6 changed files with 33 additions and 8 deletions

View file

@ -29,7 +29,7 @@ void main() async {
try {
ctx.setAlpnProtocols(['h2'], true);
} catch (e, st) {
app.logger!.severe(
app.logger.severe(
'Cannot set ALPN protocol on server to `h2`. The server will only serve HTTP/1.x.',
e,
st);

View file

@ -25,7 +25,7 @@ void main() async {
try {
ctx.setAlpnProtocols(['h2'], true);
} catch (e, st) {
app.logger!.severe(
app.logger.severe(
'Cannot set ALPN protocol on server to `h2`. The server will only serve HTTP/1.x.',
e,
st,

View file

@ -45,7 +45,7 @@ void main() async {
try {
ctx.setAlpnProtocols(['h2'], true);
} catch (e, st) {
app.logger!.severe(
app.logger.severe(
'Cannot set ALPN protocol on server to `h2`. The server will only serve HTTP/1.x.',
e,
st);

View file

@ -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
* Updated repo link

View file

@ -240,7 +240,7 @@ _ ___ | /| / / /_/ / _ /___ _ /___
await app.configure(args.configureServer);
app.logger ??= Logger(args.loggerName)
app.logger = Logger(args.loggerName)
..onRecord.listen((rec) => Runner.handleLogRecord(rec, args.options));
AngelHttp http;

View file

@ -1,16 +1,29 @@
name: angel3_production
version: 3.1.2
version: 6.0.0
description: Helpers for concurrency, message-passing, rotating loggers, and other production functionality in Angel3.
homepage: https://angel3-framework.web.app
repository: https://github.com/dukefirehawk/angel/tree/master/packages/production
environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=2.15.0 <3.0.0'
dependencies:
angel3_container: ^3.1.0
angel3_framework: ^4.2.0
angel3_container: ^6.0.0
angel3_framework: ^6.0.0
belatuk_pub_sub: ^4.0.0
args: ^2.3.0
io: ^1.0.0
logging: ^1.0.1
dev_dependencies:
lints: ^1.0.1
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