From 37a8681bf840e4f447563cc2927c9c0d2c1463a1 Mon Sep 17 00:00:00 2001 From: thomashii Date: Sat, 25 Sep 2021 23:04:25 +0800 Subject: [PATCH] Updated shelf --- packages/shelf/CHANGELOG.md | 4 ++++ packages/shelf/README.md | 2 +- packages/shelf/example/angel_in_shelf.dart | 2 +- packages/shelf/example/main.dart | 2 +- packages/shelf/pubspec.yaml | 10 +++++----- packages/shelf/test/embed_shelf_test.dart | 2 +- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/packages/shelf/CHANGELOG.md b/packages/shelf/CHANGELOG.md index b8ed3643..a12ed4e2 100644 --- a/packages/shelf/CHANGELOG.md +++ b/packages/shelf/CHANGELOG.md @@ -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 diff --git a/packages/shelf/README.md b/packages/shelf/README.md index 1ba956e3..e4b7995d 100644 --- a/packages/shelf/README.md +++ b/packages/shelf/README.md @@ -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.** diff --git a/packages/shelf/example/angel_in_shelf.dart b/packages/shelf/example/angel_in_shelf.dart index 4701eaa4..cc41b81e 100644 --- a/packages/shelf/example/angel_in_shelf.dart +++ b/packages/shelf/example/angel_in_shelf.dart @@ -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'; diff --git a/packages/shelf/example/main.dart b/packages/shelf/example/main.dart index bf9fa632..9cd9f7c2 100644 --- a/packages/shelf/example/main.dart +++ b/packages/shelf/example/main.dart @@ -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 { diff --git a/packages/shelf/pubspec.yaml b/packages/shelf/pubspec.yaml index ea5775dc..b8d47682 100644 --- a/packages/shelf/pubspec.yaml +++ b/packages/shelf/pubspec.yaml @@ -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 diff --git a/packages/shelf/test/embed_shelf_test.dart b/packages/shelf/test/embed_shelf_test.dart index 5e47d85c..642a470d 100644 --- a/packages/shelf/test/embed_shelf_test.dart +++ b/packages/shelf/test/embed_shelf_test.dart @@ -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';