From 4926b2ffa6a652201c41103a16e1ff4188b5a9cf Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Wed, 15 Jun 2022 16:27:51 -0700 Subject: [PATCH] prep for publishing the shelf packages --- pkgs/shelf/CHANGELOG.md | 4 +++- pkgs/shelf/pubspec.yaml | 2 +- pkgs/shelf_packages_handler/CHANGELOG.md | 5 +++-- pkgs/shelf_packages_handler/pubspec.yaml | 2 +- pkgs/shelf_proxy/CHANGELOG.md | 14 ++++++++------ pkgs/shelf_proxy/pubspec.yaml | 2 +- pkgs/shelf_router/CHANGELOG.md | 22 +++++++++++++--------- pkgs/shelf_router/pubspec.yaml | 2 +- pkgs/shelf_router_generator/CHANGELOG.md | 10 ++++++---- pkgs/shelf_router_generator/pubspec.yaml | 2 +- pkgs/shelf_static/CHANGELOG.md | 5 +++-- pkgs/shelf_static/pubspec.yaml | 2 +- pkgs/shelf_test_handler/CHANGELOG.md | 5 +++-- pkgs/shelf_test_handler/pubspec.yaml | 2 +- pkgs/shelf_web_socket/CHANGELOG.md | 5 +++-- pkgs/shelf_web_socket/pubspec.yaml | 2 +- 16 files changed, 50 insertions(+), 36 deletions(-) diff --git a/pkgs/shelf/CHANGELOG.md b/pkgs/shelf/CHANGELOG.md index 918b0ae3..913f6767 100644 --- a/pkgs/shelf/CHANGELOG.md +++ b/pkgs/shelf/CHANGELOG.md @@ -1,4 +1,6 @@ -## 1.3.1-dev +## 1.3.1 + +* Update the pubspec `repository` field. ## 1.3.0 diff --git a/pkgs/shelf/pubspec.yaml b/pkgs/shelf/pubspec.yaml index 01370064..a74d810f 100644 --- a/pkgs/shelf/pubspec.yaml +++ b/pkgs/shelf/pubspec.yaml @@ -1,5 +1,5 @@ name: shelf -version: 1.3.1-dev +version: 1.3.1 description: > A model for web server middleware that encourages composition and easy reuse. repository: https://github.com/dart-lang/shelf/tree/master/pkgs/shelf diff --git a/pkgs/shelf_packages_handler/CHANGELOG.md b/pkgs/shelf_packages_handler/CHANGELOG.md index 6e72d917..ed18014e 100644 --- a/pkgs/shelf_packages_handler/CHANGELOG.md +++ b/pkgs/shelf_packages_handler/CHANGELOG.md @@ -1,6 +1,7 @@ -## 3.0.1-dev +## 3.0.1 -- Require Dart `2.14`. +* Require Dart `2.14`. +* Update the pubspec `repository` field. ## 3.0.0 diff --git a/pkgs/shelf_packages_handler/pubspec.yaml b/pkgs/shelf_packages_handler/pubspec.yaml index 86e77631..134f5d21 100644 --- a/pkgs/shelf_packages_handler/pubspec.yaml +++ b/pkgs/shelf_packages_handler/pubspec.yaml @@ -1,5 +1,5 @@ name: shelf_packages_handler -version: 3.0.1-dev +version: 3.0.1 description: A shelf handler for serving a `packages/` directory. repository: https://github.com/dart-lang/shelf/tree/master/pkgs/shelf_packages_handler diff --git a/pkgs/shelf_proxy/CHANGELOG.md b/pkgs/shelf_proxy/CHANGELOG.md index ac40fbce..8cfa133a 100644 --- a/pkgs/shelf_proxy/CHANGELOG.md +++ b/pkgs/shelf_proxy/CHANGELOG.md @@ -1,15 +1,17 @@ -## 1.0.2-dev +## 1.0.2 + +* Update the pubspec `repository` field. ## 1.0.1 -- Drop dependency on `package:pedantic`. -- Require Dart `2.14`. +* Drop dependency on `package:pedantic`. +* Require Dart `2.14`. ## 1.0.0 -- Require Dart `2.12`. -- Enable null safety. -- Removed deprecated `createProxyHandler`. +* Require Dart `2.12`. +* Enable null safety. +* Removed deprecated `createProxyHandler`. ## 0.1.0+7 diff --git a/pkgs/shelf_proxy/pubspec.yaml b/pkgs/shelf_proxy/pubspec.yaml index 76bddd75..4a1b4d64 100644 --- a/pkgs/shelf_proxy/pubspec.yaml +++ b/pkgs/shelf_proxy/pubspec.yaml @@ -1,5 +1,5 @@ name: shelf_proxy -version: 1.0.2-dev +version: 1.0.2 description: A shelf handler for proxying HTTP requests to another server. repository: https://github.com/dart-lang/shelf/tree/master/pkgs/shelf_proxy diff --git a/pkgs/shelf_router/CHANGELOG.md b/pkgs/shelf_router/CHANGELOG.md index a8c0eb05..b4ecbb3c 100644 --- a/pkgs/shelf_router/CHANGELOG.md +++ b/pkgs/shelf_router/CHANGELOG.md @@ -1,19 +1,23 @@ +## 1.1.3 + +* Update the pubspec `repository` field. + ## v1.1.2 - * Remove trailing slash requirement when using `mount`. +* Remove trailing slash requirement when using `mount`. ## v1.1.1 - * Fix `Router.routeNotFound` to enable multiple `read()` calls on it. +* Fix `Router.routeNotFound` to enable multiple `read()` calls on it. ## v1.1.0 - * `params` is deprecated in favor of `Request.params` adding using an extension - on `Request`. - * The default `notFoundHandler` now returns a sentinel `routeNotFound` response - object which causes 404 with the message 'Route not found'. - * __Minor breaking__: Handlers and sub-routers that return the sentinel - `routeNotFound` response object will be ignored and pattern matching will - continue on additional routes/handlers. +* `params` is deprecated in favor of `Request.params` adding using an extension + on `Request`. +* The default `notFoundHandler` now returns a sentinel `routeNotFound` response + object which causes 404 with the message 'Route not found'. +* __Minor breaking__: Handlers and sub-routers that return the sentinel + `routeNotFound` response object will be ignored and pattern matching will + continue on additional routes/handlers. Changing the router to continue pattern matching additional routes if a matched _handler_ or _nested router_ returns the sentinel `routeNotFound` response diff --git a/pkgs/shelf_router/pubspec.yaml b/pkgs/shelf_router/pubspec.yaml index 586b33b7..4886193d 100644 --- a/pkgs/shelf_router/pubspec.yaml +++ b/pkgs/shelf_router/pubspec.yaml @@ -1,5 +1,5 @@ name: shelf_router -version: 1.1.2 +version: 1.1.3 description: > A convinent request router for the shelf web-framework, with support for URL-parameters, nested routers and routers generated from source annotations. diff --git a/pkgs/shelf_router_generator/CHANGELOG.md b/pkgs/shelf_router_generator/CHANGELOG.md index af47f35b..9a4602da 100644 --- a/pkgs/shelf_router_generator/CHANGELOG.md +++ b/pkgs/shelf_router_generator/CHANGELOG.md @@ -1,4 +1,6 @@ -## v1.0.3-dev +## v1.0.3 + +* Update the pubspec `repository` field. ## v1.0.2 @@ -10,9 +12,9 @@ ## v1.0.0 - * Support update-to-date dependencies. - * Migrate implementation to null safety. - * Generate null-safe code. +* Support update-to-date dependencies. +* Migrate implementation to null safety. +* Generate null-safe code. ## v0.7.2+4 diff --git a/pkgs/shelf_router_generator/pubspec.yaml b/pkgs/shelf_router_generator/pubspec.yaml index a63aeba8..df20c2d2 100644 --- a/pkgs/shelf_router_generator/pubspec.yaml +++ b/pkgs/shelf_router_generator/pubspec.yaml @@ -1,5 +1,5 @@ name: shelf_router_generator -version: 1.0.3-dev +version: 1.0.3 description: > A package:build compatible builder for generating request routers for the shelf web-framework based on source annotations. diff --git a/pkgs/shelf_static/CHANGELOG.md b/pkgs/shelf_static/CHANGELOG.md index b4711927..6ff76792 100644 --- a/pkgs/shelf_static/CHANGELOG.md +++ b/pkgs/shelf_static/CHANGELOG.md @@ -1,6 +1,7 @@ -## 1.1.1-dev +## 1.1.1 -- Require Dart `2.14`. +* Require Dart `2.14`. +* Update the pubspec `repository` field. ## 1.1.0 diff --git a/pkgs/shelf_static/pubspec.yaml b/pkgs/shelf_static/pubspec.yaml index 823e1cfe..e8a8c389 100644 --- a/pkgs/shelf_static/pubspec.yaml +++ b/pkgs/shelf_static/pubspec.yaml @@ -1,5 +1,5 @@ name: shelf_static -version: 1.1.1-dev +version: 1.1.1 description: Static file server support for the shelf package and ecosystem. repository: https://github.com/dart-lang/shelf/tree/master/pkgs/shelf_static diff --git a/pkgs/shelf_test_handler/CHANGELOG.md b/pkgs/shelf_test_handler/CHANGELOG.md index 4ca8a96c..d15b49fa 100644 --- a/pkgs/shelf_test_handler/CHANGELOG.md +++ b/pkgs/shelf_test_handler/CHANGELOG.md @@ -1,6 +1,7 @@ -## 2.0.1-dev +## 2.0.1 -- Require Dart `2.14`. +* Require Dart `2.14`. +* Update the pubspec `repository` field. ## 2.0.0 diff --git a/pkgs/shelf_test_handler/pubspec.yaml b/pkgs/shelf_test_handler/pubspec.yaml index f57ad93c..8fe3fc02 100644 --- a/pkgs/shelf_test_handler/pubspec.yaml +++ b/pkgs/shelf_test_handler/pubspec.yaml @@ -1,5 +1,5 @@ name: shelf_test_handler -version: 2.0.1-dev +version: 2.0.1 description: A Shelf handler that makes it easy to test HTTP interactions. repository: https://github.com/dart-lang/shelf/tree/master/pkgs/shelf_test_handler diff --git a/pkgs/shelf_web_socket/CHANGELOG.md b/pkgs/shelf_web_socket/CHANGELOG.md index b4b67be5..7d16acc3 100644 --- a/pkgs/shelf_web_socket/CHANGELOG.md +++ b/pkgs/shelf_web_socket/CHANGELOG.md @@ -1,6 +1,7 @@ -## 1.0.2-dev +## 1.0.2 -- Require Dart `2.14`. +* Require Dart `2.14`. +* Update the pubspec `repository` field. ## 1.0.1 diff --git a/pkgs/shelf_web_socket/pubspec.yaml b/pkgs/shelf_web_socket/pubspec.yaml index 9454d961..765092a2 100644 --- a/pkgs/shelf_web_socket/pubspec.yaml +++ b/pkgs/shelf_web_socket/pubspec.yaml @@ -1,5 +1,5 @@ name: shelf_web_socket -version: 1.0.2-dev +version: 1.0.2 description: > A shelf handler that wires up a listener for every connection. repository: https://github.com/dart-lang/shelf/tree/master/pkgs/shelf_web_socket