1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 18:02:58 +01:00

chore: remove dates from changelogs

This commit is contained in:
Rob Ede 2023-09-17 20:25:58 +01:00
parent c69b8e9ade
commit 4a7f2c95af
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
9 changed files with 154 additions and 144 deletions

View File

@ -111,11 +111,13 @@ jobs:
- name: Install Rust (nightly) - name: Install Rust (nightly)
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1
with: { toolchain: nightly } with:
toolchain: nightly
- name: Install cargo-hack & cargo-minimal-versions - name: Install cargo-hack & cargo-minimal-versions
uses: taiki-e/install-action@v1 uses: taiki-e/install-action@v1
with: { tool: 'cargo-hack,cargo-minimal-versions' } with:
tool: cargo-hack,cargo-minimal-versions
- name: Check With Minimal Versions - name: Check With Minimal Versions
run: cargo minimal-versions check run: cargo minimal-versions check

View File

@ -1,27 +1,27 @@
# Changes # Changes
## Unreleased - 2023-xx-xx ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.65. - Minimum supported Rust version (MSRV) is now 1.65.
## 0.5.1 - 2022-03-15 ## 0.5.1
- Logs emitted now use the `tracing` crate with `log` compatibility. [#451] - Logs emitted now use the `tracing` crate with `log` compatibility. [#451]
- Minimum supported Rust version (MSRV) is now 1.49. - Minimum supported Rust version (MSRV) is now 1.49.
[#451]: https://github.com/actix/actix-net/pull/451 [#451]: https://github.com/actix/actix-net/pull/451
## 0.5.0 - 2022-02-15 ## 0.5.0
- Updated `tokio-util` dependency to `0.7.0`. [#446] - Updated `tokio-util` dependency to `0.7.0`. [#446]
[#446]: https://github.com/actix/actix-net/pull/446 [#446]: https://github.com/actix/actix-net/pull/446
## 0.4.2 - 2021-12-31 ## 0.4.2
- No significant changes since `0.4.1`. - No significant changes since `0.4.1`.
## 0.4.1 - 2021-11-05 ## 0.4.1
- Added `LinesCodec.` [#338] - Added `LinesCodec.` [#338]
- `Framed::poll_ready` flushes when the buffer is full. [#409] - `Framed::poll_ready` flushes when the buffer is full. [#409]
@ -29,11 +29,11 @@
[#338]: https://github.com/actix/actix-net/pull/338 [#338]: https://github.com/actix/actix-net/pull/338
[#409]: https://github.com/actix/actix-net/pull/409 [#409]: https://github.com/actix/actix-net/pull/409
## 0.4.0 - 2021-04-20 ## 0.4.0
- No significant changes since v0.4.0-beta.1. - No significant changes since v0.4.0-beta.1.
## 0.4.0-beta.1 - 2020-12-28 ## 0.4.0-beta.1
- Replace `pin-project` with `pin-project-lite`. [#237] - Replace `pin-project` with `pin-project-lite`. [#237]
- Upgrade `tokio` dependency to `1`. [#237] - Upgrade `tokio` dependency to `1`. [#237]
@ -42,15 +42,15 @@
[#237]: https://github.com/actix/actix-net/pull/237 [#237]: https://github.com/actix/actix-net/pull/237
## 0.3.0 - 2020-08-23 ## 0.3.0
- No changes from beta 2. - No changes from beta 2.
## 0.3.0-beta.2 - 2020-08-19 ## 0.3.0-beta.2
- Remove unused type parameter from `Framed::replace_codec`. - Remove unused type parameter from `Framed::replace_codec`.
## 0.3.0-beta.1 - 2020-08-19 ## 0.3.0-beta.1
- Use `.advance()` instead of `.split_to()`. - Use `.advance()` instead of `.split_to()`.
- Upgrade `tokio-util` to `0.3`. - Upgrade `tokio-util` to `0.3`.
@ -60,7 +60,7 @@
- Add method on `Framed` to get a pinned reference to the underlying I/O. - Add method on `Framed` to get a pinned reference to the underlying I/O.
- Add method on `Framed` check emptiness of read buffer. - Add method on `Framed` check emptiness of read buffer.
## 0.2.0 - 2019-12-10 ## 0.2.0
- Use specific futures dependencies. - Use specific futures dependencies.
@ -77,14 +77,14 @@
- Migrated to `std::future`. - Migrated to `std::future`.
## 0.1.2 - 2019-03-27 ## 0.1.2
- Added `Framed::map_io()` method. - Added `Framed::map_io()` method.
## 0.1.1 - 2019-03-06 ## 0.1.1
- Added `FramedParts::with_read_buffer()` method. - Added `FramedParts::with_read_buffer()` method.
## 0.1.0 - 2018-12-09 ## 0.1.0
- Move codec to separate crate. - Move codec to separate crate.

View File

@ -7,12 +7,17 @@ authors = [
"Rob Ede <robjtede@icloud.com>", "Rob Ede <robjtede@icloud.com>",
] ]
description = "Macros for Actix system and runtime" description = "Macros for Actix system and runtime"
repository = "https://github.com/actix/actix-net.git" repository = "https://github.com/actix/actix-net"
categories = ["network-programming", "asynchronous"] categories = ["network-programming", "asynchronous"]
license = "MIT OR Apache-2.0" license.workspace = true
edition.workspace = true edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
[package.metadata.cargo-machete]
ignored = [
"proc_macro2", # specified for minimal versions compat
]
[lib] [lib]
proc-macro = true proc-macro = true
@ -20,6 +25,9 @@ proc-macro = true
quote = "1" quote = "1"
syn = { version = "2", features = ["full"] } syn = { version = "2", features = ["full"] }
# minimal versions compat
proc-macro2 = "1.0.60"
[dev-dependencies] [dev-dependencies]
actix-rt = "2" actix-rt = "2"

View File

@ -1,6 +1,6 @@
# Changes # Changes
## Unreleased - 2023-xx-xx ## Unreleased
## 2.9.0 ## 2.9.0
@ -8,7 +8,7 @@
- Add `actix_rt::Runtime::tokio_runtime()` method to retrieve the underlying Tokio runtime. - Add `actix_rt::Runtime::tokio_runtime()` method to retrieve the underlying Tokio runtime.
- Minimum supported Rust version (MSRV) is now 1.65. - Minimum supported Rust version (MSRV) is now 1.65.
## 2.8.0 - 2022-12-21 ## 2.8.0
- Add `#[track_caller]` attribute to `spawn` functions and methods. [#454] - Add `#[track_caller]` attribute to `spawn` functions and methods. [#454]
- Update `tokio-uring` dependency to `0.4`. [#473] - Update `tokio-uring` dependency to `0.4`. [#473]
@ -17,32 +17,32 @@
[#454]: https://github.com/actix/actix-net/pull/454 [#454]: https://github.com/actix/actix-net/pull/454
[#473]: https://github.com/actix/actix-net/pull/473 [#473]: https://github.com/actix/actix-net/pull/473
## 2.7.0 - 2022-03-08 ## 2.7.0
- Update `tokio-uring` dependency to `0.3`. [#448] - Update `tokio-uring` dependency to `0.3`. [#448]
- Minimum supported Rust version (MSRV) is now 1.49. - Minimum supported Rust version (MSRV) is now 1.49.
[#448]: https://github.com/actix/actix-net/pull/448 [#448]: https://github.com/actix/actix-net/pull/448
## 2.6.0 - 2022-01-12 ## 2.6.0
- Update `tokio-uring` dependency to `0.2`. [#436] - Update `tokio-uring` dependency to `0.2`. [#436]
[#436]: https://github.com/actix/actix-net/pull/436 [#436]: https://github.com/actix/actix-net/pull/436
## 2.5.1 - 2021-12-31 ## 2.5.1
- Expose `System::with_tokio_rt` and `Arbiter::with_tokio_rt`. [#430] - Expose `System::with_tokio_rt` and `Arbiter::with_tokio_rt`. [#430]
[#430]: https://github.com/actix/actix-net/pull/430 [#430]: https://github.com/actix/actix-net/pull/430
## 2.5.0 - 2021-11-22 ## 2.5.0
- Add `System::run_with_code` to allow retrieving the exit code on stop. [#411] - Add `System::run_with_code` to allow retrieving the exit code on stop. [#411]
[#411]: https://github.com/actix/actix-net/pull/411 [#411]: https://github.com/actix/actix-net/pull/411
## 2.4.0 - 2021-11-05 ## 2.4.0
- Add `Arbiter::try_current` for situations where thread may or may not have Arbiter context. [#408] - Add `Arbiter::try_current` for situations where thread may or may not have Arbiter context. [#408]
- Start io-uring with `System::new` when feature is enabled. [#395] - Start io-uring with `System::new` when feature is enabled. [#395]
@ -50,7 +50,7 @@
[#395]: https://github.com/actix/actix-net/pull/395 [#395]: https://github.com/actix/actix-net/pull/395
[#408]: https://github.com/actix/actix-net/pull/408 [#408]: https://github.com/actix/actix-net/pull/408
## 2.3.0 - 2021-10-11 ## 2.3.0
- The `spawn` method can now resolve with non-unit outputs. [#369] - The `spawn` method can now resolve with non-unit outputs. [#369]
- Add experimental (semver-exempt) `io-uring` feature for enabling async file I/O on linux. [#374] - Add experimental (semver-exempt) `io-uring` feature for enabling async file I/O on linux. [#374]
@ -58,14 +58,14 @@
[#369]: https://github.com/actix/actix-net/pull/369 [#369]: https://github.com/actix/actix-net/pull/369
[#374]: https://github.com/actix/actix-net/pull/374 [#374]: https://github.com/actix/actix-net/pull/374
## 2.2.0 - 2021-03-29 ## 2.2.0
- **BREAKING** `ActixStream::{poll_read_ready, poll_write_ready}` methods now return `Ready` object in ok variant. [#293] - **BREAKING** `ActixStream::{poll_read_ready, poll_write_ready}` methods now return `Ready` object in ok variant. [#293]
- Breakage is acceptable since `ActixStream` was not intended to be public. - Breakage is acceptable since `ActixStream` was not intended to be public.
[#293]: https://github.com/actix/actix-net/pull/293 [#293]: https://github.com/actix/actix-net/pull/293
## 2.1.0 - 2021-02-24 ## 2.1.0
- Add `ActixStream` extension trait to include readiness methods. [#276] - Add `ActixStream` extension trait to include readiness methods. [#276]
- Re-export `tokio::net::TcpSocket` in `net` module [#282] - Re-export `tokio::net::TcpSocket` in `net` module [#282]
@ -73,7 +73,7 @@
[#276]: https://github.com/actix/actix-net/pull/276 [#276]: https://github.com/actix/actix-net/pull/276
[#282]: https://github.com/actix/actix-net/pull/282 [#282]: https://github.com/actix/actix-net/pull/282
## 2.0.2 - 2021-02-06 ## 2.0.2
- Add `Arbiter::handle` to get a handle of an owned Arbiter. [#274] - Add `Arbiter::handle` to get a handle of an owned Arbiter. [#274]
- Add `System::try_current` for situations where actix may or may not be running a System. [#275] - Add `System::try_current` for situations where actix may or may not be running a System. [#275]
@ -81,20 +81,20 @@
[#274]: https://github.com/actix/actix-net/pull/274 [#274]: https://github.com/actix/actix-net/pull/274
[#275]: https://github.com/actix/actix-net/pull/275 [#275]: https://github.com/actix/actix-net/pull/275
## 2.0.1 - 2021-02-06 ## 2.0.1
- Expose `JoinError` from Tokio. [#271] - Expose `JoinError` from Tokio. [#271]
[#271]: https://github.com/actix/actix-net/pull/271 [#271]: https://github.com/actix/actix-net/pull/271
## 2.0.0 - 2021-02-02 ## 2.0.0
- Remove all Arbiter-local storage methods. [#262] - Remove all Arbiter-local storage methods. [#262]
- Re-export `tokio::pin`. [#262] - Re-export `tokio::pin`. [#262]
[#262]: https://github.com/actix/actix-net/pull/262 [#262]: https://github.com/actix/actix-net/pull/262
## 2.0.0-beta.3 - 2021-01-31 ## 2.0.0-beta.3
- Remove `run_in_tokio`, `attach_to_tokio` and `AsyncSystemRunner`. [#253] - Remove `run_in_tokio`, `attach_to_tokio` and `AsyncSystemRunner`. [#253]
- Return `JoinHandle` from `actix_rt::spawn`. [#253] - Return `JoinHandle` from `actix_rt::spawn`. [#253]
@ -118,14 +118,14 @@
[#256]: https://github.com/actix/actix-net/pull/256 [#256]: https://github.com/actix/actix-net/pull/256
[#257]: https://github.com/actix/actix-net/pull/257 [#257]: https://github.com/actix/actix-net/pull/257
## 2.0.0-beta.2 - 2021-01-09 ## 2.0.0-beta.2
- Add `task` mod with re-export of `tokio::task::{spawn_blocking, yield_now, JoinHandle}` [#245] - Add `task` mod with re-export of `tokio::task::{spawn_blocking, yield_now, JoinHandle}` [#245]
- Add default "macros" feature to allow faster compile times when using `default-features=false`. - Add default "macros" feature to allow faster compile times when using `default-features=false`.
[#245]: https://github.com/actix/actix-net/pull/245 [#245]: https://github.com/actix/actix-net/pull/245
## 2.0.0-beta.1 - 2020-12-28 ## 2.0.0-beta.1
- Add `System::attach_to_tokio` method. [#173] - Add `System::attach_to_tokio` method. [#173]
- Update `tokio` dependency to `1.0`. [#236] - Update `tokio` dependency to `1.0`. [#236]
@ -139,13 +139,13 @@
[#207]: https://github.com/actix/actix-net/pull/207 [#207]: https://github.com/actix/actix-net/pull/207
[#236]: https://github.com/actix/actix-net/pull/236 [#236]: https://github.com/actix/actix-net/pull/236
## 1.1.1 - 2020-04-30 ## 1.1.1
- Fix memory leak due to [#94] (see [#129] for more detail) - Fix memory leak due to [#94] (see [#129] for more detail)
[#129]: https://github.com/actix/actix-net/issues/129 [#129]: https://github.com/actix/actix-net/issues/129
## 1.1.0 - 2020-04-08 _(YANKED)_ ## 1.1.0 _(YANKED)_
- Expose `System::is_set` to check if current system has ben started [#99] - Expose `System::is_set` to check if current system has ben started [#99]
- Add `Arbiter::is_running` to check if event loop is running [#124] - Add `Arbiter::is_running` to check if event loop is running [#124]
@ -155,57 +155,57 @@
[#99]: https://github.com/actix/actix-net/pull/99 [#99]: https://github.com/actix/actix-net/pull/99
[#124]: https://github.com/actix/actix-net/pull/124 [#124]: https://github.com/actix/actix-net/pull/124
## 1.0.0 - 2019-12-11 ## 1.0.0
- Update dependencies - Update dependencies
## 1.0.0-alpha.3 - 2019-12-07 ## 1.0.0-alpha.3
- Migrate to tokio 0.2 - Migrate to tokio 0.2
- Fix compilation on non-unix platforms - Fix compilation on non-unix platforms
## 1.0.0-alpha.2 - 2019-12-02 ## 1.0.0-alpha.2
- Export `main` and `test` attribute macros - Export `main` and `test` attribute macros
- Export `time` module (re-export of tokio-timer) - Export `time` module (re-export of tokio-timer)
- Export `net` module (re-export of tokio-net) - Export `net` module (re-export of tokio-net)
## 1.0.0-alpha.1 - 2019-11-22 ## 1.0.0-alpha.1
- Migrate to std::future and tokio 0.2 - Migrate to std::future and tokio 0.2
## 0.2.6 - 2019-11-14 ## 0.2.6
- Allow to join arbiter's thread. #60 - Allow to join arbiter's thread. #60
- Fix arbiter's thread panic message. - Fix arbiter's thread panic message.
## 0.2.5 - 2019-09-02 ## 0.2.5
- Add arbiter specific storage - Add arbiter specific storage
## 0.2.4 - 2019-07-17 ## 0.2.4
- Avoid a copy of the Future when initializing the Box. #29 - Avoid a copy of the Future when initializing the Box. #29
## 0.2.3 - 2019-06-22 ## 0.2.3
- Allow to start System using existing CurrentThread Handle #22 - Allow to start System using existing CurrentThread Handle #22
## 0.2.2 - 2019-03-28 ## 0.2.2
- Moved `blocking` module to `actix-threadpool` crate - Moved `blocking` module to `actix-threadpool` crate
## 0.2.1 - 2019-03-11 ## 0.2.1
- Added `blocking` module - Added `blocking` module
- Added `Arbiter::exec_fn` - execute fn on the arbiter's thread - Added `Arbiter::exec_fn` - execute fn on the arbiter's thread
- Added `Arbiter::exec` - execute fn on the arbiter's thread and wait result - Added `Arbiter::exec` - execute fn on the arbiter's thread and wait result
## 0.2.0 - 2019-03-06 ## 0.2.0
- `run` method returns `io::Result<()>` - `run` method returns `io::Result<()>`
- Removed `Handle` - Removed `Handle`
## 0.1.0 - 2018-12-09 ## 0.1.0
- Initial release - Initial release

View File

@ -1,28 +1,28 @@
# Changes # Changes
## Unreleased - 2023-xx-xx ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.65. - Minimum supported Rust version (MSRV) is now 1.65.
## 2.0.2 - 2021-12-18 ## 2.0.2
- Service types can now be `Send` and `'static` regardless of request, response, and config types, etc. [#397] - Service types can now be `Send` and `'static` regardless of request, response, and config types, etc. [#397]
[#397]: https://github.com/actix/actix-net/pull/397 [#397]: https://github.com/actix/actix-net/pull/397
## 2.0.1 - 2021-10-11 ## 2.0.1
- Documentation fix. [#388] - Documentation fix. [#388]
[#388]: https://github.com/actix/actix-net/pull/388 [#388]: https://github.com/actix/actix-net/pull/388
## 2.0.0 - 2021-04-16 ## 2.0.0
- Removed pipeline and related structs/functions. [#335] - Removed pipeline and related structs/functions. [#335]
[#335]: https://github.com/actix/actix-net/pull/335 [#335]: https://github.com/actix/actix-net/pull/335
## 2.0.0-beta.5 - 2021-03-15 ## 2.0.0-beta.5
- Add default `Service` trait impl for `Rc<S: Service>` and `&S: Service`. [#288] - Add default `Service` trait impl for `Rc<S: Service>` and `&S: Service`. [#288]
- Add `boxed::rc_service` function for constructing `boxed::RcService` type [#290] - Add `boxed::rc_service` function for constructing `boxed::RcService` type [#290]
@ -30,7 +30,7 @@
[#288]: https://github.com/actix/actix-net/pull/288 [#288]: https://github.com/actix/actix-net/pull/288
[#290]: https://github.com/actix/actix-net/pull/290 [#290]: https://github.com/actix/actix-net/pull/290
## 2.0.0-beta.4 - 2021-02-04 ## 2.0.0-beta.4
- `Service::poll_ready` and `Service::call` receive `&self`. [#247] - `Service::poll_ready` and `Service::call` receive `&self`. [#247]
- `apply_fn` and `apply_fn_factory` now receive `Fn(Req, &Service)` function type. [#247] - `apply_fn` and `apply_fn_factory` now receive `Fn(Req, &Service)` function type. [#247]
@ -39,17 +39,17 @@
[#247]: https://github.com/actix/actix-net/pull/247 [#247]: https://github.com/actix/actix-net/pull/247
## 2.0.0-beta.3 - 2021-01-09 ## 2.0.0-beta.3
- The `forward_ready!` macro converts errors. [#246] - The `forward_ready!` macro converts errors. [#246]
[#246]: https://github.com/actix/actix-net/pull/246 [#246]: https://github.com/actix/actix-net/pull/246
## 2.0.0-beta.2 - 2021-01-03 ## 2.0.0-beta.2
- Remove redundant type parameter from `map_config`. - Remove redundant type parameter from `map_config`.
## 2.0.0-beta.1 - 2020-12-28 ## 2.0.0-beta.1
- `Service`, other traits, and many type signatures now take the the request type as a type parameter instead of an associated type. [#232] - `Service`, other traits, and many type signatures now take the the request type as a type parameter instead of an associated type. [#232]
- Add `always_ready!` and `forward_ready!` macros. [#233] - Add `always_ready!` and `forward_ready!` macros. [#233]
@ -62,82 +62,82 @@
[#233]: https://github.com/actix/actix-net/pull/233 [#233]: https://github.com/actix/actix-net/pull/233
[#235]: https://github.com/actix/actix-net/pull/235 [#235]: https://github.com/actix/actix-net/pull/235
## 1.0.6 - 2020-08-09 ## 1.0.6
- Removed unsound custom Cell implementation that allowed obtaining several mutable references to the same data, which is undefined behavior in Rust and could lead to violations of memory safety. External code could obtain several mutable references to the same data through service combinators. Attempts to acquire several mutable references to the same data will instead result in a panic. - Removed unsound custom Cell implementation that allowed obtaining several mutable references to the same data, which is undefined behavior in Rust and could lead to violations of memory safety. External code could obtain several mutable references to the same data through service combinators. Attempts to acquire several mutable references to the same data will instead result in a panic.
## 1.0.5 - 2020-01-16 ## 1.0.5
- Fixed unsoundness in .and_then()/.then() service combinators. - Fixed unsoundness in .and_then()/.then() service combinators.
## 1.0.4 - 2020-01-15 ## 1.0.4
- Revert 1.0.3 change - Revert 1.0.3 change
## 1.0.3 - 2020-01-15 ## 1.0.3
- Fixed unsoundness in `AndThenService` impl. - Fixed unsoundness in `AndThenService` impl.
## 1.0.2 - 2020-01-08 ## 1.0.2
- Add `into_service` helper function. - Add `into_service` helper function.
## 1.0.1 - 2019-12-22 ## 1.0.1
- `map_config()` and `unit_config()` now accept `IntoServiceFactory` type. - `map_config()` and `unit_config()` now accept `IntoServiceFactory` type.
## 1.0.0 - 2019-12-11 ## 1.0.0
- Add Clone impl for Apply service - Add Clone impl for Apply service
## 1.0.0-alpha.4 - 2019-12-08 ## 1.0.0-alpha.4
- Renamed `service_fn` to `fn_service` - Renamed `service_fn` to `fn_service`
- Renamed `factory_fn` to `fn_factory` - Renamed `factory_fn` to `fn_factory`
- Renamed `factory_fn_cfg` to `fn_factory_with_config` - Renamed `factory_fn_cfg` to `fn_factory_with_config`
## 1.0.0-alpha.3 - 2019-12-06 ## 1.0.0-alpha.3
- Add missing Clone impls - Add missing Clone impls
- Restore `Transform::map_init_err()` combinator - Restore `Transform::map_init_err()` combinator
- Restore `Service/Factory::apply_fn()` in form of `Pipeline/Factory::and_then_apply_fn()` - Restore `Service/Factory::apply_fn()` in form of `Pipeline/Factory::and_then_apply_fn()`
- Optimize service combinators and futures memory layout - Optimize service combinators and futures memory layout
## 1.0.0-alpha.2 - 2019-12-02 ## 1.0.0-alpha.2
- Use owned config value for service factory - Use owned config value for service factory
- Renamed BoxedNewService/BoxedService to BoxServiceFactory/BoxService - Renamed BoxedNewService/BoxedService to BoxServiceFactory/BoxService
## 1.0.0-alpha.1 - 2019-11-25 ## 1.0.0-alpha.1
- Migrated to `std::future` - Migrated to `std::future`
- `NewService` renamed to `ServiceFactory` - `NewService` renamed to `ServiceFactory`
- Added `pipeline` and `pipeline_factory` function - Added `pipeline` and `pipeline_factory` function
## 0.4.2 - 2019-08-27 ## 0.4.2
- Check service readiness for `new_apply_cfg` combinator - Check service readiness for `new_apply_cfg` combinator
## 0.4.1 - 2019-06-06 ## 0.4.1
- Add `new_apply_cfg` function - Add `new_apply_cfg` function
## 0.4.0 - 2019-05-12 ## 0.4.0
- Add `NewService::map_config` and `NewService::unit_config` combinators. - Add `NewService::map_config` and `NewService::unit_config` combinators.
- Use associated type for `NewService` config. - Use associated type for `NewService` config.
- Change `apply_cfg` function. - Change `apply_cfg` function.
- Renamed helper functions. - Renamed helper functions.
## 0.3.6 - 2019-04-07 ## 0.3.6
- Poll boxed service call result immediately - Poll boxed service call result immediately
## 0.3.5 - 2019-03-29 ## 0.3.5
- Add `impl<S: Service> Service for Rc<RefCell<S>>`. - Add `impl<S: Service> Service for Rc<RefCell<S>>`.
## 0.3.4 - 2019-03-12 ## 0.3.4
- Add `Transform::from_err()` combinator - Add `Transform::from_err()` combinator
- Add `apply_fn` helper - Add `apply_fn` helper
@ -145,37 +145,37 @@
- Add `apply_transform` helper - Add `apply_transform` helper
- Add `apply_cfg` helper - Add `apply_cfg` helper
## 0.3.3 - 2019-03-09 ## 0.3.3
- Add `ApplyTransform` new service for transform and new service. - Add `ApplyTransform` new service for transform and new service.
- Add `NewService::apply_cfg()` combinator, allows to use nested `NewService` with different config parameter. - Add `NewService::apply_cfg()` combinator, allows to use nested `NewService` with different config parameter.
- Revert IntoFuture change - Revert IntoFuture change
## 0.3.2 - 2019-03-04 ## 0.3.2
- Change `NewService::Future` and `Transform::Future` to the `IntoFuture` trait. - Change `NewService::Future` and `Transform::Future` to the `IntoFuture` trait.
- Export `AndThenTransform` type - Export `AndThenTransform` type
## 0.3.1 - 2019-03-04 ## 0.3.1
- Simplify Transform trait - Simplify Transform trait
## 0.3.0 - 2019-03-02 ## 0.3.0
- Added boxed NewService and Service. - Added boxed NewService and Service.
- Added `Config` parameter to `NewService` trait. - Added `Config` parameter to `NewService` trait.
- Added `Config` parameter to `NewTransform` trait. - Added `Config` parameter to `NewTransform` trait.
## 0.2.2 - 2019-02-19 ## 0.2.2
- Added `NewService` impl for `Rc<S> where S: NewService` - Added `NewService` impl for `Rc<S> where S: NewService`
- Added `NewService` impl for `Arc<S> where S: NewService` - Added `NewService` impl for `Arc<S> where S: NewService`
## 0.2.1 - 2019-02-03 ## 0.2.1
- Generalize `.apply` combinator with Transform trait - Generalize `.apply` combinator with Transform trait
## 0.2.0 - 2019-02-01 ## 0.2.0
- Use associated type instead of generic for Service definition. - Use associated type instead of generic for Service definition.
- Before: - Before:
@ -194,31 +194,31 @@
} }
``` ```
## 0.1.6 - 2019-01-24 ## 0.1.6
- Use `FnMut` instead of `Fn` for .apply() and .map() combinators and `FnService` type - Use `FnMut` instead of `Fn` for .apply() and .map() combinators and `FnService` type
- Change `.apply()` error semantic, new service's error is `From<Self::Error>` - Change `.apply()` error semantic, new service's error is `From<Self::Error>`
## 0.1.5 - 2019-01-13 ## 0.1.5
- Make `Out::Error` convertible from `T::Error` for apply combinator - Make `Out::Error` convertible from `T::Error` for apply combinator
## 0.1.4 - 2019-01-11 ## 0.1.4
- Use `FnMut` instead of `Fn` for `FnService` - Use `FnMut` instead of `Fn` for `FnService`
## 0.1.3 - 2018-12-12 ## 0.1.3
- Split service combinators to separate trait - Split service combinators to separate trait
## 0.1.2 - 2018-12-12 ## 0.1.2
- Release future early for `.and_then()` and `.then()` combinators - Release future early for `.and_then()` and `.then()` combinators
## 0.1.1 - 2018-12-09 ## 0.1.1
- Added Service impl for `Box<S: Service>` - Added Service impl for `Box<S: Service>`
## 0.1.0 - 2018-12-09 ## 0.1.0
- Initial import - Initial import

View File

@ -1,9 +1,9 @@
# Changes # Changes
## Unreleased - 2023-xx-xx ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.65. - Minimum supported Rust version (MSRV) is now 1.65.
## 0.1.0 - 2020-01-15 ## 0.1.0
- Initial release - Initial release

View File

@ -1,24 +1,24 @@
# Changes # Changes
## Unreleased - 2023-xx-xx ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.65. - Minimum supported Rust version (MSRV) is now 1.65.
## 3.0.1 - 2022-10-21 ## 3.0.1
- Minimum supported Rust version (MSRV) is now 1.57. - Minimum supported Rust version (MSRV) is now 1.57.
## 3.0.0 - 2021-04-16 ## 3.0.0
- No significant changes from `3.0.0-beta.4`. - No significant changes from `3.0.0-beta.4`.
## 3.0.0-beta.4 - 2021-04-01 ## 3.0.0-beta.4
- Add `future::Either` type. [#305] - Add `future::Either` type. [#305]
[#305]: https://github.com/actix/actix-net/pull/305 [#305]: https://github.com/actix/actix-net/pull/305
## 3.0.0-beta.3 - 2021-04-01 ## 3.0.0-beta.3
- Moved `mpsc` to own crate `local-channel`. [#301] - Moved `mpsc` to own crate `local-channel`. [#301]
- Moved `task::LocalWaker` to own crate `local-waker`. [#301] - Moved `task::LocalWaker` to own crate `local-waker`. [#301]
@ -28,13 +28,13 @@
[#301]: https://github.com/actix/actix-net/pull/301 [#301]: https://github.com/actix/actix-net/pull/301
## 3.0.0-beta.2 - 2021-02-06 ## 3.0.0-beta.2
- Update `actix-rt` to `2.0.0`. [#273] - Update `actix-rt` to `2.0.0`. [#273]
[#273]: https://github.com/actix/actix-net/pull/273 [#273]: https://github.com/actix/actix-net/pull/273
## 3.0.0-beta.1 - 2020-12-28 ## 3.0.0-beta.1
- Update `bytes` dependency to `1`. [#237] - Update `bytes` dependency to `1`. [#237]
- Use `pin-project-lite` to replace `pin-project`. [#229] - Use `pin-project-lite` to replace `pin-project`. [#229]
@ -43,139 +43,139 @@
[#229]: https://github.com/actix/actix-net/pull/229 [#229]: https://github.com/actix/actix-net/pull/229
[#237]: https://github.com/actix/actix-net/pull/237 [#237]: https://github.com/actix/actix-net/pull/237
## 2.0.0 - 2020-08-23 ## 2.0.0
- No changes from beta 1. - No changes from beta 1.
## 2.0.0-beta.1 - 2020-08-19 ## 2.0.0-beta.1
- Upgrade `tokio-util` to `0.3`. - Upgrade `tokio-util` to `0.3`.
- Remove unsound custom Cell and use `std::cell::RefCell` instead, as well as `actix-service`. - Remove unsound custom Cell and use `std::cell::RefCell` instead, as well as `actix-service`.
- Rename method to correctly spelled `LocalWaker::is_registered`. - Rename method to correctly spelled `LocalWaker::is_registered`.
## 1.0.6 - 2020-01-08 ## 1.0.6
- Add `Clone` impl for `condition::Waiter`. - Add `Clone` impl for `condition::Waiter`.
## 1.0.5 - 2020-01-08 ## 1.0.5
- Add `Condition` type. - Add `Condition` type.
- Add `Pool` of one-shot's. - Add `Pool` of one-shot's.
## 1.0.4 - 2019-12-20 ## 1.0.4
- Add methods to check `LocalWaker` registration state. - Add methods to check `LocalWaker` registration state.
## 1.0.3 - 2019-12-11 ## 1.0.3
- Revert InOrder service changes - Revert InOrder service changes
## 1.0.2 - 2019-12-11 ## 1.0.2
- Allow to create `framed::Dispatcher` with custom `mpsc::Receiver`. - Allow to create `framed::Dispatcher` with custom `mpsc::Receiver`.
- Add `oneshot::Sender::is_canceled()` method. - Add `oneshot::Sender::is_canceled()` method.
## 1.0.1 - 2019-12-11 ## 1.0.1
- Optimize InOrder service. - Optimize InOrder service.
## 1.0.0 - 2019-12-11 ## 1.0.0
- Simplify oneshot and mpsc implementations. - Simplify oneshot and mpsc implementations.
## 1.0.0-alpha.3 - 2019-12-07 ## 1.0.0-alpha.3
- Migrate to tokio 0.2. - Migrate to tokio 0.2.
- Fix oneshot. - Fix oneshot.
## 1.0.0-alpha.2 - 2019-12-02 ## 1.0.0-alpha.2
- Migrate to `std::future`. - Migrate to `std::future`.
## 0.4.7 - 2019-10-14 ## 0.4.7
- Re-register task on every framed transport poll. - Re-register task on every framed transport poll.
## 0.4.6 - 2019-10-08 ## 0.4.6
- Refactor `Counter` type. register current task in available method. - Refactor `Counter` type. register current task in available method.
## 0.4.5 - 2019-07-19 ## 0.4.5
- Deprecated `CloneableService` as it is not safe. - Deprecated `CloneableService` as it is not safe.
## 0.4.4 - 2019-07-17 ## 0.4.4
- Undeprecate `FramedTransport` as it is actually useful. - Undeprecate `FramedTransport` as it is actually useful.
## 0.4.3 - 2019-07-17 ## 0.4.3
- Deprecate `CloneableService` as it is not safe and in general not very useful. - Deprecate `CloneableService` as it is not safe and in general not very useful.
- Deprecate `FramedTransport` in favor of `actix-ioframe`. - Deprecate `FramedTransport` in favor of `actix-ioframe`.
## 0.4.2 - 2019-06-26 ## 0.4.2
- Do not block on sink drop for FramedTransport. - Do not block on sink drop for FramedTransport.
## 0.4.1 - 2019-05-15 ## 0.4.1
- Change `Either` constructor. - Change `Either` constructor.
## 0.4.0 - 2019-05-11 ## 0.4.0
- Change `Either` to handle two nexted services. - Change `Either` to handle two nexted services.
- Upgrade actix-service 0.4. - Upgrade actix-service 0.4.
- Removed framed related services. - Removed framed related services.
- Removed stream related services. - Removed stream related services.
## 0.3.5 - 2019-04-04 ## 0.3.5
- Allow to send messages to `FramedTransport` via mpsc channel. - Allow to send messages to `FramedTransport` via mpsc channel.
- Remove `'static` constraint from Clonable service. - Remove `'static` constraint from Clonable service.
## 0.3.4 - 2019-03-12 ## 0.3.4
- `TimeoutService`, `InOrderService`, `InFlightService` accepts generic IntoService services. - `TimeoutService`, `InOrderService`, `InFlightService` accepts generic IntoService services.
- Fix `InFlightService::poll_ready()` nested service readiness check. - Fix `InFlightService::poll_ready()` nested service readiness check.
- Fix `InOrderService::poll_ready()` nested service readiness check. - Fix `InOrderService::poll_ready()` nested service readiness check.
## 0.3.3 - 2019-03-09 ## 0.3.3
- Revert IntoFuture change. - Revert IntoFuture change.
- Add generic config param for IntoFramed and TakeOne new services. - Add generic config param for IntoFramed and TakeOne new services.
## 0.3.2 - 2019-03-04 ## 0.3.2
- Use IntoFuture for new services. - Use IntoFuture for new services.
## 0.3.1 - 2019-03-04 ## 0.3.1
- Use new type of transform trait. - Use new type of transform trait.
## 0.3.0 - 2019-03-02 ## 0.3.0
- Use new `NewService` trait - Use new `NewService` trait
- BoxedNewService`and`BoxedService` types moved to actix-service crate. - BoxedNewService`and`BoxedService` types moved to actix-service crate.
## 0.2.4 - 2019-02-21 ## 0.2.4
- Custom `BoxedNewService` implementation. - Custom `BoxedNewService` implementation.
## 0.2.3 - 2019-02-21 ## 0.2.3
- Add `BoxedNewService` and `BoxedService`. - Add `BoxedNewService` and `BoxedService`.
## 0.2.2 - 2019-02-11 ## 0.2.2
- Add `Display` impl for `TimeoutError`. - Add `Display` impl for `TimeoutError`.
- Add `Display` impl for `InOrderError`. - Add `Display` impl for `InOrderError`.
## 0.2.1 - 2019-02-06 ## 0.2.1
- Add `InOrder` service. the service yields responses as they become available, in the order that their originating requests were submitted to the service. - Add `InOrder` service. the service yields responses as they become available, in the order that their originating requests were submitted to the service.
- Convert `Timeout` and `InFlight` services to a transforms. - Convert `Timeout` and `InFlight` services to a transforms.
## 0.2.0 - 2019-02-01 ## 0.2.0
- Fix framed transport error handling. - Fix framed transport error handling.
- Added Clone impl for Either service. - Added Clone impl for Either service.
@ -183,6 +183,6 @@
- Added Service and NewService for Stream dispatcher. - Added Service and NewService for Stream dispatcher.
- Switch to actix-service 0.2. - Switch to actix-service 0.2.
## 0.1.0 - 2018-12-09 ## 0.1.0
- Move utils services to separate crate. - Move utils services to separate crate.

View File

@ -1,25 +1,25 @@
# Changes # Changes
## Unreleased - 2023-xx-xx ## Unreleased
## 1.3.0 - 2023-03-03 ## 1.3.0
- Implement `AsRef<ByteString>` for `ByteString`. - Implement `AsRef<ByteString>` for `ByteString`.
## 1.2.1 - 2022-11-12 ## 1.2.1
- Fix `#[no_std]` compatibility. [#471] - Fix `#[no_std]` compatibility. [#471]
[#471]: https://github.com/actix/actix-net/pull/471 [#471]: https://github.com/actix/actix-net/pull/471
## 1.2.0 - 2022-11-07 ## 1.2.0
- Add `ByteString::slice_ref` which can safely slice a `ByteString` into a new one with zero copy. [#470] - Add `ByteString::slice_ref` which can safely slice a `ByteString` into a new one with zero copy. [#470]
- Minimum supported Rust version (MSRV) is now 1.57. - Minimum supported Rust version (MSRV) is now 1.57.
[#470]: https://github.com/actix/actix-net/pull/470 [#470]: https://github.com/actix/actix-net/pull/470
## 1.1.0 - 2022-06-11 ## 1.1.0
- Implement `From<Box<str>>` for `ByteString`. [#458] - Implement `From<Box<str>>` for `ByteString`. [#458]
- Implement `Into<String>` for `ByteString`. [#458] - Implement `Into<String>` for `ByteString`. [#458]
@ -27,7 +27,7 @@
[#458]: https://github.com/actix/actix-net/pull/458 [#458]: https://github.com/actix/actix-net/pull/458
## 1.0.0 - 2020-12-31 ## 1.0.0
- Update `bytes` dependency to `1`. - Update `bytes` dependency to `1`.
- Add array and slice of `u8` impls of `TryFrom` up to 32 in length. - Add array and slice of `u8` impls of `TryFrom` up to 32 in length.
@ -35,27 +35,27 @@
- `ByteString::new` is now a `const fn`. - `ByteString::new` is now a `const fn`.
- Crate is now `#[no_std]` compatible. - Crate is now `#[no_std]` compatible.
## 0.1.5 - 2020-03-30 ## 0.1.5
- Serde support - Serde support
## 0.1.4 - 2020-01-14 ## 0.1.4
- Fix `AsRef<str>` impl - Fix `AsRef<str>` impl
## 0.1.3 - 2020-01-13 ## 0.1.3
- Add `PartialEq<T: AsRef<str>>`, `AsRef<[u8]>` impls - Add `PartialEq<T: AsRef<str>>`, `AsRef<[u8]>` impls
## 0.1.2 - 2019-12-22 ## 0.1.2
- Fix `new()` method - Fix `new()` method
- Make `ByteString::from_static()` and `ByteString::from_bytes_unchecked()` methods const. - Make `ByteString::from_static()` and `ByteString::from_bytes_unchecked()` methods const.
## 0.1.1 - 2019-12-07 ## 0.1.1
- Fix hash impl - Fix hash impl
## 0.1.0 - 2019-12-07 ## 0.1.0
- Initial release - Initial release

View File

@ -1,17 +1,17 @@
# Changes # Changes
## Unreleased - 2023-xx-xx ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.65. - Minimum supported Rust version (MSRV) is now 1.65.
## 0.1.3 - 2022-05-03 ## 0.1.3
- Minimum supported Rust version (MSRV) is now 1.49. - Minimum supported Rust version (MSRV) is now 1.49.
## 0.1.2 - 2021-12-18 ## 0.1.2
- Fix crate metadata. - Fix crate metadata.
## 0.1.1 - 2021-03-29 ## 0.1.1
- Move `LocalWaker` to it's own crate. - Move `LocalWaker` to it's own crate.