From b64a122b9aa160d6320f8f85fed533282e1f6bb2 Mon Sep 17 00:00:00 2001 From: Uman Shahzad Date: Thu, 22 Apr 2021 17:09:43 +0500 Subject: [PATCH] add changelog and bump vsn for 2.2 --- CHANGELOG.md | 8 ++++++++ composer.json | 2 +- src/IPinfo.php | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6783846..d92afc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +### 2.2.0 (April 22nd 2021) + +- Added Maps integration. +- Added versioned cache keys. + This allows more reliable changes to cached data in the future without + causing confusing incompatibilities. This should be transparent to the user. + This is primarily useful for users with persistent cache implementations. + ### 2.1.1 (January 12 2021) - Bug fix issue reported in Laravel SDK diff --git a/composer.json b/composer.json index 4264d49..9fa7bd8 100644 --- a/composer.json +++ b/composer.json @@ -48,7 +48,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.2-dev" } }, "config": { diff --git a/src/IPinfo.php b/src/IPinfo.php index bf3cc20..977906b 100644 --- a/src/IPinfo.php +++ b/src/IPinfo.php @@ -169,7 +169,7 @@ public function getMapUrl($ips) private function buildHeaders() { $headers = [ - 'user-agent' => 'IPinfoClient/PHP/2.1', + 'user-agent' => 'IPinfoClient/PHP/2.2', 'accept' => 'application/json', ];