Skip to content

Commit

Permalink
Bump version to 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeguimaraes committed Jan 16, 2024
1 parent 016cf1f commit f44ded4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
22 changes: 15 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
## Unreleased

## 2.5.1 (2024-01-16)

* Support headers passed in using string keys when Vary header is in a different case via #137 (thanks @evman182)

## 2.5.0 (2023-04-27)
* 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)

* 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)

## 2.4.1 (2022-08-08)
* Require `Logger` in `BaseStrategy` via [#131](https://github.com/sourcelevel/faraday-http-cache/pull/131)
* Use unique and sorted headers from the Vary header in `ByVary` strategy via [#132](https://github.com/sourcelevel/faraday-http-cache/pull/132)

* Require `Logger` in `BaseStrategy` via [#131](https://github.com/sourcelevel/faraday-http-cache/pull/131)
* Use unique and sorted headers from the Vary header in `ByVary` strategy via [#132](https://github.com/sourcelevel/faraday-http-cache/pull/132)

## 2.4.0 (2022-06-07)
* Introduced a new `strategy` option to support different cache storage strategies.
* The original strategy moved from `Faraday::HttpCache::Storage` to `Faraday::HttpCache::Strategies::ByUrl`.
* 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.
* `Faraday::HttpCache::Storage` class deprecated.

* Introduced a new `strategy` option to support different cache storage strategies.
* The original strategy moved from `Faraday::HttpCache::Storage` to `Faraday::HttpCache::Strategies::ByUrl`.
* 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.
* `Faraday::HttpCache::Storage` class deprecated.

## 2.3.0 (2022-05-25)

Expand Down
2 changes: 1 addition & 1 deletion faraday-http-cache.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |gem|
gem.name = 'faraday-http-cache'
gem.version = '2.5.0'
gem.version = '2.5.1'
gem.licenses = ['Apache-2.0']
gem.description = 'Middleware to handle HTTP caching'
gem.summary = 'A Faraday middleware that stores and validates cache expiration.'
Expand Down

0 comments on commit f44ded4

Please sign in to comment.