Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf44ded4

Browse files
Bump version to 2.5.1
1 parent016cf1f commitf44ded4

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

‎CHANGELOG.md‎

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
##Unreleased
22

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+
37
##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)
510

611
##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+
916
##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.
1422

1523
##2.3.0 (2022-05-25)
1624

‎faraday-http-cache.gemspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.newdo |gem|
44
gem.name='faraday-http-cache'
5-
gem.version='2.5.0'
5+
gem.version='2.5.1'
66
gem.licenses=['Apache-2.0']
77
gem.description='Middleware to handle HTTP caching'
88
gem.summary='A Faraday middleware that stores and validates cache expiration.'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp