1CHANGELOG 2========= 3 42.9.0 (2018-04-10) 5------------------ 6 7* Refer to account IDs using the terminology "account" rather than "user". 8 92.8.0 (2018-01-18) 10------------------ 11 12* The `isInEuropeanUnion` property was added to `GeoIp2\Record\Country` 13 and `GeoIp2\Record\RepresentedCountry`. This property is `true` if the 14 country is a member state of the European Union. 15 162.7.0 (2017-10-27) 17------------------ 18 19* The following new anonymizer properties were added to `GeoIp2\Record\Traits` 20 for use with GeoIP2 Precision Insights: `isAnonymous`, `isAnonymousVpn`, 21 `isHostingProvider`, `isPublicProxy`, and `isTorExitNode`. 22 232.6.0 (2017-07-10) 24----------------- 25 26* Code clean-up and tidying. 27* Set minimum required PHP version to 5.4 in `composer.json`. Previously, 28 5.3 would work but was not tested. Now 5.4 is hard minimum version. 29 302.5.0 (2017-05-08) 31------------------ 32 33* Support for PHP 5.3 was dropped. 34* Added support for GeoLite2 ASN database. 35 362.4.5 (2017-01-31) 37------------------ 38 39* Additional error checking on the data returned from `MaxMind\Db\Reader` 40 was added to help detect corrupt databases. GitHub #83. 41 422.4.4 (2016-10-11) 43------------------ 44 45* `isset()` on `mostSpecificSubdivision` attribute now returns the 46 correct value. Reported by Juan Francisco Giordana. GitHub #81. 47 482.4.3 (2016-10-11) 49------------------ 50 51* `isset()` on `name` attribute now returns the correct value. Reported by 52 Juan Francisco Giordana. GitHub #79. 53 542.4.2 (2016-08-17) 55------------------ 56 57* Updated documentation to clarify what the accuracy radius refers to. 58* Upgraded `maxmind/web-service-common` to 0.3.0. This version uses 59 `composer/ca-bundle` rather than our own CA bundle. GitHub #75. 60* Improved PHP documentation generation. 61 622.4.1 (2016-06-10) 63------------------ 64 65* Corrected type annotations in documentation. GitHub #66. 66* Updated documentation to reflect that the accuracy radius is now included 67 in City. 68* Upgraded web service client, which supports setting a proxy. GitHub #59. 69 702.4.0 (2016-04-15) 71------------------ 72 73* Added support for the GeoIP2 Enterprise database. 74 752.3.3 (2015-09-24) 76------------------ 77 78* Corrected case on `JsonSerializable` interface. Reported by Axel Etcheverry. 79 GitHub #56. 80 812.3.2 (2015-09-23) 82------------------ 83 84* `JsonSerializable` compatibility interface was moved to `GeoIp2\Compat` 85 rather than the global namespace to prevent autoloading issues. Reported by 86 Tomas Buteler. GitHub #54. 87* Missing documentation for the `$postal` property was added to the 88 `GeoIp2\Model\City` class. Fix by Roy Sindre Norangshol. GitHub #51. 89* In the Phar distribution, source files for this module no longer have their 90 documentation stripped, allowing IDE introspection to work properly. 91 Reported by Dominic Black. GitHub #52. 92 932.3.1 (2015-06-30) 94------------------ 95 96* Updated `maxmind/web-service-common` to version with fixes for PHP 5.3 and 97 5.4. 98 992.3.0 (2015-06-29) 100------------------ 101 102* Support for demographics fields `averageIncome` and `populationDensity` in 103 the `Location` record, returned by the Insights endpoint. 104* The `isAnonymousProxy` and `isSatelliteProvider` properties on 105 `GeoIP2\Record\Traits` have been deprecated. Please use our [GeoIP2 106 Anonymous IP database](https://www.maxmind.com/en/geoip2-anonymous-ip-database) 107 to determine whether an IP address is used by an anonymizing service. 108 1092.2.0-beta1 (2015-06-09) 110------------------------ 111 112* Typo fix in documentation. 113 1142.2.0-alpha2 (2015-06-01) 115------------------------- 116 117* `maxmind-ws/web-service-common` was renamed to `maxmind/web-service-common`. 118 1192.2.0-alpha1 (2015-05-22) 120------------------------- 121 122* The library no longer uses Guzzle and instead uses curl directly. 123* Support for `timeout` and `connectTimout` were added to the `$options` array 124 passed to the `GeoIp2\WebService\Client` constructor. Pull request by Will 125 Bradley. GitHub #36. 126 1272.1.1 (2014-12-03) 128------------------ 129 130* The 2.1.0 Phar builds included a shebang line, causing issues when loading 131 it as a library. This has been corrected. GitHub #33. 132 1332.1.0 (2014-10-29) 134------------------ 135 136* Update ApiGen dependency to version that isn't broken on case sensitive 137 file systems. 138* Added support for the GeoIP2 Anonymous IP database. The 139 `GeoIP2\Database\Reader` class now has an `anonymousIp` method which returns 140 a `GeoIP2\Model\AnonymousIp` object. 141* Boolean attributes like those in the `GeoIP2\Record\Traits` class now return 142 `false` instead of `null` when they were not true. 143 1442.0.0 (2014-09-22) 145------------------ 146 147* First production release. 148 1490.9.0 (2014-09-15) 150------------------ 151 152* IMPORTANT: The deprecated `omni()` and `cityIspOrg()` methods have been 153 removed from `GeoIp2\WebService\Client`. 154 1550.8.1 (2014-09-12) 156------------------ 157 158* The check added to the `GeoIP2\Database\Reader` lookup methods in 0.8.0 did 159 not work with the GeoIP2 City Database Subset by Continent with World 160 Countries. This has been fixed. Fixes GitHub issue #23. 161 1620.8.0 (2014-09-10) 163------------------ 164 165* The `GeoIp2\Database\Reader` lookup methods (e.g., `city()`, `isp()`) now 166 throw a `BadMethodCallException` if they are used with a database that 167 does not match the method. In particular, doing a `city()` lookup on a 168 GeoIP2 Country database will result in an exception, and vice versa. 169* A `metadata()` method has been added to the `GeoIP2\Database\Reader` class. 170 This returns a `MaxMind\Db\Reader\Metadata` class with information about the 171 database. 172* The name attribute was missing from the RepresentedCountry class. 173 1740.7.0 (2014-07-22) 175------------------ 176 177* The web service client API has been updated for the v2.1 release of the web 178 service. In particular, the `cityIspOrg` and `omni` methods on 179 `GeoIp2\WebService\Client` should be considered deprecated. The `city` 180 method now provides all of the data formerly provided by `cityIspOrg`, and 181 the `omni` method has been replaced by the `insights` method. 182* Support was added for GeoIP2 Connection Type, Domain and ISP databases. 183 184 1850.6.3 (2014-05-12) 186------------------ 187 188* With the previous Phar builds, some users received `phar error: invalid url 189 or non-existent phar` errors. The correct alias is now used for the Phar, 190 and this should no longer be an issue. 191 1920.6.2 (2014-05-08) 193------------------ 194 195* The Phar build was broken with Guzzle 3.9.0+. This has been fixed. 196 1970.6.1 (2014-05-01) 198------------------ 199 200* This API now officially supports HHVM. 201* The `maxmind-db/reader` dependency was updated to a version that does not 202 require BC Math. 203* The Composer compatibility autoload rules are now targeted more narrowly. 204* A `box.json` file is included to build a Phar package. 205 2060.6.0 (2014-02-19) 207------------------ 208 209* This API is now licensed under the Apache License, Version 2.0. 210* Model and record classes now implement `JsonSerializable`. 211* `isset` now works with model and record classes. 212 2130.5.0 (2013-10-21) 214------------------ 215 216* Renamed $languages constructor parameters to $locales for both the Client 217 and Reader classes. 218* Documentation and code clean-up (Ben Morel). 219* Added the interface `GeoIp2\ProviderInterface`, which is implemented by both 220 `\GeoIp2\Database\Reader` and `\GeoIp2\WebService\Client`. 221 2220.4.0 (2013-07-16) 223------------------ 224 225* This is the first release with the GeoIP2 database reader. Please see the 226 `README.md` file and the `\GeoIp2\Database\Reader` class. 227* The general exception classes were replaced with specific exception classes 228 representing particular types of errors, such as an authentication error. 229 2300.3.0 (2013-07-12) 231------------------ 232 233* In namespaces and class names, "GeoIP2" was renamed to "GeoIp2" to improve 234 consistency. 235 2360.2.1 (2013-06-10) 237------------------ 238 239* First official beta release. 240* Documentation updates and corrections. 241 2420.2.0 (2013-05-29) 243------------------ 244 245* `GenericException` was renamed to `GeoIP2Exception`. 246* We now support more languages. The new languages are de, es, fr, and pt-BR. 247* The REST API now returns a record with data about your account. There is 248 a new `GeoIP\Records\MaxMind` class for this data. 249* The `continentCode` attribute on `Continent` was renamed to `code`. 250* Documentation updates. 251 2520.1.1 (2013-05-14) 253------------------ 254 255* Updated Guzzle version requirement. 256* Fixed Composer example in README.md. 257 258 2590.1.0 (2013-05-13) 260------------------ 261 262* Initial release. 263