Skip to content

Commit 861ce7f

Browse files
committed
3.2.0 release
1 parent 4f2cc41 commit 861ce7f

File tree

4 files changed

+54
-47
lines changed

4 files changed

+54
-47
lines changed

CHANGELOG.md

Lines changed: 51 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,78 @@
11
# CHANGELOG
22

3-
### 3.1.4 (Febrrary 14 2025)
3+
### 3.2.0
44

5-
- No-op release.
5+
- Fixes PHP8.0 support, add symfony/cache ^7.0 support, phpunit 11,12 support
6+
- Run tests on PHP 8.3 and 8.4
7+
- Fix ipv6 notations and add tests
8+
- Add support for IPinfo Lite API
69

7-
### 3.1.3 (September 3d 2024)
10+
### 3.1.4
811

9-
- No-op release.
12+
- No-op release.
1013

11-
### 3.1.2 (October 2nd 2023)
14+
### 3.1.3
1215

13-
- Fixed cache key.
16+
- No-op release.
1417

15-
### 3.1.1 (August 3rd 2023)
18+
### 3.1.2
1619

17-
- Patched deprecations.
20+
- Fixed cache key.
1821

19-
### 3.1.0 (July 28th 2023)
22+
### 3.1.1
2023

21-
- Default cache changed. Replaced `sabre/cache` with `symfony/cache`.
24+
- Patched deprecations.
2225

23-
### 3.0.1 (June 19th 2023)
26+
### 3.1.0
2427

25-
- Added the link of country flag image.
28+
- Default cache changed. Replaced `sabre/cache` with `symfony/cache`.
2629

27-
### 3.0.0 (December 27th 2022)
30+
### 3.0.1
2831

29-
- Require PHP >= 8.0.
30-
- Add local bogon checking.
32+
- Added the link of country flag image.
3133

32-
### 2.3.1 (June 27 2022)
34+
### 3.0.0
3335

34-
- Added Stringable implementation for PHP 8.0 with backward compatibility.
36+
- Require PHP >= 8.0.
37+
- Add local bogon checking.
3538

36-
### 2.3.0 (September 21 2021)
39+
### 2.3.1
3740

38-
- Added batch ops integration.
39-
- Added the ability to disable cache usage entirely.
41+
- Added Stringable implementation for PHP 8.0 with backward compatibility.
4042

41-
### 2.2.0 (April 22nd 2021)
43+
### 2.3.0
4244

43-
- Added Maps integration.
44-
- Added versioned cache keys.
45-
This allows more reliable changes to cached data in the future without
46-
causing confusing incompatibilities. This should be transparent to the user.
47-
This is primarily useful for users with persistent cache implementations.
45+
- Added batch ops integration.
46+
- Added the ability to disable cache usage entirely.
4847

49-
### 2.1.1 (January 12 2021)
48+
### 2.2.0
5049

51-
- Bug fix issue reported in Laravel SDK
52-
(https://github.com/ipinfo/laravel/issues/14) which also applies in PHP SDK,
53-
with https://github.com/ipinfo/php/pull/27.
50+
- Added Maps integration.
51+
- Added versioned cache keys.
52+
This allows more reliable changes to cached data in the future without
53+
causing confusing incompatibilities. This should be transparent to the user.
54+
This is primarily useful for users with persistent cache implementations.
5455

55-
### 2.1.0 (December 2 2020)
56+
### 2.1.1
5657

57-
- Deprecate PHP 7.2 support.
58-
- Add support for PHP 8.0.
58+
- Bug fix issue reported in Laravel SDK
59+
(https://github.com/ipinfo/laravel/issues/14) which also applies in PHP SDK,
60+
with https://github.com/ipinfo/php/pull/27.
5961

60-
### 2.0.0 (November 2020)
62+
### 2.1.0
6163

62-
- A `guzzle_opts` option is supported in the settings, which allows full Guzzle
63-
option overrides.
64-
- A `timeout` option is supported in the settings, which is the request timeout
65-
value, and defaults to 2 seconds.
66-
**BREAKING**: this was previously unconfigurable and was 0 seconds,
67-
i.e. infinite timeout.
68-
- The `buildHeaders` method on the main `IPinfo` client is now private.
69-
**BREAKING**: this will no longer be available for use from the client.
70-
- Only non-EOL PHP 7 versions are supported. In particular, PHP 7.2 and above
71-
are all supported and tested in the CI.
64+
- Deprecate PHP 7.2 support.
65+
- Add support for PHP 8.0.
66+
67+
### 2.0.0
68+
69+
- A `guzzle_opts` option is supported in the settings, which allows full Guzzle
70+
option overrides.
71+
- A `timeout` option is supported in the settings, which is the request timeout
72+
value, and defaults to 2 seconds.
73+
**BREAKING**: this was previously unconfigurable and was 0 seconds,
74+
i.e. infinite timeout.
75+
- The `buildHeaders` method on the main `IPinfo` client is now private.
76+
**BREAKING**: this will no longer be available for use from the client.
77+
- Only non-EOL PHP 7 versions are supported. In particular, PHP 7.2 and above
78+
are all supported and tested in the CI.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
},
4444
"extra": {
4545
"branch-alias": {
46-
"dev-master": "3.1.4-dev"
46+
"dev-master": "3.2.0-dev"
4747
}
4848
},
4949
"config": {

src/IPinfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public function getMapUrl($ips)
289289
private function buildHeaders()
290290
{
291291
$headers = [
292-
'user-agent' => 'IPinfoClient/PHP/3.1.4',
292+
'user-agent' => 'IPinfoClient/PHP/3.2.0',
293293
'accept' => 'application/json',
294294
'content-type' => 'application/json',
295295
];

src/IPinfoLite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function getRequestDetails(string $ip_address)
189189
private function buildHeaders()
190190
{
191191
$headers = [
192-
"user-agent" => "IPinfoClient/PHP/3.1.4",
192+
"user-agent" => "IPinfoClient/PHP/3.2.0",
193193
"accept" => "application/json",
194194
"content-type" => "application/json",
195195
];

0 commit comments

Comments
 (0)