1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-27 17:22:57 +01:00

prepare aplha2 release

This commit is contained in:
Nikolay Kim 2019-03-29 22:06:14 -07:00
parent d846328f36
commit a20b9fd354
13 changed files with 65 additions and 64 deletions

View File

@ -2,8 +2,14 @@
## [1.0.0-alpha.2] - 2019-03-29 ## [1.0.0-alpha.2] - 2019-03-29
### Added
* rustls support
### Changed ### Changed
* use forked cookie
* multipart::Field renamed to MultipartField * multipart::Field renamed to MultipartField
## [1.0.0-alpha.1] - 2019-03-28 ## [1.0.0-alpha.1] - 2019-03-28

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-web" name = "actix-web"
version = "1.0.0-alpha.1" version = "1.0.0-alpha.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust." description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
readme = "README.md" readme = "README.md"
@ -71,11 +71,11 @@ actix-utils = "0.3.4"
actix-router = "0.1.0" actix-router = "0.1.0"
actix-rt = "0.2.2" actix-rt = "0.2.2"
actix-web-codegen = "0.1.0-alpha.1" actix-web-codegen = "0.1.0-alpha.1"
actix-http = { path = "actix-http", features=["fail"] } actix-http = { version = "0.1.0-alpha.2", features=["fail"] }
actix-server = "0.4.1" actix-server = "0.4.1"
actix-server-config = "0.1.0" actix-server-config = "0.1.0"
actix-threadpool = "0.1.0" actix-threadpool = "0.1.0"
awc = { path = "awc", optional = true } awc = { version = "0.1.0-alpha.2", optional = true }
bytes = "0.4" bytes = "0.4"
derive_more = "0.14" derive_more = "0.14"
@ -100,8 +100,8 @@ openssl = { version="0.10", optional = true }
rustls = { version = "^0.15", optional = true } rustls = { version = "^0.15", optional = true }
[dev-dependencies] [dev-dependencies]
actix-http = { path = "actix-http", features=["ssl", "brotli", "flate2-zlib"] } actix-http = { version = "0.1.0-alpha.2", features=["ssl", "brotli", "flate2-zlib"] }
actix-http-test = { path = "test-server", features=["ssl"] } actix-http-test = { version = "0.1.0-alpha.2", features=["ssl"] }
rand = "0.6" rand = "0.6"
env_logger = "0.6" env_logger = "0.6"
serde_derive = "1.0" serde_derive = "1.0"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-files" name = "actix-files"
version = "0.1.0-alpha.1" version = "0.1.0-alpha.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Static files support for actix web." description = "Static files support for actix web."
readme = "README.md" readme = "README.md"
@ -18,10 +18,8 @@ name = "actix_files"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies] [dependencies]
#actix-web = "1.0.0-alpha.1" actix-web = "1.0.0-alpha.2"
actix-web = { path = ".." } actix-service = "0.3.4"
actix-service = "0.3.3"
bitflags = "1" bitflags = "1"
bytes = "0.4" bytes = "0.4"
futures = "0.1.25" futures = "0.1.25"
@ -33,5 +31,4 @@ percent-encoding = "1.0"
v_htmlescape = "0.4" v_htmlescape = "0.4"
[dev-dependencies] [dev-dependencies]
#actix-web = { version = "1.0.0-alpha.1", features=["ssl"] } actix-web = { version = "1.0.0-alpha.2", features=["ssl"] }
actix-web = { path = "..", features=["ssl"] }

View File

@ -100,9 +100,7 @@ openssl = { version="0.10", optional = true }
actix-rt = "0.2.2" actix-rt = "0.2.2"
actix-server = { version = "0.4.1", features=["ssl"] } actix-server = { version = "0.4.1", features=["ssl"] }
actix-connect = { version = "0.1.0", features=["ssl"] } actix-connect = { version = "0.1.0", features=["ssl"] }
#actix-http-test = { version = "0.1.0-alpha.1", features=["ssl"] } actix-http-test = { version = "0.1.0-alpha.2", features=["ssl"] }
actix-http-test = { path = "../test-server", features=["ssl"] }
env_logger = "0.6" env_logger = "0.6"
serde_derive = "1.0" serde_derive = "1.0"
openssl = { version="0.10" } openssl = { version="0.10" }

View File

