|
1 | 1 | # Changelog |
| 2 | + |
2 | 3 | All notable changes to this project will be documented in this file. |
3 | 4 |
|
4 | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
5 | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [7.0.0] |
| 9 | + |
| 10 | +- Drop support for `rails` version `7.1` (https://github.com/modosc/cloudflare-rails/pull/224) |
| 11 | +- Drop support for `ruby` version `3.1` (https://github.com/modosc/cloudflare-rails/pull/191) |
| 12 | + |
6 | 13 | ## [6.2.0] |
| 14 | + |
7 | 15 | - Trust X-Forwarded-For from the right to the left (https://github.com/modosc/cloudflare-rails/pull/162) |
8 | 16 |
|
9 | 17 | ## [6.1.0] |
| 18 | + |
10 | 19 | - Add cloudflare? method to determine if request passed through CF (https://github.com/modosc/cloudflare-rails/pull/149) |
11 | 20 |
|
12 | 21 | ## [6.0.0] - 2024-06-12 |
| 22 | + |
13 | 23 | - Drop support for `rails` version `6.1` and `7.0`, new minimum version is `7.1.0` (https://github.com/modosc/cloudflare-rails/pull/142) |
14 | 24 | - Bump minimum ruby version to `3.1.0` in preparation for `rails` version `7.2` (https://github.com/modosc/cloudflare-rails/pull/142) |
15 | 25 | - Relax `rails` dependencies to allow for `7.2` and `8.0` (https://github.com/modosc/cloudflare-rails/pull/142) |
16 | 26 | - Fix `Appraisals` branch for `rails` version `7.2` (https://github.com/modosc/cloudflare-rails/pull/142) |
17 | 27 | - add `rails` version `8.0` to `Appraisals` (https://github.com/modosc/cloudflare-rails/pull/142) |
18 | 28 |
|
19 | 29 | ## [5.0.1] - 2023-12-16 |
| 30 | + |
20 | 31 | - Fix `zeitwerk` loading issue (https://github.com/modosc/cloudflare-rails/pull/105) |
21 | 32 |
|
22 | 33 | ## [5.0.0] - 2023-12-15 |
| 34 | + |
23 | 35 | ### Breaking Changes |
| 36 | + |
24 | 37 | - Change namespace from `Cloudflare::Rails` to `CloudflareRails`. This avoids issues with the [cloudflare](https://github.com/socketry/cloudflare) gem as well as the global `Rails` namespace. |
25 | 38 | - A static set of Cloudflare IP addresses will now be used as a fallback value in the case of Cloudflare API failures. These will not be stored in `Rails.cache` so each subsequent result will retry the Cloudflare calls. Once one suceeds the response will be cached and used. |
26 | 39 |
|
27 | 40 | ### Added |
| 41 | + |
28 | 42 | - Use `zeitwerk` to manage file loading. |
29 | 43 |
|
30 | 44 | ## [4.1.0] - 2023-10-06 |
| 45 | + |
31 | 46 | - Add support for `rails` version `7.1.0` |
32 | 47 |
|
33 | 48 | ## [4.0.0] - 2023-08-06 |
| 49 | + |
34 | 50 | - Fix `appraisal` for ruby `3.x` |
35 | 51 | - properly scope railtie initializer (https://github.com/modosc/cloudflare-rails/pull/79) |
36 | 52 | - Drop support for unsupported `rails` version `6.0.x` |
37 | 53 |
|
38 | 54 | ## [3.0.0] - 2023-01-30 |
| 55 | + |
39 | 56 | - Drop support for unsupported `rails` version `5.2.x` |
40 | 57 | - Fetch and cache IPs lazily instead of upon initialization (https://github.com/modosc/cloudflare-rails/pull/52) |
41 | 58 |
|
42 | 59 | ## [2.4.0] - 2022-02-22 |
| 60 | + |
43 | 61 | - Add trailing slashes to reflect Cloudflare API URLs (https://github.com/modosc/cloudflare-rails/pull/53) |
44 | 62 |
|
45 | 63 | ## [2.3.0] - 2021-10-22 |
46 | | -- Better handling of malformed IP addresses (https://github.com/modosc/cloudflare-rails/pull/49) |
| 64 | + |
| 65 | +- Better handling of malformed IP addresses (https://github.com/modosc/cloudflare-rails/pull/49) |
47 | 66 |
|
48 | 67 | ## [2.2.0] - 2021-06-11 |
| 68 | + |
49 | 69 | - Fix typo in `actionpack` dependency |
50 | 70 |
|
51 | 71 | ## [2.1.0] - 2021-06-11 |
| 72 | + |
52 | 73 | ### Breaking Changes |
| 74 | + |
53 | 75 | - Drop support for unsupported `rails` versions (`5.0.x` and `5.1.x`) |
54 | 76 |
|
55 | 77 | ### Added |
| 78 | + |
56 | 79 | - use Net::HTTP instead of httparty ([pr](https://github.com/modosc/cloudflare-rails/pull/44)) |
57 | 80 | - Add `rails 7.0.0.alpha` support |
58 | 81 |
|
59 | 82 | ## [2.0.0] - 2021-02-17 |
| 83 | + |
60 | 84 | ### Breaking Changes |
| 85 | + |
61 | 86 | - Removed broad dependency on `rails`, replaced with explicit dependencies for `railties`, `activesupport`, and `actionpack` ( [issue](https://github.com/modosc/cloudflare-rails/issues/34) and [pr](https://github.com/modosc/cloudflare-rails/pull/35)) |
62 | 87 |
|
63 | 88 | ## [1.0.0] - 2020-09-29 |
| 89 | + |
64 | 90 | ### Added |
65 | 91 |
|
66 | 92 | - Fix various [loading order issues](https://github.com/modosc/cloudflare-rails/pull/25). |
0 commit comments