Skip to content

Commit 90f01e6

Browse files
committed
bump version to 7.0
1 parent deee617 commit 90f01e6

4 files changed

Lines changed: 30 additions & 4 deletions

File tree

Appraisals

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ appraise 'rails-8.0' do
77
end
88

99
appraise 'rails-8.1' do
10-
gem 'rails', '~> 8.1.0.rc1'
10+
gem 'rails', '~> 8.1.0'
1111
end
1212

1313
appraise 'rails-edge' do

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,92 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
56
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+
613
## [6.2.0]
14+
715
- Trust X-Forwarded-For from the right to the left (https://github.com/modosc/cloudflare-rails/pull/162)
816

917
## [6.1.0]
18+
1019
- Add cloudflare? method to determine if request passed through CF (https://github.com/modosc/cloudflare-rails/pull/149)
1120

1221
## [6.0.0] - 2024-06-12
22+
1323
- 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)
1424
- Bump minimum ruby version to `3.1.0` in preparation for `rails` version `7.2` (https://github.com/modosc/cloudflare-rails/pull/142)
1525
- Relax `rails` dependencies to allow for `7.2` and `8.0` (https://github.com/modosc/cloudflare-rails/pull/142)
1626
- Fix `Appraisals` branch for `rails` version `7.2` (https://github.com/modosc/cloudflare-rails/pull/142)
1727
- add `rails` version `8.0` to `Appraisals` (https://github.com/modosc/cloudflare-rails/pull/142)
1828

1929
## [5.0.1] - 2023-12-16
30+
2031
- Fix `zeitwerk` loading issue (https://github.com/modosc/cloudflare-rails/pull/105)
2132

2233
## [5.0.0] - 2023-12-15
34+
2335
### Breaking Changes
36+
2437
- 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.
2538
- 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.
2639

2740
### Added
41+
2842
- Use `zeitwerk` to manage file loading.
2943

3044
## [4.1.0] - 2023-10-06
45+
3146
- Add support for `rails` version `7.1.0`
3247

3348
## [4.0.0] - 2023-08-06
49+
3450
- Fix `appraisal` for ruby `3.x`
3551
- properly scope railtie initializer (https://github.com/modosc/cloudflare-rails/pull/79)
3652
- Drop support for unsupported `rails` version `6.0.x`
3753

3854
## [3.0.0] - 2023-01-30
55+
3956
- Drop support for unsupported `rails` version `5.2.x`
4057
- Fetch and cache IPs lazily instead of upon initialization (https://github.com/modosc/cloudflare-rails/pull/52)
4158

4259
## [2.4.0] - 2022-02-22
60+
4361
- Add trailing slashes to reflect Cloudflare API URLs (https://github.com/modosc/cloudflare-rails/pull/53)
4462

4563
## [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)
4766

4867
## [2.2.0] - 2021-06-11
68+
4969
- Fix typo in `actionpack` dependency
5070

5171
## [2.1.0] - 2021-06-11
72+
5273
### Breaking Changes
74+
5375
- Drop support for unsupported `rails` versions (`5.0.x` and `5.1.x`)
5476

5577
### Added
78+
5679
- use Net::HTTP instead of httparty ([pr](https://github.com/modosc/cloudflare-rails/pull/44))
5780
- Add `rails 7.0.0.alpha` support
5881

5982
## [2.0.0] - 2021-02-17
83+
6084
### Breaking Changes
85+
6186
- 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))
6287

6388
## [1.0.0] - 2020-09-29
89+
6490
### Added
6591

6692
- Fix various [loading order issues](https://github.com/modosc/cloudflare-rails/pull/25).

gemfiles/rails_8.1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
source 'https://rubygems.org'
66

7-
gem 'rails', '~> 8.1.0.rc1'
7+
gem 'rails', '~> 8.1.0'
88

99
gemspec path: '../'

lib/cloudflare_rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module CloudflareRails
4-
VERSION = '6.2.0'
4+
VERSION = '7.0.0'
55
end

0 commit comments

Comments
 (0)