From cb2121478ad2de4ba04c6261416b5e11c4c7ebec Mon Sep 17 00:00:00 2001 From: Ethan Brierley Date: Fri, 28 Jun 2024 10:51:33 +0100 Subject: [PATCH] chore: remove `reqwest-middleware` changelog from root (#166) To be consistent with the other crates in this repo --- CHANGELOG.md | 113 +------------------------------- CONTRIBUTING.md | 2 +- reqwest-middleware/CHANGELOG.md | 112 +++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+), 113 deletions(-) mode change 100644 => 120000 CHANGELOG.md create mode 100644 reqwest-middleware/CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index ec0dbf0..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,112 +0,0 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [Unreleased] - -## [0.3.2] - 2024-06-28 - -### Added -- Added re-export of `reqwest`. -- `http2`, `rustls-tls`, and `charset` features, which simply enable those features in `reqwest`. - -## [0.3.1] - -### Fixed -- Included license files in crates -- Fix logging of User-Agent header in reqwest-tracing - -### Added -- Added `with_retry_log_level` to `RetryTransientMiddleware` in reqwest-retry -- Added `ClientBuilder::from_client` - -## [0.3.0] - 2024-04-10 - -### Breaking changes -- Upgraded `reqwest` to `0.12.0` - * Removed default-features `json` and `multipart` from `reqwest` dependency - * Added `json` and `multipart` features to `reqwest-middleware` -- Upgraded `matchit` to `0.8.0` - * You may need to update some matches that look like `/a/:some_var` to `/a/{some_var}` -- Removed `task_local_extensions` in favour of `http::Extensions` - * All extensions must be `Clone` now. - -### Changed -- `RequestBuilder::try_clone` now clones the extensions. - -### Added -- Implemented `Service` for `ClientWithMiddleware` to have more feature parity with `reqwest`. -- Added more methods like `build_split` to have more feature parity with `reqwest.` -- Added more documentation - -### [0.2.5] - 2024-03-15 - -### Changed -- Updated minimum version of `reqwest` to `0.11.10`. url_mut, with_url, without_url functions are added after `0.11.10`. - -### [0.2.4] - 2023-09-21 - -### Added -- Added `fetch_mode_no_cors` method to `reqwest_middleware::RequestBuilder` - -## [0.2.3] - 2023-08-07 - -### Added -- Added all `reqwest::Error` methods for `reqwest_middleware::Error` - -## [0.2.2] - 2023-05-11 - -### Added -- `RequestBuilder::version` method to configure the HTTP version - -## [0.2.1] - 2023-03-09 - -### Added -- Support for `wasm32-unknown-unknown` - -## [0.2.0] - 2022-11-15 - -### Changed -- `RequestBuilder::try_clone` has a fixed function signature now - -### Removed -- `RequestBuilder::send_with_extensions` - use `RequestBuilder::with_extensions` + `RequestBuilder::send` instead. - -### Added -- Implementation of `Debug` trait for `RequestBuilder`. -- A new `RequestInitialiser` trait that can be added to `ClientWithMiddleware` -- A new `Extension` initialiser that adds extensions to each request -- Adds `with_extension` method functionality to `RequestBuilder` that can add extensions for the `send` method to use. - -## [0.1.6] - 2022-04-21 - -Absolutely nothing changed - -## [0.1.5] - 2022-02-21 - -### Added -- Added support for `opentelemetry` version `0.17`. - -## [0.1.4] - 2022-01-24 - -### Changed -- Made `Debug` impl for `ClientWithExtensions` non-exhaustive. - -## [0.1.3] - 2021-10-18 - -### Security -- remove time v0.1 dependency - -### Fixed -- Handle the `hyper::Error(IncompleteMessage)` as a `Retryable::Transient`. - -## [0.1.2] - 2021-09-28 -### Changed -- Disabled default features on `reqwest` -- Replaced `truelayer-extensions` with `task-local-extensions` - -## [0.1.1] -### Added -- New methods on `ClientWithExtensions` and `RequestBuilder` for sending requests with initial extensions. diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 120000 index 0000000..21a48da --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1 @@ +reqwest-middleware/CHANGELOG.md \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 19e191e..0754c15 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,7 +19,7 @@ Try to do one pull request per change. ### Updating the changelog Update the changes you have made in -[CHANGELOG](https://github.com/TrueLayer/reqwest-middleware/blob/master/CHANGELOG.md) +[CHANGELOG](https://github.com/TrueLayer/reqwest-middleware/blob/master/reqwest-middlware/CHANGELOG.md) file under the **Unreleased** section. Add the changes of your pull request to one of the following subsections, diff --git a/reqwest-middleware/CHANGELOG.md b/reqwest-middleware/CHANGELOG.md new file mode 100644 index 0000000..ec0dbf0 --- /dev/null +++ b/reqwest-middleware/CHANGELOG.md @@ -0,0 +1,112 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.2] - 2024-06-28 + +### Added +- Added re-export of `reqwest`. +- `http2`, `rustls-tls`, and `charset` features, which simply enable those features in `reqwest`. + +## [0.3.1] + +### Fixed +- Included license files in crates +- Fix logging of User-Agent header in reqwest-tracing + +### Added +- Added `with_retry_log_level` to `RetryTransientMiddleware` in reqwest-retry +- Added `ClientBuilder::from_client` + +## [0.3.0] - 2024-04-10 + +### Breaking changes +- Upgraded `reqwest` to `0.12.0` + * Removed default-features `json` and `multipart` from `reqwest` dependency + * Added `json` and `multipart` features to `reqwest-middleware` +- Upgraded `matchit` to `0.8.0` + * You may need to update some matches that look like `/a/:some_var` to `/a/{some_var}` +- Removed `task_local_extensions` in favour of `http::Extensions` + * All extensions must be `Clone` now. + +### Changed +- `RequestBuilder::try_clone` now clones the extensions. + +### Added +- Implemented `Service` for `ClientWithMiddleware` to have more feature parity with `reqwest`. +- Added more methods like `build_split` to have more feature parity with `reqwest.` +- Added more documentation + +### [0.2.5] - 2024-03-15 + +### Changed +- Updated minimum version of `reqwest` to `0.11.10`. url_mut, with_url, without_url functions are added after `0.11.10`. + +### [0.2.4] - 2023-09-21 + +### Added +- Added `fetch_mode_no_cors` method to `reqwest_middleware::RequestBuilder` + +## [0.2.3] - 2023-08-07 + +### Added +- Added all `reqwest::Error` methods for `reqwest_middleware::Error` + +## [0.2.2] - 2023-05-11 + +### Added +- `RequestBuilder::version` method to configure the HTTP version + +## [0.2.1] - 2023-03-09 + +### Added +- Support for `wasm32-unknown-unknown` + +## [0.2.0] - 2022-11-15 + +### Changed +- `RequestBuilder::try_clone` has a fixed function signature now + +### Removed +- `RequestBuilder::send_with_extensions` - use `RequestBuilder::with_extensions` + `RequestBuilder::send` instead. + +### Added +- Implementation of `Debug` trait for `RequestBuilder`. +- A new `RequestInitialiser` trait that can be added to `ClientWithMiddleware` +- A new `Extension` initialiser that adds extensions to each request +- Adds `with_extension` method functionality to `RequestBuilder` that can add extensions for the `send` method to use. + +## [0.1.6] - 2022-04-21 + +Absolutely nothing changed + +## [0.1.5] - 2022-02-21 + +### Added +- Added support for `opentelemetry` version `0.17`. + +## [0.1.4] - 2022-01-24 + +### Changed +- Made `Debug` impl for `ClientWithExtensions` non-exhaustive. + +## [0.1.3] - 2021-10-18 + +### Security +- remove time v0.1 dependency + +### Fixed +- Handle the `hyper::Error(IncompleteMessage)` as a `Retryable::Transient`. + +## [0.1.2] - 2021-09-28 +### Changed +- Disabled default features on `reqwest` +- Replaced `truelayer-extensions` with `task-local-extensions` + +## [0.1.1] +### Added +- New methods on `ClientWithExtensions` and `RequestBuilder` for sending requests with initial extensions.