Skip to content

Commit 5044121

Browse files
authored
Merge pull request #119 from maxmind/greg/eng-3312-ip-risk-and-anonymous-plus-outputs-are-supported-by-geoip2
Add IP Risk and Anonymous Plus outputs to Insights
2 parents 42c37b9 + ca531e6 commit 5044121

File tree

7 files changed

+615
-0
lines changed

7 files changed

+615
-0
lines changed

.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# Editor files
12
*.swp
3+
*~
4+
.DS_Store
5+
6+
# YARD documentation
27
/doc
38
/.yardoc
9+
10+
# Bundler
11+
/.bundle
12+
/vendor/bundle
13+
14+
# Gem build artifacts
15+
*.gem
16+
/pkg
17+
18+
# Test coverage
19+
/coverage
20+
21+
# RuboCop cache
22+
/.rubocop-*
23+
24+
# IDE/Editor specific
25+
/.idea
26+
/.vscode
27+
*.iml
28+
29+
# Temporary files
30+
/tmp
31+
32+
# Claude Code
33+
.claude

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@
44

55
* Ruby 3.2+ is now required. If you're using Ruby 3.0 or 3.1, please use
66
version 1.3.0 of this gem.
7+
* A new `anonymizer` object has been added to the `MaxMind::GeoIP2::Model::Insights`
8+
model. This object indicates whether the IP address is part of an anonymizing
9+
network, including VPN confidence scoring, provider name detection, and network
10+
last seen date. This is only available from the GeoIP2 Insights web service.
11+
* A new `ip_risk_snapshot` method has been added to `MaxMind::GeoIP2::Record::Traits`.
12+
This field contains the risk associated with the IP address, ranging from 0.01 to
13+
99 (a higher score indicates a higher risk). This is only available from the GeoIP2
14+
Insights web service.
15+
* The `anonymous?`, `anonymous_vpn?`, `hosting_provider?`, `public_proxy?`,
16+
`residential_proxy?`, and `tor_exit_node?` methods in
17+
`MaxMind::GeoIP2::Record::Traits` have been deprecated. Please use the
18+
corresponding methods in the `anonymizer` object from the GeoIP2 Insights
19+
response instead.
20+
721

822
## 1.3.0 (2025-05-06)
923

0 commit comments

Comments
 (0)