Updated framework

This commit is contained in:
thomashii@dukefirehawk.com 2023-05-21 09:20:55 +08:00
parent fb99b0b4ec
commit 1301b492f7
5 changed files with 45 additions and 37 deletions

View file

@ -9,6 +9,10 @@
* Upgraded: angel3_container * Upgraded: angel3_container
* Upgraded: angel3_container_generator * Upgraded: angel3_container_generator
* Upgraded: angel3_mock_request * Upgraded: angel3_mock_request
* Upgraded: angel3_framework
* Upgraded: angel3_auth (todo)
* Upgraded: angel3_configuration (todo)
* Upgraded: angel3_validate (todo)
## 7.0.0 ## 7.0.0

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 8.0.0
* Require Dart >= 3.0
## 7.0.4 ## 7.0.4
* Updated `Expose` fields to non-nullable * Updated `Expose` fields to non-nullable

View file

@ -392,7 +392,7 @@ abstract class ResponseContext<RawResponse>
} }
} }
abstract class LockableBytesBuilder extends BytesBuilder { abstract class LockableBytesBuilder implements BytesBuilder {
factory LockableBytesBuilder() { factory LockableBytesBuilder() {
return _LockableBytesBuilderImpl(); return _LockableBytesBuilderImpl();
} }

View file

@ -60,10 +60,10 @@ class Http2ResponseContext extends ResponseContext<ServerTransportStream> {
@override @override
BytesBuilder? get buffer => _buffer; BytesBuilder? get buffer => _buffer;
@override // @override
void addError(Object error, [StackTrace? stackTrace]) { // void addError(Object error, [StackTrace? stackTrace]) {
super.addError(error, stackTrace); // super.addError(error, stackTrace);
} // }
@override @override
void useBuffer() { void useBuffer() {

View file

@ -1,49 +1,49 @@
name: angel3_framework name: angel3_framework
version: 7.0.4 version: 8.0.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
environment: environment:
sdk: '>=2.18.0 <3.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
angel3_container: ^7.0.0 angel3_container: ^8.0.0
angel3_http_exception: ^7.0.0 angel3_http_exception: ^8.0.0
angel3_model: ^7.0.0 angel3_model: ^8.0.0
angel3_route: ^7.0.0 angel3_route: ^8.0.0
angel3_mock_request: ^7.0.0 angel3_mock_request: ^8.0.0
belatuk_merge_map: ^4.0.0 belatuk_merge_map: ^5.0.0
belatuk_combinator: ^4.0.0 belatuk_combinator: ^5.0.0
belatuk_http_server: ^3.0.0 belatuk_http_server: ^4.0.0
charcode: ^1.2.0 charcode: ^1.3.0
file: ^6.1.0 file: ^7.0.0
http_parser: ^4.0.0 http_parser: ^4.0.0
http2: ^2.0.0 http2: ^2.0.0
logging: ^1.0.0 logging: ^1.1.0
matcher: ^0.12.10 matcher: ^0.12.16
meta: ^1.3.0 meta: ^1.9.0
mime: ^1.0.0 mime: ^1.0.0
path: ^1.8.0 path: ^1.8.0
quiver: ^3.0.1 quiver: ^3.2.0
recase: ^4.0.0 recase: ^4.1.0
stack_trace: ^1.10.0 stack_trace: ^1.11.0
string_scanner: ^1.1.0 string_scanner: ^1.2.0
tuple: ^2.0.0 tuple: ^2.0.0
uuid: ^3.0.1 uuid: ^3.0.0
collection: ^1.15.0 collection: ^1.17.0
dev_dependencies: dev_dependencies:
http: ^0.13.1 http: ^0.13.1
io: ^1.0.0 io: ^1.0.0
test: ^1.21.0 test: ^1.24.0
lints: ^2.0.0 lints: ^2.1.0
dependency_overrides: dependency_overrides:
angel3_container: angel3_container:
path: ../container/angel_container path: ../container/angel_container
# angel3_http_exception: angel3_http_exception:
# path: ../http_exception path: ../http_exception
# angel3_model: angel3_model:
# path: ../model path: ../model
# angel3_route: angel3_route:
# path: ../route path: ../route
# angel3_mock_request: angel3_mock_request:
# path: ../mock_request path: ../mock_request