Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

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