2021-08-10 16:07:08 +00:00
|
|
|
# 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).
|
|
|
|
|
2024-04-26 12:53:50 +00:00
|
|
|
## [Unreleased]
|
|
|
|
|
2024-06-03 09:12:56 +00:00
|
|
|
### Added
|
|
|
|
- Added support for `opentelemetry` version `0.23`.
|
2024-06-25 09:20:53 +00:00
|
|
|
- `http2`, `rustls-tls`, and `charset` features, which simply enable those features in `reqwest`.
|
2024-06-03 09:12:56 +00:00
|
|
|
|
2024-05-07 10:41:33 +00:00
|
|
|
## [0.3.1]
|
|
|
|
|
2024-04-26 12:53:50 +00:00
|
|
|
### Fixed
|
|
|
|
- Included license files in crates
|
2024-04-26 12:58:01 +00:00
|
|
|
- Fix logging of User-Agent header in reqwest-tracing
|
|
|
|
|
|
|
|
### Added
|
|
|
|
- Added `with_retry_log_level` to `RetryTransientMiddleware` in reqwest-retry
|
2024-05-07 10:41:33 +00:00
|
|
|
- Added `ClientBuilder::from_client`
|
2024-04-26 12:53:50 +00:00
|
|
|
|
2024-04-10 08:55:41 +00:00
|
|
|
## [0.3.0] - 2024-04-10
|
2024-03-15 16:18:04 +00:00
|
|
|
|
2024-04-03 17:13:10 +00:00
|
|
|
### Breaking changes
|
2024-04-10 08:55:41 +00:00
|
|
|
- Upgraded `reqwest` to `0.12.0`
|
2024-04-10 13:19:40 +00:00
|
|
|
* Removed default-features `json` and `multipart` from `reqwest` dependency
|
|
|
|
* Added `json` and `multipart` features to `reqwest-middleware`
|
2024-04-10 08:55:41 +00:00
|
|
|
- Upgraded `matchit` to `0.8.0`
|
2024-04-10 13:19:40 +00:00
|
|
|
* You may need to update some matches that look like `/a/:some_var` to `/a/{some_var}`
|
2024-04-10 08:55:41 +00:00
|
|
|
- Removed `task_local_extensions` in favour of `http::Extensions`
|
2024-04-10 13:19:40 +00:00
|
|
|
* All extensions must be `Clone` now.
|
2024-04-03 17:13:10 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
- `RequestBuilder::try_clone` now clones the extensions.
|
|
|
|
|
|
|
|
### Added
|
2024-04-10 08:55:41 +00:00
|
|
|
- Implemented `Service` for `ClientWithMiddleware` to have more feature parity with `reqwest`.
|
2024-04-03 17:13:10 +00:00
|
|
|
- Added more methods like `build_split` to have more feature parity with `reqwest.`
|
2024-04-10 08:55:41 +00:00
|
|
|
- Added more documentation
|
2024-04-03 17:13:10 +00:00
|
|
|
|
2024-03-15 16:27:00 +00:00
|
|
|
### [0.2.5] - 2024-03-15
|
|
|
|
|
2024-03-15 16:18:04 +00:00
|
|
|
### Changed
|
2024-03-15 16:27:00 +00:00
|
|
|
- Updated minimum version of `reqwest` to `0.11.10`. url_mut, with_url, without_url functions are added after `0.11.10`.
|
2024-03-15 16:18:04 +00:00
|
|
|
|
2023-10-24 09:39:06 +00:00
|
|
|
### [0.2.4] - 2023-09-21
|
|
|
|
|
|
|
|
### Added
|
|
|
|
- Added `fetch_mode_no_cors` method to `reqwest_middleware::RequestBuilder`
|
|
|
|
|
2023-08-07 09:50:56 +00:00
|
|
|
## [0.2.3] - 2023-08-07
|
2021-09-28 10:17:10 +00:00
|
|
|
|
2023-08-07 09:34:01 +00:00
|
|
|
### Added
|
|
|
|
- Added all `reqwest::Error` methods for `reqwest_middleware::Error`
|
|
|
|
|
2023-05-11 13:17:05 +00:00
|
|
|
## [0.2.2] - 2023-05-11
|
|
|
|
|
2023-04-26 14:28:32 +00:00
|
|
|
### Added
|
2023-05-11 13:17:05 +00:00
|
|
|
- `RequestBuilder::version` method to configure the HTTP version
|
2023-04-26 14:28:32 +00:00
|
|
|
|
2023-03-09 11:33:13 +00:00
|
|
|
## [0.2.1] - 2023-03-09
|
|
|
|
|
|
|
|
### Added
|
|
|
|
- Support for `wasm32-unknown-unknown`
|
|
|
|
|
2022-11-15 10:31:34 +00:00
|
|
|
## [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.
|
|
|
|
|
2022-07-21 12:23:27 +00:00
|
|
|
### Added
|
|
|
|
- Implementation of `Debug` trait for `RequestBuilder`.
|
2022-09-30 09:14:31 +00:00
|
|
|
- A new `RequestInitialiser` trait that can be added to `ClientWithMiddleware`
|
2022-11-15 10:31:34 +00:00
|
|
|
- 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.
|
2022-09-30 09:14:31 +00:00
|
|
|
|
|
|
|
## [0.1.6] - 2022-04-21
|
|
|
|
|
|
|
|
Absolutely nothing changed
|
2022-07-21 12:23:27 +00:00
|
|
|
|
2022-02-21 12:50:18 +00:00
|
|
|
## [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.
|
|
|
|
|
2021-10-18 14:24:36 +00:00
|
|
|
## [0.1.3] - 2021-10-18
|
|
|
|
|
|
|
|
### Security
|
|
|
|
- remove time v0.1 dependency
|
|
|
|
|
2021-10-18 10:18:47 +00:00
|
|
|
### Fixed
|
|
|
|
- Handle the `hyper::Error(IncompleteMessage)` as a `Retryable::Transient`.
|
|
|
|
|
2021-09-28 18:57:28 +00:00
|
|
|
## [0.1.2] - 2021-09-28
|
2021-09-28 10:17:10 +00:00
|
|
|
### Changed
|
|
|
|
- Disabled default features on `reqwest`
|
2021-09-28 18:50:23 +00:00
|
|
|
- Replaced `truelayer-extensions` with `task-local-extensions`
|
2021-09-28 10:17:10 +00:00
|
|
|
|
2021-09-28 18:57:28 +00:00
|
|
|
## [0.1.1]
|
2021-09-01 14:08:34 +00:00
|
|
|
### Added
|
|
|
|
- New methods on `ClientWithExtensions` and `RequestBuilder` for sending requests with initial extensions.
|