@ -333,11 +333,10 @@ impl ResponseBuilder {
/// Set a header. /// Set a header.
/// ///
/// ```rust,ignore /// ```rust
/// # extern crate actix_web; /// use actix_http::{http, Request, Response, Result};
/// use actix_web::{http, Request, Response, Result};
/// ///
/// fn index(req: HttpRequest) -> Result<Response> { /// fn index(req: Request) -> Result<Response> {
/// Ok(Response::Ok() /// Ok(Response::Ok()
/// .set(http::header::IfModifiedSince( /// .set(http::header::IfModifiedSince(
/// "Sun, 07 Nov 1994 08:48:37 GMT".parse()?, /// "Sun, 07 Nov 1994 08:48:37 GMT".parse()?,
@ -361,11 +360,10 @@ impl ResponseBuilder {
/// Append a header to existing headers. /// Append a header to existing headers.
/// ///
/// ```rust,ignore /// ```rust
/// # extern crate actix_web; /// use actix_http::{http, Request, Response};
/// use actix_web::{http, Request, Response};
/// ///
/// fn index(req: HttpRequest) -> Response { /// fn index(req: Request) -> Response {
/// Response::Ok() /// Response::Ok()
/// .header("X-TEST", "value") /// .header("X-TEST", "value")
/// .header(http::header::CONTENT_TYPE, "application/json") /// .header(http::header::CONTENT_TYPE, "application/json")
@ -394,11 +392,10 @@ impl ResponseBuilder {
/// Set a header. /// Set a header.
/// ///
/// ```rust,ignore /// ```rust
/// # extern crate actix_web; /// use actix_http::{http, Request, Response};
/// use actix_web::{http, Request, Response};
/// ///
/// fn index(req: HttpRequest) -> Response { /// fn index(req: Request) -> Response {
/// Response::Ok() /// Response::Ok()
/// .set_header("X-TEST", "value") /// .set_header("X-TEST", "value")
/// .set_header(http::header::CONTENT_TYPE, "application/json") /// .set_header(http::header::CONTENT_TYPE, "application/json")
@ -500,11 +497,10 @@ impl ResponseBuilder {
/// Set a cookie /// Set a cookie
/// ///
/// ```rust,ignore /// ```rust
/// # extern crate actix_web; /// use actix_http::{http, Request, Response};
/// use actix_web::{http, HttpRequest, Response, Result};
/// ///
/// fn index(req: HttpRequest) -> Response { /// fn index(req: Request) -> Response {
/// Response::Ok() /// Response::Ok()
/// .cookie( /// .cookie(
/// http::Cookie::build("name", "value") /// http::Cookie::build("name", "value")
@ -530,11 +526,10 @@ impl ResponseBuilder {
/// Remove cookie /// Remove cookie
/// ///
/// ```rust,ignore /// ```rust
/// # extern crate actix_web; /// use actix_http::{http, Request, Response, HttpMessage};
/// use actix_web::{http, HttpRequest, Response, Result};
/// ///
/// fn index(req: &HttpRequest) -> Response { /// fn index(req: Request) -> Response {
/// let mut builder = Response::Ok(); /// let mut builder = Response::Ok();
/// ///
/// if let Some(ref cookie) = req.cookie("name") { /// if let Some(ref cookie) = req.cookie("name") {

View File

@ -1,5 +1,11 @@
# Changes # Changes
## [0.1.0-alpha.2] - 2019-03-29
* Update actix-web
* Use new feature name for secure cookies
## [0.1.0-alpha.1] - 2019-03-28 ## [0.1.0-alpha.1] - 2019-03-28
* Initial impl * Initial impl

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-session" name = "actix-session"
version = "0.1.0-alpha.1" version = "0.1.0-alpha.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Session for actix web framework." description = "Session for actix web framework."
readme = "README.md" readme = "README.md"
@ -24,9 +24,8 @@ default = ["cookie-session"]
cookie-session = ["actix-web/secure-cookies"] cookie-session = ["actix-web/secure-cookies"]
[dependencies] [dependencies]
#actix-web = "1.0.0-alpha.1" actix-web = "1.0.0-alpha.2"
actix-web = { path = ".." } actix-service = "0.3.4"
actix-service = "0.3.3"
bytes = "0.4" bytes = "0.4"
derive_more = "0.14" derive_more = "0.14"
futures = "0.1.25" futures = "0.1.25"

View File

@ -1,5 +1,9 @@
# Changes # Changes
## [0.1.0-alpha.2] - 2019-03-29
* Update actix-http and actix-web
## [0.1.0-alpha.1] - 2019-03-28 ## [0.1.0-alpha.1] - 2019-03-28
* Initial impl * Initial impl

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-web-actors" name = "actix-web-actors"
version = "1.0.0-alpha.1" version = "1.0.0-alpha.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix actors support for actix web framework." description = "Actix actors support for actix web framework."
readme = "README.md" readme = "README.md"
@ -19,15 +19,12 @@ path = "src/lib.rs"
[dependencies] [dependencies]
actix = "0.8.0-alpha.2" actix = "0.8.0-alpha.2"
#actix-web = "1.0.0-alpha.1" actix-web = "1.0.0-alpha.2"
#actix-http = "0.1.0-alpha.1" actix-http = "0.1.0-alpha.2"
actix-web = { path=".." }
actix-http = { path="../actix-http" }
actix-codec = "0.1.2" actix-codec = "0.1.2"
bytes = "0.4" bytes = "0.4"
futures = "0.1.25" futures = "0.1.25"
[dev-dependencies] [dev-dependencies]
env_logger = "0.6" env_logger = "0.6"
#actix-http-test = { version = "0.1.0-alpha.1", features=["ssl"] } actix-http-test = { version = "0.1.0-alpha.2", features=["ssl"] }
actix-http-test = { path = "../test-server", features=["ssl"] }

View File

@ -16,9 +16,6 @@ quote = "0.6"
syn = { version = "0.15", features = ["full", "parsing"] } syn = { version = "0.15", features = ["full", "parsing"] }
[dev-dependencies] [dev-dependencies]
#actix-web = { version = "1.0.0-alpha.1" } actix-web = { version = "1.0.0-alpha.2" }
#actix-http = { version = "0.1.0-alpha.1", features=["ssl"] } actix-http = { version = "0.1.0-alpha.2", features=["ssl"] }
#actix-http-test = { version = "0.1.0-alpha.1", features=["ssl"] } actix-http-test = { version = "0.1.0-alpha.2", features=["ssl"] }
actix-web = { path = ".." }
actix-http = { path = "../actix-http", features=["ssl"] }
actix-http-test = { path = "../test-server", features=["ssl"] }

View File

@ -38,7 +38,7 @@ flate2-rust = ["actix-http/flate2-rust"]
[dependencies] [dependencies]
actix-codec = "0.1.1" actix-codec = "0.1.1"
actix-service = "0.3.4" actix-service = "0.3.4"
actix-http = { path = "../actix-http" } actix-http = "0.1.0-alpa.2"
base64 = "0.10.1" base64 = "0.10.1"
bytes = "0.4" bytes = "0.4"
derive_more = "0.14" derive_more = "0.14"
@ -54,11 +54,11 @@ openssl = { version="0.10", optional = true }
[dev-dependencies] [dev-dependencies]
actix-rt = "0.2.2" actix-rt = "0.2.2"
actix-web = { path = "..", features=["ssl"] } actix-web = { version = "1.0.0-alpha.2", features=["ssl"] }
actix-http = { path = "../actix-http", features=["ssl"] } actix-http = { version = "0.1.0-alpa.2", features=["ssl"] }
actix-http-test = { path = "../test-server", features=["ssl"] } actix-http-test = { version = "0.1.0-alpha.2", features=["ssl"] }
actix-utils = "0.3.4" actix-utils = "0.3.4"
actix-server = { version = "0.4.0", features=["ssl"] } actix-server = { version = "0.4.1", features=["ssl"] }
brotli2 = { version="0.3.2" } brotli2 = { version="0.3.2" }
flate2 = { version="1.0.2" } flate2 = { version="1.0.2" }
env_logger = "0.6" env_logger = "0.6"

View File

@ -1,5 +1,12 @@
# Changes # Changes
## [0.1.0-alpha.2] - 2019-03-29
* Added TestServerRuntime::load_body() method
* Update actix-http and awc libraries
## [0.1.0-alpha.1] - 2019-03-28 ## [0.1.0-alpha.1] - 2019-03-28
* Initial impl * Initial impl

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-http-test" name = "actix-http-test"
version = "0.1.0-alpha.1" version = "0.1.0-alpha.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix http test server" description = "Actix http test server"
readme = "README.md" readme = "README.md"
@ -35,7 +35,7 @@ actix-rt = "0.2.1"
actix-service = "0.3.4" actix-service = "0.3.4"
actix-server = "0.4.0" actix-server = "0.4.0"
actix-utils = "0.3.4" actix-utils = "0.3.4"
awc = { path = "../awc" } awc = "0.1.0-alpha.2"
base64 = "0.10" base64 = "0.10"
bytes = "0.4" bytes = "0.4"
@ -52,9 +52,4 @@ serde_urlencoded = "0.5.3"
time = "0.1" time = "0.1"
tokio-tcp = "0.1" tokio-tcp = "0.1"
tokio-timer = "0.2" tokio-timer = "0.2"
openssl = { version="0.10", optional = true } openssl = { version="0.10", optional = true }
[dev-dependencies]
actix-web = { path = ".." }
actix-http = { path = "../actix-http" }