From ad7c6d26332395e4693a68da8c15de799b259ca5 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Wed, 15 Jul 2020 00:44:44 +0100 Subject: [PATCH] prepare actix-web v3.0.0-beta.1 release (#1600) --- CHANGES.md | 14 ++++---------- Cargo.toml | 6 +++--- actix-web-codegen/CHANGES.md | 11 ++++++----- actix-web-codegen/Cargo.toml | 4 ++-- 4 files changed, 15 insertions(+), 20 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 8f15eea1..149ff8fc 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,38 +1,32 @@ # Changes -## [Unreleased] +## Unreleased - 2020-xx-xx + +## 3.0.0-beta.1 - 2020-07-13 ### Added - * Re-export `actix_rt::main` as `actix_web::main`. * `HttpRequest::match_pattern` and `ServiceRequest::match_pattern` for extracting the matched resource pattern. * `HttpRequest::match_name` and `ServiceRequest::match_name` for extracting matched resource name. ### Changed - * Fix actix_http::h1::dispatcher so it returns when HW_BUFFER_SIZE is reached. Should reduce peak memory consumption during large uploads. [#1550] * Migrate cookie handling to `cookie` crate. Actix-web no longer requires `ring` dependency. * MSRV is now 1.41.1 ### Fixed - * `NormalizePath` improved consistency when path needs slashes added _and_ removed. -## [3.0.0-alpha.3] - 2020-05-21 +## 3.0.0-alpha.3 - 2020-05-21 ### Added - * Add option to create `Data` from `Arc` [#1509] ### Changed - * Resources and Scopes can now access non-overridden data types set on App (or containing scopes) when setting their own data. [#1486] - * Fix audit issue logging by default peer address [#1485] - * Bump minimum supported Rust version to 1.40 - * Replace deprecated `net2` crate with `socket2` [#1485]: https://github.com/actix/actix-web/pull/1485 diff --git a/Cargo.toml b/Cargo.toml index 146c4004..49de9fd9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-web" -version = "3.0.0-alpha.3" +version = "3.0.0-beta.1" authors = ["Nikolay Kim "] description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust." readme = "README.md" @@ -76,9 +76,9 @@ actix-macros = "0.1.0" actix-threadpool = "0.3.1" actix-tls = "2.0.0-alpha.1" -actix-web-codegen = "0.2.2" +actix-web-codegen = "0.3.0-beta.1" actix-http = "2.0.0-alpha.4" -awc = { version = "2.0.0-alpha.2", default-features = false } +awc = { version = "2.0.0-beta.1", default-features = false } bytes = "0.5.3" derive_more = "0.99.2" diff --git a/actix-web-codegen/CHANGES.md b/actix-web-codegen/CHANGES.md index 8259aaac..242c5f8d 100644 --- a/actix-web-codegen/CHANGES.md +++ b/actix-web-codegen/CHANGES.md @@ -1,18 +1,20 @@ # Changes -## [Unreleased] - XXXX-XX-XX +## Unreleased - 2020-xx-xx -* Add main entry-point macro that uses re-exported runtime. + +## 0.3.0-beta.1 - 2020-07-14 +* Add main entry-point macro that uses re-exported runtime. [#1559] + +[#1559]: https://github.com/actix/actix-web/pull/1559 ## [0.2.2] - 2020-05-23 - * Add resource middleware on actix-web-codegen [#1467] [#1467]: https://github.com/actix/actix-web/pull/1467 ## [0.2.1] - 2020-02-25 - * Add `#[allow(missing_docs)]` attribute to generated structs [#1368] * Allow the handler function to be named as `config` [#1290] @@ -26,7 +28,6 @@ ## [0.1.3] - 2019-10-14 * Bump up `syn` & `quote` to 1.0 - * Provide better error message ## [0.1.2] - 2019-06-04 diff --git a/actix-web-codegen/Cargo.toml b/actix-web-codegen/Cargo.toml index 10c33ea7..070c0989 100644 --- a/actix-web-codegen/Cargo.toml +++ b/actix-web-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-web-codegen" -version = "0.2.2" +version = "0.3.0-beta.1" description = "Actix web proc macros" readme = "README.md" homepage = "https://actix.rs" @@ -20,5 +20,5 @@ proc-macro2 = "1" [dev-dependencies] actix-rt = "1.0.0" -actix-web = "3.0.0-alpha.3" +actix-web = "3.0.0-beta.1" futures-util = { version = "0.3.5", default-features = false }