2019-03-09 23:38:08 +01:00
|
|
|
# Changes
|
|
|
|
|
2021-01-03 05:39:37 +01:00
|
|
|
## Unreleased - 2021-xx-xx
|
2021-07-20 08:43:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
## 0.5.0-beta.1 - 2021-07-20
|
2021-07-19 23:37:54 +02:00
|
|
|
* Fix a bug in multi-patterns where static patterns are interpreted as regex. [#366]
|
|
|
|
* Introduce `ResourceDef::pattern_iter` to get an iterator over all patterns in a multi-pattern resource. [#373]
|
2021-07-15 16:34:49 +02:00
|
|
|
* Fix segment interpolation leaving `Path` in unintended state after matching. [#368]
|
2021-07-20 09:18:50 +02:00
|
|
|
* Fix `ResourceDef` `PartialEq` implementation. [#373]
|
2021-07-19 23:37:54 +02:00
|
|
|
* Re-work `IntoPatterns` trait, adding a `Patterns` enum. [#372]
|
|
|
|
* Implement `IntoPatterns` for `bytestring::ByteString`. [#372]
|
2021-07-16 20:43:48 +02:00
|
|
|
* Rename `Path::{len => segment_count}` to be more descriptive of it's purpose. [#370]
|
2021-07-19 23:37:54 +02:00
|
|
|
* Rename `ResourceDef::{resource_path => resource_path_from_iter}`. [#371]
|
|
|
|
* `ResourceDef::resource_path_from_iter` now takes an `IntoIterator`. [#373]
|
|
|
|
* Rename `ResourceDef::{resource_path_named => resource_path_from_map}`. [#371]
|
|
|
|
* Rename `ResourceDef::{is_prefix_match => find_match}`. [#373]
|
|
|
|
* Rename `ResourceDef::{match_path => capture_match_info}`. [#373]
|
|
|
|
* Rename `ResourceDef::{match_path_checked => capture_match_info_fn}`. [#373]
|
|
|
|
* Remove `ResourceDef::name_mut` and introduce `ResourceDef::set_name`. [#373]
|
|
|
|
* Rename `Router::{*_checked => *_fn}`. [#373]
|
|
|
|
* Return type of `ResourceDef::name` is now `Option<&str>`. [#373]
|
|
|
|
* Return type of `ResourceDef::pattern` is now `Option<&str>`. [#373]
|
2021-07-15 16:34:49 +02:00
|
|
|
|
|
|
|
[#368]: https://github.com/actix/actix-net/pull/368
|
2021-07-16 19:17:00 +02:00
|
|
|
[#366]: https://github.com/actix/actix-net/pull/366
|
2021-07-16 20:43:48 +02:00
|
|
|
[#368]: https://github.com/actix/actix-net/pull/368
|
|
|
|
[#370]: https://github.com/actix/actix-net/pull/370
|
2021-07-16 22:41:57 +02:00
|
|
|
[#371]: https://github.com/actix/actix-net/pull/371
|
2021-07-17 02:06:23 +02:00
|
|
|
[#372]: https://github.com/actix/actix-net/pull/372
|
2021-07-19 23:37:54 +02:00
|
|
|
[#373]: https://github.com/actix/actix-net/pull/373
|
2021-06-06 19:43:22 +02:00
|
|
|
|
|
|
|
|
2021-06-06 19:48:27 +02:00
|
|
|
## 0.4.0 - 2021-06-06
|
2021-06-06 19:43:22 +02:00
|
|
|
* 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]
|
2021-06-05 18:34:16 +02:00
|
|
|
|
2021-06-05 20:24:30 +02:00
|
|
|
[#345]: https://github.com/actix/actix-net/pull/345
|
2021-06-05 18:34:16 +02:00
|
|
|
[#357]: https://github.com/actix/actix-net/pull/357
|
2021-06-05 19:29:00 +02:00
|
|
|
[#359]: https://github.com/actix/actix-net/pull/359
|
2021-06-06 04:38:58 +02:00
|
|
|
[#360]: https://github.com/actix/actix-net/pull/360
|
2021-02-06 20:50:48 +01:00
|
|
|
|
2021-06-08 18:48:30 +02:00
|
|
|
|
2021-06-06 19:48:27 +02:00
|
|
|
## 0.3.0 - 2019-12-31
|
|
|
|
* Version was yanked previously. See https://crates.io/crates/actix-router/0.3.0
|
|
|
|
|
2021-02-06 20:50:48 +01:00
|
|
|
|
|
|
|
## 0.2.7 - 2021-02-06
|
2021-01-23 04:06:22 +01:00
|
|
|
* Add `Router::recognize_checked` [#247]
|
|
|
|
|
|
|
|
[#247]: https://github.com/actix/actix-net/pull/247
|
2021-06-05 20:24:30 +02:00
|
|
|
|
2021-01-09 15:18:20 +01:00
|
|
|
|
|
|
|
## 0.2.6 - 2021-01-09
|
2021-01-09 15:13:16 +01:00
|
|
|
* Use `bytestring` version range compatible with Bytes v1.0. [#246]
|
|
|
|
|
|
|
|
[#246]: https://github.com/actix/actix-net/pull/246
|
2020-09-20 19:04:18 +02:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
|
|
|
|
## 0.2.5 - 2020-09-20
|
2020-09-20 19:04:18 +02:00
|
|
|
* Fix `from_hex()` method
|
|
|
|
|
2019-12-31 13:02:43 +01:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.2.4 - 2019-12-31
|
2019-12-31 13:02:43 +01:00
|
|
|
* Add `ResourceDef::resource_path_named()` path generation method
|
2019-12-31 07:04:35 +01:00
|
|
|
|
2019-12-25 18:34:14 +01:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.2.3 - 2019-12-25
|
2019-12-25 18:34:14 +01:00
|
|
|
* Add impl `IntoPattern` for `&String`
|
|
|
|
|
2019-12-25 18:01:07 +01:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.2.2 - 2019-12-25
|
2019-12-25 18:01:07 +01:00
|
|
|
* Use `IntoPattern` for `RouterBuilder::path()`
|
|
|
|
|
2019-12-25 12:10:01 +01:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.2.1 - 2019-12-25
|
2019-12-25 16:54:20 +01:00
|
|
|
* Add `IntoPattern` trait
|
2019-12-25 12:10:01 +01:00
|
|
|
* Add multi-pattern resources
|
|
|
|
|
2019-12-05 11:40:24 +01:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.2.0 - 2019-12-07
|
2019-12-05 11:40:24 +01:00
|
|
|
* Update http to 0.2
|
|
|
|
* Update regex to 1.3
|
2019-12-07 06:04:53 +01:00
|
|
|
* Use bytestring instead of string
|
|
|
|
|
2019-05-15 19:29:10 +02:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.1.5 - 2019-05-15
|
2019-05-15 19:29:10 +02:00
|
|
|
* Remove debug prints
|
|
|
|
|
2019-05-15 19:21:29 +02:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.1.4 - 2019-05-15
|
2019-05-15 19:21:29 +02:00
|
|
|
* Fix checked resource match
|
|
|
|
|
2019-04-23 06:19:22 +02:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.1.3 - 2019-04-22
|
2019-04-23 06:19:22 +02:00
|
|
|
* Added support for `remainder match` (i.e "/path/{tail}*")
|
|
|
|
|
2019-04-08 07:48:18 +02:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.1.2 - 2019-04-07
|
2019-04-08 07:48:18 +02:00
|
|
|
* Export `Quoter` type
|
|
|
|
* Allow to reset `Path` instance
|
|
|
|
|
2019-04-04 06:40:21 +02:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.1.1 - 2019-04-03
|
2019-04-04 06:40:21 +02:00
|
|
|
* Get dynamic segment by name instead of iterator.
|
|
|
|
|
2019-03-09 23:38:08 +01:00
|
|
|
|
2020-09-21 23:46:59 +02:00
|
|
|
## 0.1.0 - 2019-03-09
|
2019-03-09 23:38:08 +01:00
|
|
|
* Initial release
|