| 1 |
Revision history for Perl extension Sereal-Decoder |
| 2 |
|
| 3 |
**************************************************************** |
| 4 |
* Warning: For a seamless upgrade, upgrade to version 5 * |
| 5 |
* of the decoder before upgrading to version 5 of the * |
| 6 |
* encoder! * |
| 7 |
**************************************************************** |
| 8 |
5.006 |
| 9 |
* Use miniz 3.1.1 |
| 10 |
* Avoid deprecated ZSTD api. |
| 11 |
* Tidy and regen. |
| 12 |
|
| 13 |
5.005 |
| 14 |
* Update spec to document changes from version 5 |
| 15 |
* Security fixes - make sure that COPY tags cannot be used |
| 16 |
to read past end of buffer. |
| 17 |
|
| 18 |
5.004_001 |
| 19 |
* Update Zstd to 1.5.7, and other changes. |
| 20 |
* Thanks to Marco Fontani, Ricardo Signes, and James Rouzier |
| 21 |
|
| 22 |
5.004 |
| 23 |
* Fix thaw ordering for frozen objects. Nested THAW operations |
| 24 |
now happen in the documented LIFO order. Thanks to Marco |
| 25 |
Fontani for the report. |
| 26 |
|
| 27 |
5.003 |
| 28 |
* Production release of 5.002_001 and 5.002_002 |
| 29 |
* OpenBSD build fixes. Gracious thanks to Andrew Hewus Fresh |
| 30 |
for providing guidance and access to an OpenBSD box to use to |
| 31 |
debug and fix this. |
| 32 |
* Update Miniz to 3.0.2, Zstd to 1.5.2 and Devel::CheckLib to 1.16 |
| 33 |
* Assorted build fixes related to these updates. |
| 34 |
|
| 35 |
5.002_002 |
| 36 |
* OpenBSD build fixes. Gracious thanks to Andrew Hewus Fresh |
| 37 |
for providing guidance and access to an OpenBSD box to use to |
| 38 |
debug and fix this. |
| 39 |
|
| 40 |
5.002_001 |
| 41 |
* Update Miniz to 3.0.2, Zstd to 1.5.2 and Devel::CheckLib to 1.16 |
| 42 |
* Assorted build fixes related to these updates. |
| 43 |
|
| 44 |
5.002 |
| 45 |
* Fixup Decoder tests to run on perl 5.8 which has no defined-or. |
| 46 |
- Consolidated changes from 5.001_00x: |
| 47 |
* Ensure that Encoder depends on the correct version of the Decoder. |
| 48 |
Gracious thanks to Slaven Rezic for being so patient in helping |
| 49 |
me get this release working properly. |
| 50 |
* Test compatibility fixes when no perl is already installed. |
| 51 |
* Add t/195_backcompat.t to check if the latest decoder will |
| 52 |
seamlessly handle reading output from older versions. |
| 53 |
* Test compatibility fixes with version 3 and earlier. |
| 54 |
|
| 55 |
5.001_003 |
| 56 |
* Ensure that Encoder depends on the correct version of the Decoder. |
| 57 |
Gracious thanks to Slaven Rezic for being so patient in helping |
| 58 |
me get 5.001_00x working properly. |
| 59 |
|
| 60 |
5.001_002 |
| 61 |
* Test compatibility fixes when no perl is already installed. |
| 62 |
* Add t/195_backcompat.t to check if the latest decoder will |
| 63 |
seamlessly handle reading output from older versions. |
| 64 |
|
| 65 |
5.001_001 |
| 66 |
* Test compatibility fixes with version 3 and earlier. |
| 67 |
|
| 68 |
5.001 |
| 69 |
* First official release of protocol 5. Better support for non |
| 70 |
standard NV types. Support for the new Perl 5.36 bools. |
| 71 |
Upgrade *Sereal::Decoder* FIRST. |
| 72 |
|
| 73 |
5.000_002 |
| 74 |
* Prerelease CPAN testing. Build fixes for quadmath and |
| 75 |
longdouble perls. Certain tests were failing with the old |
| 76 |
versions which were subtly broken on quadmath or longdouble |
| 77 |
machines. These tests are now skipped on these builds. You |
| 78 |
will not be able to fully test this platform until you install |
| 79 |
the Decoder, and then install the Encoder. |
| 80 |
|
| 81 |
5.000_001 |
| 82 |
* Prerelease CPAN testing for 5.000_000. |
| 83 |
|
| 84 |
5.000_000 Tue Aug 30, 2022 |
| 85 |
* Support quadmath builds with FLOAT_128 tag type. |
| 86 |
* Support YES/NO tags for booleans. Requires perl 5.36. |
| 87 |
|
| 88 |
--- |
| 89 |
|
| 90 |
4.025 Thr Jul 28, 2022 |
| 91 |
* Release with build fixes for threaded perls and MANIFEST |
| 92 |
update. Oops. |
| 93 |
|
| 94 |
4.024 Wed Jul 27, 2022 |
| 95 |
* Total rework of how THAW is invoked to resolve issues with |
| 96 |
frozen representations containing blessed objects. |
| 97 |
|
| 98 |
|
| 99 |
4.023 Sun Feb 20, 2022 |
| 100 |
* Make it possible to upgrade with passing tests when using |
| 101 |
Sereal::Decoder 4.015 - 4.019 on threaded debugging perls. |
| 102 |
|
| 103 |
IF YOU USE THREADED PERLS YOU ARE STRONGLY ADVISED TO UPDATE |
| 104 |
TO THIS VERSION OR LATER. *UPGRADE THE DECODER IMMEDIATELY.* |
| 105 |
|
| 106 |
4.022 Sat Feb 19, 2022 |
| 107 |
4.021 Fri Feb 18, 2022 |
| 108 |
* Early but incomplete versions of 4.023, skip these releases. |
| 109 |
|
| 110 |
4.020 Thurs Feb 17, 2022 |
| 111 |
* Fix "panic: free from wrong pool" errors on threaded builds. |
| 112 |
This error is only visible on DEBUGGING perls however it exists |
| 113 |
regardless. If you are using a threaded build upgrade to this! |
| 114 |
Thanks to Andreas J. Koenig for finding the bug, and Nicholas Clark |
| 115 |
for suggesting valgrind to debug and fix it. |
| 116 |
|
| 117 |
4.019 Mon Feb 7, 2022 |
| 118 |
* Fix build issue with latest perl - Thanks to Nicholas Clark |
| 119 |
* Update zstd to 1.5.1 |
| 120 |
|
| 121 |
4.018 Thurs Aug 3, 2020 |
| 122 |
* Fix issue with gcc 10 with snappy compression. |
| 123 |
|
| 124 |
4.017 Thurs July 9, 2020 |
| 125 |
* The build fixes in 4.016 didn't work correctly, this should fix them. |
| 126 |
|
| 127 |
4.016 Thurs July 9, 2020 |
| 128 |
* Fix some dependency issues in build process |
| 129 |
|
| 130 |
4.015 Weds July 8, 2020 |
| 131 |
* Build fixes (missing dependency) |
| 132 |
* Hardening against corrupted data |
| 133 |
* New thresholds to manage decoding process |
| 134 |
|
| 135 |
4.014 Thurs June 11, 2020 |
| 136 |
* Fix build issue on non-win32 platforms. |
| 137 |
* Update zstd to 1.4.5 |
| 138 |
|
| 139 |
4.012 Weds June 10, 2020 |
| 140 |
* Fix memory leak in looks_like_sereal(), thanks to Kirill Sysoev |
| 141 |
|
| 142 |
4.011 Tues February 4, 2020 |
| 143 |
* Fix and test custom opcode logic for 5.31.2 and later. |
| 144 |
|
| 145 |
4.010 Tues February 4, 2020 |
| 146 |
* Update miniz |
| 147 |
* Update zstd |
| 148 |
* perltidy perl code to a standard style |
| 149 |
|
| 150 |
4.009 Fri January 31, 2020 |
| 151 |
* Update ppport.h for modern perls. |
| 152 |
|
| 153 |
4.008 Thurs Jan 30, 2020 |
| 154 |
* Build fixes for modern perls. |
| 155 |
* Pod fixes |
| 156 |
|
| 157 |
4.007 Tues Apr 9, 2019 |
| 158 |
* Tweak docs for looks_like_sereal/scalar_looks_like_sereal |
| 159 |
|
| 160 |
4.006 Mon Apr 8, 2019 |
| 161 |
* Version bump only |
| 162 |
|
| 163 |
4.005 Tues Jan 23, 2018 |
| 164 |
* Document and fix decode_from_file() |
| 165 |
|
| 166 |
4.004 Sun Nov 12 |
| 167 |
* Fix build issues from C++ style comments |
| 168 |
* Fixup build_requires |
| 169 |
|
| 170 |
4.003 Sun Nov 12 |
| 171 |
* Fixup Devel::CheckLib usage |
| 172 |
* Build fixes |
| 173 |
|
| 174 |
4.002 |
| 175 |
* Full release of Zstandard compression support etc. |
| 176 |
|
| 177 |
4.001_001 Mon Feb 6 11:13:40 CEST 2017 |
| 178 |
* Sereal v4 release with Zstandard compression support |
| 179 |
https://github.com/facebook/zstd |
| 180 |
|
| 181 |
3.015 Thu Sep 1 20:18:44 CEST 2016 |
| 182 |
* Fix builds under 5.25+ |
| 183 |
* Fix various buffer overun bugs found using AFL (thanks to dgryski) |
| 184 |
* Fix issue in decode_from_file() |
| 185 |
|
| 186 |
3.014 Dec 7 2015 |
| 187 |
* Fix builds under 5.8.9 |
| 188 |
|
| 189 |
3.012 Dec 6 2015 |
| 190 |
* Yet another release related to broken META files. |
| 191 |
ExtUtils::MakeMaker and CPAN::Meta need to be up to date |
| 192 |
or the META files miss stuff. |
| 193 |
|
| 194 |
3.011 Dec 6 2015 |
| 195 |
* No significant changes. Doc typo fixes, and build tweaks. |
| 196 |
|
| 197 |
3.010 Dec 1 2015 |
| 198 |
* Build fixes. |
| 199 |
|
| 200 |
3.009 Nov 30 2015 |
| 201 |
* Re-relase 3.008 with updated META files. |
| 202 |
|
| 203 |
3.008 Nov 27 2015 |
| 204 |
* FIX: Win32 build issues. |
| 205 |
|
| 206 |
3.007 Nov 26 2015 |
| 207 |
* Build fixes for boxes without any Sereal installed (it seems |
| 208 |
to be common on certain types of smokers, and not on others). |
| 209 |
* [ENCODER]: new sort orders added. |
| 210 |
* Fix incremental parsing of utf8 strings. See |
| 211 |
https://rt.cpan.org/Public/Bug/Display.html?id=93892 |
| 212 |
* Encoder fixes. |
| 213 |
|
| 214 |
3.006 Nov 14 2015 |
| 215 |
* [DECODER] fix segfaults from heavily corrupted data. Guards |
| 216 |
against various pathological cases which could cause segfaults |
| 217 |
fixed. Thanks to Damian Gryski and "fuzzing sereal with afl" |
| 218 |
for finding these cases. |
| 219 |
* [ENCODER] Various subtle fixes to how we choose whether to serialize |
| 220 |
the string or numeric version of a value, in particular to |
| 221 |
ensure that "00" always round trips as "00", and related issues. |
| 222 |
Note this fix has correctness and performance consequences. In |
| 223 |
some cases values that used to serialized as integers (arguably |
| 224 |
incorrectly) will be serialized as strings instead, and some code |
| 225 |
maybe be slower to serialize. |
| 226 |
NOTE: Some issues related to this subject are not fixable without |
| 227 |
a protocol change. In particular this change may affect the behavior |
| 228 |
of code that uses binary logical operators on values serialized |
| 229 |
with Perl. |
| 230 |
Thanks to Zefram, Tom, and others for help with this issue. |
| 231 |
* Fixups for cast warnings under -Wint-to-ptr builds by using |
| 232 |
using PTR2INT and INT2PTR for casting our objects. |
| 233 |
* Win32 fixes |
| 234 |
* Build improvements |
| 235 |
* Changes to how we generate constants |
| 236 |
|
| 237 |
3.005 Jan 05 2015 |
| 238 |
* Build improvements related to char signedness being platform |
| 239 |
dependent. |
| 240 |
|
| 241 |
3.004 Dec 27 2014 |
| 242 |
* Performance optimizations and other miscellaneous changes. |
| 243 |
* Build improvements. |
| 244 |
* Win32 fixes for weakrefs. |
| 245 |
|
| 246 |
3.003 Oct 19 2014 |
| 247 |
* Niko Tyni fixed the 64-bit big endian Sereal bug! (Yay Niko!) |
| 248 |
* Sereal::Decoder::Constants will now have a defined $VERSION |
| 249 |
* Setup META.yml correctly so that certain dependencies are |
| 250 |
marked as being test dependencies and not build or run-time |
| 251 |
dependencies. |
| 252 |
* Allow one to build against an externally supplied version |
| 253 |
of csnappy or miniz. Thanks to Petr Písař <[email protected]> |
| 254 |
|
| 255 |
3.002 Aug 20 2014 |
| 256 |
* Summary of changes from 3.001 - 3.002 |
| 257 |
- Introduce "set_readonly" option to decoder |
| 258 |
- Introduce "set_readonly_scalars" option to decoder |
| 259 |
|
| 260 |
* Bug fixes |
| 261 |
- Fix assertion fails in DEBUG perls (Brian Fraser) |
| 262 |
- Fix segfault with "into" interface when decoding references and |
| 263 |
strings into the same target SV. See new test t/550_decode_into.t |
| 264 |
|
| 265 |
* Test Infra Changes |
| 266 |
- Split up bulk tests to speed up testing and make it easier |
| 267 |
to see when a failure is restricted to a specific option. |
| 268 |
|
| 269 |
* Big-Endian Support |
| 270 |
- Improved support for Big-Endian machines. We now build and pass test |
| 271 |
on Sparc and HP-UX and other platforms with big-endian or strict |
| 272 |
alignedness requirements. Much thanks to Jarkko Hietaniemi, |
| 273 |
Gregor Herrmann, and H. Merijn Brand for for their assistance with |
| 274 |
this. |
| 275 |
- We still have issues with s390x (Z/Os) with Sereal. If someone wants |
| 276 |
to help it would be appreciated. |
| 277 |
|
| 278 |
3.001 |
| 279 |
- Upgrade to version 3 of the protocol |
| 280 |
* Add Zlib compression support to the protocol |
| 281 |
* Add Zlib support to Encoder/Decoder |
| 282 |
* Add CANONICAL_UNDEF tag to represent PL_sv_undef |
| 283 |
* Change magic header so it is trivial to detect |
| 284 |
and reject utf8 encoded Sereal packets. |
| 285 |
- Change how we serialize variables which have more |
| 286 |
than one of IOK, NOK, and POK set. In general we |
| 287 |
favour the numeric form, with the exception of when |
| 288 |
all three are set when we favour the string form |
| 289 |
(this is to handle engineering notation like "0E0" |
| 290 |
where numeric and string equivalence may differ) |
| 291 |
|
| 292 |
Full change history available at https://github.com/Sereal/Sereal |