Login  |  Packages  |  Support  |  Bugs

Return

Changelog for igbinary
Release What has changed?
3.1.2 * Speed up object, array, reference, and string serialization.
* Speed up unserializing integers between 0 and 65535 (as values and array keys).
* Speed up unserializing objects with declared properties.
3.1.1 * Fix bug causing incorrect serialization for 1 in 2**32 strings on 64-bit php installations when string hashes collide.
(https://github.com/igbinary/igbinary/issues/260)
3.1.1a1 * Throw when an uninitialized php 7.4 typed property is included in the result of __sleep(),
instead of emitting a notice and attempting to represent the unset/uninitialized value as null (#258).
See https://bugs.php.net/bug.php?id=79002

Uninitialized properties without types from __sleep continue to emit notices and be represented as null.
3.1.0 * Same as 3.1.0b4
3.1.0b4 * Don't call __destruct for objects where deferred __unserialize calls were not started (e.g. due to Serializable::unserialize throwing).
3.1.0b3 * Skip over object properties that are uninitialized or unset when serializing, instead of serializing them as null.
This is done to avoid Errors when unserializing their values for php 7.4 typed properties.
3.1.0b2 * Fix crashes related to unserializing instances of classes with php 7.4 typed properties.
3.1.0b1 * Support php 7.4's __serialize/__unserialize the same way serialize()/unserialize() does.
This deliberately only supports __serialize/__unserialize in php 7.4, to making switching to/from serialize()/unserialize() as straightforward as possible.
3.0.1 * Fix version check when statically building igbinary inside of the php-src folder.
3.0.0 * Identical to 3.0.0a2
3.0.0a2 * Don't use empty string for serializing empty $_SESSION array, it breaks some save handlers. (Issue #231)
Continue treating the empty string as the empty $_SESSION array when unserializing.
3.0.0a1 * Drop support for PHP 5.
* Drop support for APC (APC was only available for PHP5 - It is the predecessor of APCu)
* Emit a warning and return null if igbinary_unserialize() is passed more data to unserialize than expected.
* Fix compilation against PHP 7.4-dev. Igbinary does NOT yet properly serialize/unserialize all classes with PHP 7.4-dev's typed properties.
* The serialization format is exactly the same as igbinary 2.x
2.0.8 * Be more aggressive about deduplication when generating serialization of arrays in php 7.0+.
* Define HAVE_IGBINARY on Unix/Linux. (previously defined only on Windows)
* Update formatting/wording of documentation.
2.0.7 * Fix compiler warnings about format strings, for errors that should not occur during normal igbinary usage.
2.0.6 * Same as 2.0.6RC1
* Fix a bug in Windows debug builds.
* Emit more specific warnings when __sleep() returns a declared property that was unset.
* Fix harmless compiler warnings during builds.
* Fix a build error on PHP7.3-dev.
2.0.6RC1 * Fix a bug in Windows debug builds.
* Emit more specific warnings when __sleep() returns a declared property that was unset.
* Fix harmless compiler warnings during builds.
* Fix a build error on PHP7.3-dev.
2.0.5 * Same as 2.0.5RC1 (no bugs were reported in that release candidate)
2.0.5RC1 * Fixes bug #129: Should not call __wakeup() on data which was created by Serializable::unserialize()
2.0.4 * Fixes bug #129: Should not call __wakeup() on data which was created by Serializable::unserialize()
2.0.3 - Fixes bug #126: Fatal error: "igbinary_serialize_zval: zval has unknown type 0" (IS_UNDEF)
Make this a warning instead of a fatal error (and serialize as null instead), since IS_UNDEF is a known type.
Later releases will fix the root cause of the warning, and consistently omit array/object/other entries for IS_UNDEF.
2.0.2 - Compatible with PHP 5.2 - 7.1
- Fixes crash in Memcached->setMulti (in php 7.0+) when the first level of array elements have references as values.
Other extensions using igbinary shouldn't be affected.
2.0.1 - Compatible with PHP 5.2 - 7.0
- Fixes bug in session decoder not calling __wakeup() in php 7.0+
- (Enhancement) Reuses identical strings when unserializing objects and arrays in php 7.0+
2.0.0 - Compatible with PHP 5.2 - 7.0
1.2.1 - Compatible with PHP 5.2 - 5.6
1.2.0 - PECL bug #22614, igbinary_unserialize(FALSE) must return FALSE
- PHP bug #54662, unserializing nested objects cause crash
- Other fixes
1.1.1 - Initial PECL release

Return

PRIVACY POLICY  |  CREDITS
Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Jan 25 00:05:01 2019 UTC
Bandwidth and hardware provided by: pair Networks