zendframework/zend-stdlib
Abandoned; use laminas/laminas-stdlib. SPL extensions, array utilities, error handlers, and more
3.2.1
66M downloads/mo
#1488 most downloaded on Packagist
zendframework/zend-stdlib
What this package is like to depend on
Last release 8 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 1.6 years
Rarely documented
notes for 15 of 76 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
76 releases · first in 2012
0 releases in the last 12 months
see the full history below
Release timeline
46 releases · Oct 2012 to Aug 2018Releases
latest 60 of 76-
3.2.128 Aug 2018Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
3.2.030 Apr 2018Release notes
Open source →Added
- #87 adds support for PHP 7.2.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- #87 removes support for HHVM.
Fixed
- Nothing.
Release notes
Open source →Added
- #87 adds support for PHP 7.2.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- #87 removes support for HHVM.
Fixed
- Nothing.
-
3.1.112 Apr 2018Release notes
Open source →Added
- Nothing.
Changed
- #67 changes the typehint of the
$contentproperty
of theMessageclass to indicate it is a string. All known implementations
already assumed this.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
Release notes
Open source →Added
- Nothing.
Changed
- #67 changes the typehint of the
$contentproperty of theMessageclass to indicate it is a string. All known implementations already assumed this.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
3.1.013 Sep 2016Release notes
Open source →Added
- #63 adds a new
Zend\Stdlib\ConsoleHelperclass, providing minimal support for writing output toSTDOUTandSTDERR, with optional colorization, when the console supports that feature.
Deprecated
- #38 deprecates
Zend\Stdlib\JsonSerializable, as all supported version of PHP now support it.
Removed
- Nothing.
Fixed
- Nothing.
Release notes
Open source →Added
- #63 adds a new
Zend\Stdlib\ConsoleHelperclass, providing minimal support for writing output toSTDOUTandSTDERR, with optional colorization, when the console supports that feature.
Deprecated
- #38 deprecates
Zend\Stdlib\JsonSerializable, as all supported version of PHP now support it.
Removed
- Nothing.
Fixed
- Nothing.
- #63 adds a new
-
3.0.112 Apr 2016Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #59 fixes a notice when defining the
Zend\Json\Json::GLOB_BRACEconstant on systems using non-gcc glob implementations.
Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #59 fixes a notice
when defining the
Zend\Json\Json::GLOB_BRACEconstant on systems using non-gcc glob implementations.
-
3.0.003 Feb 2016Release notes
Open source →Added
- #51 adds PHP 7 as a supported PHP version.
- #51 adds a migration document from v2 to v3. Hint: if you use hydrators, you need to be using zend-hydrator instead!
- #51 adds automated documentation builds to gh-pages.
Deprecated
- Nothing.
Removed
- #33 - removed
deprecated classes
- All Hydrator classes see #22.
Zend\Stdlib\CallbackHandlersee #35
- #37 - removed
deprecated classes and polyfills:
Zend\Stdlib\DateTime; this had been deprecated since 2.5, and only existed as a polyfill for thecreateFromISO8601()support, now standard in all PHP versions we support.Zend\Stdlib\Exception\InvalidCallbackException, which was unused since #33.Zend\Stdlib\Guard\GuardUtils, which duplicatedZend\Stdlib\Guard\AllGuardsTraitto allow usage with pre-PHP 5.4 versions.src/compatibility/autoload.php, which has been dprecated since 2.5.
- #37 - removed
unneeded dependencies:
- zend-config (used only in testing ArrayUtils, and the test was redundant)
- zend-serializer (no longer used)
- #51 removes the documentation for hydrators, as those are part of the zend-hydrator component.
Fixed
- Nothing.
-
2.7.712 Apr 2016Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #59 fixes a notice when defining the Zend\Json\Json::GLOB_BRACE constant on systems using non-gcc glob implementations.
-
2.7.619 Feb 2016Nothing published for this version
-
2.7.516 Feb 2016Nothing published for this version
-
2.7.415 Oct 2015Release notes
Open source →Added
- Nothing.
Deprecated
- #35 deprecates
Zend\Stdlib\CallbackHandler, as the one component that used it, zend-eventmanager, will no longer depend on it starting in v3.
Removed
- Nothing.
Fixed
- Nothing.
-
2.7.325 Sep 2015Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #27 fixes a race
condition in the
FastPriorityQueue::remove()logic that occurs when removing items iteratively from the same priority of a queue.
-
2.7.223 Sep 2015Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #26 fixes a subtle
inheritance issue with deprecation in the hydrators, and updates the
HydratorInterfaceto also extend the zend-hydratorHydratorInterfaceto ensure LSP is preserved.
-
2.7.122 Sep 2015Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #24 fixes an import in
FastPriorityQueueto aliasSplPriorityQueuein order to disambiguate with the local override present in the component.
-
2.7.022 Sep 2015Release notes
Open source →Added
-
#19 adds a new
FastPriorityQueueimplementation. It follows the same signature asSplPriorityQueue, but uses a performance-optimized algorithm:- inserts are 2x faster than
SplPriorityQueueand 3x faster than theZend\Stdlib\PriorityQueueimplementation. - extracts are 4x faster than
SplPriorityQueueand 4-5x faster than theZend\Stdlib\PriorityQueueimplementation.
The intention is to use this as a drop-in replacement in the
zend-eventmanagercomponent to provide performance benefits. - inserts are 2x faster than
Deprecated
-
#20 deprecates all hydrator classes, in favor of the new zend-hydrator component. All classes were updated to extend their zend-hydrator equivalents, and marked as
@deprecated, indicating the equivalent class from the other repository.Users should immediately start changing their code to use the zend-hydrator equivalents; in most cases, this can be as easy as removing the
Stdlibnamespace from import statements or hydrator configuration. Hydrators will be removed entirely from zend-stdlib in v3.0, and all future updates to hydrators will occur in the zend-hydrator library.Changes with backwards compatibility implications:
-
Users implementing
Zend\Stdlib\Hydrator\HydratorAwareInterfacewill need to update theirsetHydrator()implementation to typehint onZend\Hydrator\HydratorInterface. This can be done by changing the import statement for that interface as follows:// Replace this: use Zend\Stdlib\Hydrator\HydratorInterface; // with this: use Zend\Hydrator\HydratorInterface;If you are not using imports, change the typehint within the signature itself:
// Replace this: public function setHydrator(\Zend\Stdlib\Hydrator\HydratorInterface $hydrator) // with this: public function setHydrator(\Zend\Hydrator\HydratorInterface $hydrator)If you are using
Zend\Stdlib\Hydrator\HydratorAwareTrait, no changes are necessary, unless you override that method. -
If you were catching hydrator-generated exceptions, these were previously in the
Zend\Stdlib\Exceptionnamespace. You will need to update your code to catch exceptions in theZend\Hydrator\Exceptionnamespace. -
Users who do migrate to zend-hydrator may end up in a situation where their code will not work with existing libraries that are still type-hinting on the zend-stdlib interfaces. We will be attempting to address that ASAP, but the deprecation within zend-stdlib is necessary as a first step.
In the meantime, you can write hydrators targeting zend-stdlib still in order to guarantee compatibility.
-
Removed
- Nothing.
Fixed
- Nothing.
-
-
2.6.021 Jul 2015Release notes
Open source →Added
- #13 adds
Zend\Stdlib\Hydrator\Iterator, which provides mechanisms for hydrating objects when iterating a traversable. This allows creating generic collection resultsets; the original idea was pulled from PhlyMongo, where it was used to hydrate collections retrieved from MongoDB.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
- #13 adds
-
2.5.221 Jul 2015Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #9 fixes an issue with count incrementation during insert in PriorityList, ensuring that incrementation only occurs when the item inserted was not previously present in the list.
-
2.5.103 Jun 2015Nothing published for this version
-
2.5.003 Jun 2015Nothing published for this version
-
2.4.1321 Jul 2015Nothing published for this version
-
2.4.12no dateNothing published for this version
-
2.4.11no dateNothing published for this version
-
2.4.10no dateNothing published for this version
-
2.4.9no dateNothing published for this version
-
2.4.8no dateNothing published for this version
-
2.4.7no dateNothing published for this version
-
2.4.6no dateNothing published for this version
-
2.4.5no dateNothing published for this version
-
2.4.4no dateRelease notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #9 fixes an issue with count incrementation during insert in PriorityList, ensuring that incrementation only occurs when the item inserted was not previously present in the list.
-
2.4.307 May 2015Nothing published for this version
-
2.4.2no dateNothing published for this version
-
2.4.1no dateNothing published for this version
-
2.4.025 Mar 2015Nothing published for this version
-
2.3.910 Feb 2015Nothing published for this version
-
2.3.8no dateNothing published for this version
-
2.3.7no dateNothing published for this version
-
2.3.6no dateNothing published for this version
-
2.3.5no dateNothing published for this version
-
2.3.413 Jan 2015Nothing published for this version
-
2.3.311 Aug 2014Nothing published for this version
-
2.3.2no dateNothing published for this version
-
2.3.115 Apr 2014Nothing published for this version
-
2.3.012 Mar 2014Nothing published for this version
-
2.2.1005 Mar 2014Nothing published for this version
-
2.2.9no dateNothing published for this version
-
2.2.8no dateNothing published for this version
-
2.2.7no dateNothing published for this version
-
2.2.6no dateNothing published for this version
-
2.2.531 Oct 2013Nothing published for this version
-
2.2.421 Aug 2013Nothing published for this version
-
2.2.3no dateNothing published for this version
-
2.2.222 Jul 2013Nothing published for this version
-
2.2.112 Jun 2013Nothing published for this version
-
2.2.010 May 2013Nothing published for this version
-
2.1.617 Apr 2013Nothing published for this version
-
2.1.5no dateNothing published for this version
-
2.1.413 Mar 2013Nothing published for this version
-
2.1.321 Feb 2013Nothing published for this version
-
2.1.220 Feb 2013Nothing published for this version
-
2.1.106 Feb 2013Nothing published for this version
-
2.1.029 Jan 2013Nothing published for this version