PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 5.5.1
Defender Security – Malware Scanner, Login Security & Firewall v5.5.1
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
defender-security / src / extra / maxmind-db / reader / CHANGELOG.md

CHANGELOG.md in Defender Security – Malware Scanner, Login Security & Firewall 5.5.1, at src/extra/maxmind-db/reader/CHANGELOG.md

231 lines 7.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 CHANGELOG
2 =========
3
4 1.11.0 (2021-10-18)
5 -------------------
6
7 * Replace runtime define of a constant to facilitate opcache preloading.
8 Reported by vedadkajtaz. GitHub #134.
9 * Resolve minor issue found by the Clang static analyzer in the C
10 extension.
11
12 1.10.1 (2021-04-14)
13 -------------------
14
15 * Fix a `TypeError` exception in the pure PHP reader when using large
16 databases on 32-bit PHP builds with the `bcmath` extension. Reported
17 by dodo1708. GitHub #124.
18
19 1.10.0 (2021-02-09)
20 -------------------
21
22 * When using the pure PHP reader, unsigned integers up to PHP_MAX_INT
23 will now be integers in PHP rather than strings. Previously integers
24 greater than 2^24 on 32-bit platforms and 2^56 on 64-bit platforms
25 would be strings due to the use of `gmp` or `bcmath` to decode them.
26 Reported by Alejandro Celaya. GitHub #119.
27
28 1.9.0 (2021-01-07)
29 ------------------
30
31 * The `maxminddb` extension is now buildable on Windows. Pull request
32 by Jan Ehrhardt. GitHub #115.
33
34 1.8.0 (2020-10-01)
35 ------------------
36
37 * Fixes for PHP 8.0. Pull Request by Remi Collet. GitHub #108.
38
39 1.7.0 (2020-08-07)
40 ------------------
41
42 * IMPORTANT: PHP 7.2 or greater is now required.
43 * The extension no longer depends on the pure PHP classes in
44 `maxmind-db/reader`. You can use it independently.
45 * Type hints have been added to both the pure PHP implementation
46 and the extension.
47 * The `metadata` method on the reader now returns a new copy of the
48 metadata object rather than the actual object used by the reader.
49 * Work around PHP `is_readable()` bug. Reported by Ben Roberts. GitHub
50 #92.
51 * This is the first release of the extension as a PECL package.
52 GitHub #34.
53
54 1.6.0 (2019-12-19)
55 ------------------
56
57 * 1.5.0 and 1.5.1 contained a possible memory corruptions when using
58 `getWithPrefixLen`. This has been fixed. Reported by proton-ab.
59 GitHub #96.
60 * The `composer.json` file now conflicts with all versions of the
61 `maxminddb` C extension less than the Composer version. This is to
62 reduce the chance of having an older, conflicting version of the
63 extension installed. You will need to upgrade the extension before
64 running `composer update`. Pull request by Benoît Burnichon. GitHub
65 #97.
66
67 1.5.1 (2019-12-12)
68 ------------------
69
70 * Minor performance improvements.
71 * Make tests pass with older versions of libmaxminddb. PR by Remi
72 Collet. GitHub #90.
73 * Test enhancements. PR by Chun-Sheng, Li. GitHub #91.
74
75 1.5.0 (2019-09-30)
76 ------------------
77
78 * PHP 5.6 or greater is now required.
79 * The C extension now supports PHP 8. Pull request by John Boehr.
80 GitHub #87.
81 * A new method, `getWithPrefixLen`, was added to the `Reader` class.
82 This method returns an array containing the record and the prefix
83 length for that record. GitHub #89.
84
85 1.4.1 (2019-01-04)
86 ------------------
87
88 * The `maxminddb` extension now returns a string when a `uint32`
89 value is greater than `LONG_MAX`. Previously, the value would
90 overflow. This generally only affects 32-bit machines. Reported
91 by Remi Collet. GitHub #79.
92 * For `uint64` values, the `maxminddb` extension now returns an
93 integer rather than a string when the value is less than or equal
94 to `LONG_MAX`. This more closely matches the behavior of the pure
95 PHP reader.
96
97 1.4.0 (2018-11-20)
98 ------------------
99
100 * The `maxminddb` extension now has the arginfo when using reflection.
101 PR by Remi Collet. GitHub #75.
102 * The `maxminddb` extension now provides `MINFO()` function that
103 displays the extension version and the libmaxminddb version. PR by
104 Remi Collet. GitHub #74.
105 * The `maxminddb` `configure` script now uses `pkg-config` when
106 available to get libmaxmindb build info. PR by Remi Collet.
107 GitHub #73.
108 * The pure PHP reader now correctly decodes integers on 32-bit platforms.
109 Previously, large integers would overflow. Reported by Remi Collet.
110 GitHub #77.
111 * There are small performance improvements for the pure PHP reader.
112
113 1.3.0 (2018-02-21)
114 ------------------
115
116 * IMPORTANT: The `maxminddb` extension now obeys `open_basedir`. If
117 `open_basedir` is set, you _must_ store the database within the
118 specified directory. Placing the file outside of this directory
119 will result in an exception. Please test your integration before
120 upgrading the extension. This does not affect the pure PHP
121 implementation, which has always had this restriction. Reported
122 by Benoît Burnichon. GitHub #61.
123 * A custom `autoload.php` file is provided for installations without
124 Composer. GitHub #56.
125
126 1.2.0 (2017-10-27)
127 ------------------
128
129 * PHP 5.4 or greater is now required.
130 * The `Reader` class for the `maxminddb` extension is no longer final.
131 This was change to match the behavior of the pure PHP class.
132 Reported and fixed by venyii. GitHub #52 & #54.
133
134 1.1.3 (2017-01-19)
135 ------------------
136
137 * Fix incorrect version in `ext/php_maxminddb.h`. GitHub #48.
138
139 1.1.2 (2016-11-22)
140 ------------------
141
142 * Searching for database metadata only occurs within the last 128KB
143 (128 * 1024 bytes) of the file, speeding detection of corrupt
144 datafiles. Reported by Eric Teubert. GitHub #42.
145 * Suggest relevant extensions when installing with Composer. GitHub #37.
146
147 1.1.1 (2016-09-15)
148 ------------------
149
150 * Development files were added to the `.gitattributes` as `export-ignore` so
151 that they are not part of the Composer release. Pull request by Michele
152 Locati. GitHub #39.
153
154 1.1.0 (2016-01-04)
155 ------------------
156
157 * The MaxMind DB extension now supports PHP 7. Pull request by John Boehr.
158 GitHub #27.
159
160 1.0.3 (2015-03-13)
161 ------------------
162
163 * All uses of `strlen` were removed. This should prevent issues in situations
164 where the function is overloaded or otherwise broken.
165
166 1.0.2 (2015-01-19)
167 ------------------
168
169 * Previously the MaxMind DB extension would cause a segfault if the Reader
170 object's destructor was called without first having called the constructor.
171 (Reported by Matthias Saou & Juan Peri. GitHub #20.)
172
173 1.0.1 (2015-01-12)
174 ------------------
175
176 * In the last several releases, the version number in the extension was
177 incorrect. This release is being done to correct it. No other code changes
178 are included.
179
180 1.0.0 (2014-09-22)
181 ------------------
182
183 * First production release.
184 * In the pure PHP reader, a string length test after `fread()` was replaced
185 with the difference between the start pointer and the end pointer. This
186 provided a 15% speed increase.
187
188 0.3.3 (2014-09-15)
189 ------------------
190
191 * Clarified behavior of 128-bit type in documentation.
192 * Updated phpunit and fixed some test breakage from the newer version.
193
194 0.3.2 (2014-09-10)
195 ------------------
196
197 * Fixed invalid reference to global class RuntimeException from namespaced
198 code. Fixed by Steven Don. GitHub issue #15.
199 * Additional documentation of `Metadata` class as well as misc. documentation
200 cleanup.
201
202 0.3.1 (2014-05-01)
203 ------------------
204
205 * The API now works when `mbstring.func_overload` is set.
206 * BCMath is no longer required. If the decoder encounters a big integer,
207 it will try to use GMP and then BCMath. If both of those fail, it will
208 throw an exception. No databases released by MaxMind currently use big
209 integers.
210 * The API now officially supports HHVM when using the pure PHP reader.
211
212 0.3.0 (2014-02-19)
213 ------------------
214
215 * This API is now licensed under the Apache License, Version 2.0.
216 * The code for the C extension was cleaned up, fixing several potential
217 issues.
218
219 0.2.0 (2013-10-21)
220 ------------------
221
222 * Added optional C extension for using libmaxminddb in place of the pure PHP
223 reader.
224 * Significantly improved error handling in pure PHP reader.
225 * Improved performance for IPv4 lookups in an IPv6 database.
226
227 0.1.0 (2013-07-16)
228 ------------------
229
230 * Initial release
231