|
1 | 1 | ##Unreleased |
2 | 2 |
|
| 3 | +##2.5.1 (2024-01-16) |
| 4 | + |
| 5 | +* Support headers passed in using string keys when Vary header is in a different case via#137 (thanks@evman182) |
| 6 | + |
3 | 7 | ##2.5.0 (2023-04-27) |
4 | | -* Add`reason_phrase` from the HTTP response to the data stored in the cache according to[RFC7230](https://www.rfc-editor.org/rfc/rfc7230#section-3.1.2) via[#134](https://github.com/sourcelevel/faraday-http-cache/pull/134) |
| 8 | + |
| 9 | +* Add`reason_phrase` from the HTTP response to the data stored in the cache according to[RFC7230](https://www.rfc-editor.org/rfc/rfc7230#section-3.1.2) via[#134](https://github.com/sourcelevel/faraday-http-cache/pull/134) |
5 | 10 |
|
6 | 11 | ##2.4.1 (2022-08-08) |
7 | | -* Require`Logger` in`BaseStrategy` via[#131](https://github.com/sourcelevel/faraday-http-cache/pull/131) |
8 | | -* Use unique and sorted headers from the Vary header in`ByVary` strategy via[#132](https://github.com/sourcelevel/faraday-http-cache/pull/132) |
| 12 | + |
| 13 | +* Require`Logger` in`BaseStrategy` via[#131](https://github.com/sourcelevel/faraday-http-cache/pull/131) |
| 14 | +* Use unique and sorted headers from the Vary header in`ByVary` strategy via[#132](https://github.com/sourcelevel/faraday-http-cache/pull/132) |
| 15 | + |
9 | 16 | ##2.4.0 (2022-06-07) |
10 | | -* Introduced a new`strategy` option to support different cache storage strategies. |
11 | | -* The original strategy moved from`Faraday::HttpCache::Storage` to`Faraday::HttpCache::Strategies::ByUrl`. |
12 | | -* The new`Faraday::HttpCache::Strategies::ByVary` strategy uses headers from`Vary` header to generate cache keys. It also uses the index with`Vary` headers mapped to the request URL. |
13 | | -*`Faraday::HttpCache::Storage` class deprecated. |
| 17 | + |
| 18 | +* Introduced a new`strategy` option to support different cache storage strategies. |
| 19 | +* The original strategy moved from`Faraday::HttpCache::Storage` to`Faraday::HttpCache::Strategies::ByUrl`. |
| 20 | +* The new`Faraday::HttpCache::Strategies::ByVary` strategy uses headers from`Vary` header to generate cache keys. It also uses the index with`Vary` headers mapped to the request URL. |
| 21 | +*`Faraday::HttpCache::Storage` class deprecated. |
14 | 22 |
|
15 | 23 | ##2.3.0 (2022-05-25) |
16 | 24 |
|
|