1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-31 08:12:07 +01:00

prepare router release 0.3.0 (#362)

This commit is contained in:
Rob Ede 2021-06-06 18:43:22 +01:00 committed by GitHub
parent 23b1f63345
commit 6a5ea0342b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -1,10 +1,13 @@
# Changes # Changes
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
* `Path::add` and `add_static` takes `impl Into<Cow<'static, str>>` [#345]
* When matching URL parameters, `%25` is kept in the percent-encoded form - no longer decoded to `%`. [#357]
* Fixed a bug where the `Path` extractor returns unsafe malformed string due to malformed URL. [#359] ## 0.3.0 - 2021-06-06
* Path tail patterns now match `'\n'` in request URL. [#360] * When matching path parameters, `%25` is now kept in the percent-encoded form; no longer decoded to `%`. [#357]
* Path tail patterns now match new lines (`\n`) in request URL. [#360]
* Fixed a safety bug where `Path` could return a malformed string after percent decoding. [#359]
* Methods `Path::{add, add_static}` now take `impl Into<Cow<'static, str>>`. [#345]
[#345]: https://github.com/actix/actix-net/pull/345 [#345]: https://github.com/actix/actix-net/pull/345
[#357]: https://github.com/actix/actix-net/pull/357 [#357]: https://github.com/actix/actix-net/pull/357

View File

@ -1,12 +1,10 @@
[package] [package]
name = "actix-router" name = "actix-router"
version = "0.2.7" version = "0.3.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Resource path matching library" description = "Resource path matching library"
keywords = ["actix", "router", "routing"] keywords = ["actix", "router", "routing"]
homepage = "https://actix.rs" repository = "https://github.com/actix/actix-net"
repository = "https://github.com/actix/actix-net.git"
documentation = "https://docs.rs/actix-router"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2018" edition = "2018"