Updated shelf

This commit is contained in:
thomashii 2021-09-25 23:04:25 +08:00
parent 612f010912
commit 37a8681bf8
6 changed files with 13 additions and 9 deletions

View file

@ -1,5 +1,9 @@
# Change Log
## 3.0.0-dev.2
* Updated to use `package:belatuk_pretty_logging`
## 3.0.0-dev.1
* Migrated to support Dart SDK 2.12.x NNBD

View file

@ -3,7 +3,7 @@
![Pub Version (including pre-releases)](https://img.shields.io/pub/v/angel3_shelf?include_prereleases)
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
[![License](https://img.shields.io/github/license/dart-backend/belatuk-common-utilities)](https://github.com/dukefirehawk/angel/tree/angel3/packages/shelf/LICENSE)
[![License](https://img.shields.io/github/license/dart-backend/belatuk-common-utilities)](https://github.com/dukefirehawk/angel/tree/master/packages/shelf/LICENSE)
**Replacement of `package:angel_shelf` with breaking changes to support NNBD.**

View file

@ -3,7 +3,7 @@ import 'package:angel3_container/mirrors.dart';
import 'package:angel3_framework/angel3_framework.dart';
import 'package:angel3_shelf/angel3_shelf.dart';
import 'package:logging/logging.dart';
import 'package:angel3_pretty_logging/angel3_pretty_logging.dart';
import 'package:belatuk_pretty_logging/belatuk_pretty_logging.dart';
import 'package:shelf/shelf.dart' as shelf;
import 'package:shelf/shelf_io.dart' as shelf_io;
import 'package:shelf_static/shelf_static.dart';

View file

@ -3,7 +3,7 @@ import 'package:angel3_framework/angel3_framework.dart';
import 'package:angel3_framework/http.dart';
import 'package:angel3_shelf/angel3_shelf.dart';
import 'package:logging/logging.dart';
import 'package:angel3_pretty_logging/angel3_pretty_logging.dart';
import 'package:belatuk_pretty_logging/belatuk_pretty_logging.dart';
import 'package:shelf_static/shelf_static.dart';
void main() async {

View file

@ -1,12 +1,12 @@
name: angel3_shelf
version: 3.0.0-dev.1
version: 3.0.0-dev.2
description: Shelf interop with Angel3. Use this to wrap existing server code.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/shelf
repository: https://github.com/dukefirehawk/angel/tree/master/packages/shelf
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
angel3_framework: ^4.1.0
angel3_framework: ^4.2.0
angel3_container: ^3.0.0
angel3_mock_request: ^2.0.0
path: ^1.8.0
@ -17,7 +17,7 @@ dependencies:
http: ^0.13.0
dev_dependencies:
angel3_test: ^4.0.0
angel3_pretty_logging: ^3.0.0
belatuk_pretty_logging: ^4.0.0
shelf_static: ^1.0.0
test: ^1.17.7
test: ^1.17.5
lints: ^1.0.0

View file

@ -7,7 +7,7 @@ import 'package:angel3_test/angel3_test.dart';
import 'package:charcode/charcode.dart';
import 'package:http/http.dart' as http;
import 'package:logging/logging.dart';
import 'package:angel3_pretty_logging/angel3_pretty_logging.dart';
import 'package:belatuk_pretty_logging/belatuk_pretty_logging.dart';
import 'package:shelf/shelf.dart' as shelf;
import 'package:stream_channel/stream_channel.dart';
import 'package:test/test.dart';