Upgraded production
This commit is contained in:
parent
ff65e13c75
commit
6db69d0fb1
6 changed files with 33 additions and 8 deletions
|
@ -29,7 +29,7 @@ void main() async {
|
||||||
try {
|
try {
|
||||||
ctx.setAlpnProtocols(['h2'], true);
|
ctx.setAlpnProtocols(['h2'], true);
|
||||||
} catch (e, st) {
|
} 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.',
|
'Cannot set ALPN protocol on server to `h2`. The server will only serve HTTP/1.x.',
|
||||||
e,
|
e,
|
||||||
st);
|
st);
|
||||||
|
|
|
@ -25,7 +25,7 @@ void main() async {
|
||||||
try {
|
try {
|
||||||
ctx.setAlpnProtocols(['h2'], true);
|
ctx.setAlpnProtocols(['h2'], true);
|
||||||
} catch (e, st) {
|
} 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.',
|
'Cannot set ALPN protocol on server to `h2`. The server will only serve HTTP/1.x.',
|
||||||
e,
|
e,
|
||||||
st,
|
st,
|
||||||
|
|
|
@ -45,7 +45,7 @@ void main() async {
|
||||||
try {
|
try {
|
||||||
ctx.setAlpnProtocols(['h2'], true);
|
ctx.setAlpnProtocols(['h2'], true);
|
||||||
} catch (e, st) {
|
} 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.',
|
'Cannot set ALPN protocol on server to `h2`. The server will only serve HTTP/1.x.',
|
||||||
e,
|
e,
|
||||||
st);
|
st);
|
||||||
|
|
|
@ -1,5 +1,17 @@
|
||||||
# Change Log
|
# 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
|
## 3.1.2
|
||||||
|
|
||||||
* Updated repo link
|
* Updated repo link
|
||||||
|
|
|
@ -240,7 +240,7 @@ _ ___ | /| / / /_/ / _ /___ _ /___
|
||||||
|
|
||||||
await app.configure(args.configureServer);
|
await app.configure(args.configureServer);
|
||||||
|
|
||||||
app.logger ??= Logger(args.loggerName)
|
app.logger = Logger(args.loggerName)
|
||||||
..onRecord.listen((rec) => Runner.handleLogRecord(rec, args.options));
|
..onRecord.listen((rec) => Runner.handleLogRecord(rec, args.options));
|
||||||
|
|
||||||
AngelHttp http;
|
AngelHttp http;
|
||||||
|
|
|
@ -1,16 +1,29 @@
|
||||||
name: angel3_production
|
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.
|
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
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.12.0 <3.0.0'
|
sdk: '>=2.15.0 <3.0.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
angel3_container: ^3.1.0
|
angel3_container: ^6.0.0
|
||||||
angel3_framework: ^4.2.0
|
angel3_framework: ^6.0.0
|
||||||
belatuk_pub_sub: ^4.0.0
|
belatuk_pub_sub: ^4.0.0
|
||||||
args: ^2.3.0
|
args: ^2.3.0
|
||||||
io: ^1.0.0
|
io: ^1.0.0
|
||||||
logging: ^1.0.1
|
logging: ^1.0.1
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
lints: ^1.0.1
|
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
|
||||||
|
|
Loading…
Reference in a new issue