Skip to content

Commit ca531e6

Browse files
committed
Add changes to 1.4.0, which we haven't released
1 parent 846e55c commit ca531e6

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

CHANGELOG.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Changelog
22

3-
## 1.5.0
3+
## 1.4.0
44

5+
* Ruby 3.2+ is now required. If you're using Ruby 3.0 or 3.1, please use
6+
version 1.3.0 of this gem.
57
* A new `anonymizer` object has been added to the `MaxMind::GeoIP2::Model::Insights`
68
model. This object indicates whether the IP address is part of an anonymizing
79
network, including VPN confidence scoring, provider name detection, and network
@@ -16,10 +18,6 @@
1618
corresponding methods in the `anonymizer` object from the GeoIP2 Insights
1719
response instead.
1820

19-
## 1.4.0
20-
21-
* Ruby 3.2+ is now required. If you're using Ruby 3.0 or 3.1, please use
22-
version 1.3.0 of this gem.
2321

2422
## 1.3.0 (2025-05-06)
2523

lib/maxmind/geoip2/record/traits.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ def ip_address
7676
# This is true if the IP address belongs to any sort of anonymous network.
7777
# This property is only available from Insights.
7878
#
79-
# This method is deprecated as of version 1.5.0. Use the anonymizer object
79+
# This method is deprecated as of version 1.4.0. Use the anonymizer object
8080
# from the Insights response instead.
8181
#
8282
# @return [Boolean]
83-
# @deprecated since 1.5.0
83+
# @deprecated since 1.4.0
8484
def anonymous?
8585
get('is_anonymous')
8686
end
@@ -90,11 +90,11 @@ def anonymous?
9090
# associated with them, we will likely only flag their IP ranges using the
9191
# hosting_provider? property. This property is only available from Insights.
9292
#
93-
# This method is deprecated as of version 1.5.0. Use the anonymizer object
93+
# This method is deprecated as of version 1.4.0. Use the anonymizer object
9494
# from the Insights response instead.
9595
#
9696
# @return [Boolean]
97-
# @deprecated since 1.5.0
97+
# @deprecated since 1.4.0
9898
def anonymous_vpn?
9999
get('is_anonymous_vpn')
100100
end
@@ -115,11 +115,11 @@ def anycast?
115115
# description of the anonymous_vpn? property). This property is only
116116
# available from Insights.
117117
#
118-
# This method is deprecated as of version 1.5.0. Use the anonymizer object
118+
# This method is deprecated as of version 1.4.0. Use the anonymizer object
119119
# from the Insights response instead.
120120
#
121121
# @return [Boolean]
122-
# @deprecated since 1.5.0
122+
# @deprecated since 1.4.0
123123
def hosting_provider?
124124
get('is_hosting_provider')
125125
end
@@ -158,11 +158,11 @@ def mobile_network_code
158158
# This is true if the IP address belongs to a public proxy. This property
159159
# is only available from Insights.
160160
#
161-
# This method is deprecated as of version 1.5.0. Use the anonymizer object
161+
# This method is deprecated as of version 1.4.0. Use the anonymizer object
162162
# from the Insights response instead.
163163
#
164164
# @return [Boolean]
165-
# @deprecated since 1.5.0
165+
# @deprecated since 1.4.0
166166
def public_proxy?
167167
get('is_public_proxy')
168168
end
@@ -171,23 +171,23 @@ def public_proxy?
171171
# and belongs to a residential ISP. This property is only available
172172
# from Insights.
173173
#
174-
# This method is deprecated as of version 1.5.0. Use the anonymizer object
174+
# This method is deprecated as of version 1.4.0. Use the anonymizer object
175175
# from the Insights response instead.
176176
#
177177
# @return [Boolean]
178-
# @deprecated since 1.5.0
178+
# @deprecated since 1.4.0
179179
def residential_proxy?
180180
get('is_residential_proxy')
181181
end
182182

183183
# This is true if the IP address is a Tor exit node. This property is only
184184
# available from Insights.
185185
#
186-
# This method is deprecated as of version 1.5.0. Use the anonymizer object
186+
# This method is deprecated as of version 1.4.0. Use the anonymizer object
187187
# from the Insights response instead.
188188
#
189189
# @return [Boolean]
190-
# @deprecated since 1.5.0
190+
# @deprecated since 1.4.0
191191
def tor_exit_node?
192192
get('is_tor_exit_node')
193193
end

0 commit comments

Comments
 (0)