Changelog

2.3.4 (2015-01-14)

ID Title (GitHub Link)
#3758 partialLoop/partial View Helper can not be nested when using setObjectKey
#4517 Incompatible with RecursiveIterator::hasChildren() Zend\Navigation\AbstractContainer
#4960 DateTime form element weird DateInterval step!?
#5992 Bug fix: Removes length limit (of TLD) when validating a hostname
#6231 fixing http query parameters
#6263 Collection attempts to access `object` property on `$this->targetElement`
#6279 Return the text value in _ array key
#6298 Handle regular form elements as target elements of `Zend\Form\Element\Collection`.
#6312 [Zend\I18n\ php.ini setting "intl.use_exceptions" on true
#6324 Redis::setItems - the last item is overwritten
#6358 Wrong datetime format in Atom 1.0 date constructs
#6398 Preserve the fluent interface
#6435 Race Condition in Zend\Cache\Storage\Adapter\Filesystem::prepareDirectoryStructure
#6492 [Http\ Add body support for DELETE/OPTIONS request
#6518 Suggested workaround for #6263
#6526 [Http\ Rationalize timeout behavior between adapters
#6537 Mime Part class rewind fix
#6539 PHPCS fixes for Zend\Captcha
#6548 ServiceManager peering does not respect shared flag
#6561 Remove old component fork origins
#6562 replacing array_key_exists with faster isset calls
#6569 Should we use constant for events in Zend\Db\TableGateway\Feature\EventFeature?
#6573 fixes #6435: Race Condition in filesystem cache on prepare dir structure
#6575 fixed #6324: Redis::setItems: the last item is overwritten
#6577 added missing register services at Zend\Paginator\AdapterPluginManager
#6585 Form Collection `No element by the name of [2\ found in form`
#6586 Fixes typo
#6594 Update classmap_generator.php
#6598 add try/catch around statements that execute intl_is_failure()
#6614 fixes #6585
#6625 Create Zend_Captcha.php translation for spanish.
#6628 added missing "JavaProperties" into Zend\Config\ReaderPluginManager and register the extension into Factory
#6629 Fixes CS : unused use
#6630 Use 2.* in require-dev zendframework/zend-escaper in Zend\Debug\composer.json
#6631 Added zendframework/zend-servicemanager into suggest at Zend\Permissions\Acl's composer.json
#6634 Allow `crossorigin` attribute in headScript
#6635 Allow `sizes` attribute in headLink (used with rel="icon")
#6636 AbstractControllerTestCase fails with multidimensional params array
#6637 Allow multidimensional params in AbstractControllerTestCase
#6643 change !is_null to $value !== null for consistency
#6644 The /e modifier of preg_replace() deprecated as of PHP 5.5.0
#6645 isValid sets up old values?
#6647 Zend\I18n\Validator\Float does not set error message on NOT_FLOAT.
#6648 Fixes #6647 : Zend\I18n\Validator\Float set error message for NOT_FLOAT
#6649 Exception thrown when value_options is empty in Form\View\ViewHelper\FormMultiCheckbox
#6655 6649
#6660 prefer single quote
#6673 SetCookie: let it accept DateTime object
#6674 PHPCS fixes for Zend\View
#6684 PHPCS fixes for Zend\Text
#6685 PHPCS fixes for Zend\Tag
#6686 @return self correction
#6692 fix typo in form select view helper
#6698 PHPCS fixes for Zend\Di
#6699 PHPCS fixes for Zend\Dom
#6700 PHPCS fixes for Zend\Feed
#6701 PHPCS fixes for Zend\File
#6711 Fix for BC break #6645 where isValid() sets up old values
#6718 Zend\Db relies on Zend\Stdlib due to items in the Zend\Db\Sql package
#6719 Zend\Db\Sql\Select::order(): accept ExpressionInterface instead of Expression
#6722 Db order expressioninterface
#6726 Zend\Db\TableGateway: Alias for table
#6730 Zend\Config\Reader\Xml bug with close file after open
#6743 Fixes cs : space after if and elseif in deep conditional
#6750 yoda conditions in prg controller plugin
#6751 added ocramius/proxy-manager into suggest at Zend\ServiceManager's composer.json
#6760 pg_connect params encodings
#6761 Fixes #6730 : close() xml reader on fromFile() and fromString()
#6762 Issue in gettext file load, when plural part from one phrase exists as singular part in another
#6765 hotfix for issue with wrong gettext plural
#6768 Zend\Stdlib\PriorityList cannot contain false values
#6773 Fixes #6768 : boolean false values at priority list should be valid
#6778 added zendframework/zendxml into suggest at Zend\Json's composer.json
#6779 added zendframework/zend-validator and zendframework/zend-filter into suggest at Zend\Console's composer.json
#6781 Added some missing hash constants in Zend/Crypt/Key/Derivation/SaltedS2k
#6785 remove PHP_VERSION_ID check before 50323
#6787 Fixes #6760 : decode http_build_query on connection string at Pgsql Connection
#6789 detach() is now inherited from AbstractListenerAgregate.
#6797 Fixed the call to addBranch() to include $branchName
#6798 Fix annotations on zend db
#6814 Invalid behaviour of classmap_generator_php for PHP >=5.5 ::class constant
#6815 Update AbstractAdapter.php
#6818 Add event manager to session for it is needed.
#6820 Broken behavior for SET in SQL update
#6825 Incompatible with RecursiveIterator
#6826 removed navigation helper menu unused use statement
#6834 Zend\Db\Sql\Update building update statement
#6837 [Zend\Test\ Provide fix when 2 mandatory strings are used in route console
#6845 Problem iterating buffered ResultSet
#6847 Fix iterating over buffered ResultSet
#6849 Db/Sql/Predicate/Expression: Fix method argument handling
#6854 Added "autocomplete" to the list of valid attributes for textarea and select view helpers.
#6858 Allow Session\Container names to start with numbers
#6861 Fixes #6828 move zend\serializer deps how required
#6867 Update EventManagerInterface.php
#6869 ObjectProperty Hydrator should only hydrate public properties (fix + new test)
#6871 Memcached returns FALSE on failure
#6872 Update PHP-CS-Fixer and restrict .php_cs
#6873 CS Fix: string access and guard clauses
#6877 Fixed #6818
#6878 Cache: fixed 'Undefined index' error in memory adapter on access tags of...
#6879 Rebased and cleaned up #6279
#6880 Fix for #6263 (replaces PR #6518)
#6881 Bug in Zend\Stdlib\PriorityList->valid()
#6891 Fixes Zend\Json\Json's composer.json containing single backslash
#6893 Zend\Code\ClassScanner cannot scan abstract method when class has properties and other methods.
#6895 Fix documentation
#6896 Fix for https cases for Apache on IBM i
#6897 Fix minor documentation typo
#6900 ArrayUtils performance tweak
#6901 Added a failing test for #6893
#6902 Throw an ServiceNotFoundException in AbstractPluginManager when the invokable does not exist.
#6904 Patch test case on Stdlib/PriorityListTest
#6907 allow header field value of "0"
#6914 Fix: Remove unused parameter and class property
#6915 Fix: More unused local variables
#6916 Fix: Yet another unused local variable
#6917 Fix: Unnecessary FCQN
#6918 Fix: Add missing return tag
#6919 Code improvement - removed unused variable
#6921 Improvement - removed some unnecessary variable assignment
#6923 PR for #6673. Allow to set DateTimeObject for SetCookie Expires
#6927 Hotfix/6278
#6928 Hydrator naming strategy zend filter dependency
#6932 added zendframework/zend-cache into suggest at Zend\XmlRpc's composer.json
#6933 Remove dependency of Zend\ModuleManager on Zend\Mvc
#6935 bugfix wrong atom datetime format in updated
#6937 Update Hostname.php
#6939 Fixes CS on latest build on master : trailing_spaces
#6941 Zend\Validator tests refactoring
#6943 Fixed #6941
#6946 fix #6814: ignore php 5.5 scalar class name resolution
#6948 Improve type hints
#6949 Use hydrator variable only when hydrator variable is assigned
#6953 Little code improvements
#6958 Encoding Type is not set when sending Request object set as POST
#6959 Bug #6958 Make sure encoding type is set when sending Request
#6964 fixes #6952 / phpdoc Zend/Http/Request
#6967 PHPCS: Zend\View
#6968 Removed query method from mocks after issue 6798
#6971 PHPCS fixes for Zend\Http
#6972 PHPCS fixes for Zend\Json
#6973 PHPCS fixes for Zend\InputFilter
#6974 PHPCS fixes for Zend\Form
#6975 PHPCS fixes for Zend\I18n
#6976 PHPCS fixes for Zend\Filter
#6978 fix PHPCS errors for Zend\Test
#6979 fix PHPCS errors for Zend\Text
#6980 fix PHPCS errors for Zend\Uri
#6981 fix PHPCS errors for Zend\XmlRpc
#6982 fix PHPCS errors for Zend\Validator
#6984 PHPCS fixes for Zend\Log
#6985 PHPCS fixes for Zend\Mvc
#6986 PHPCS fixes for Zend\Ldap
#6987 PHPCS fixes for Zend\Mail
#6988 PHPCS fixes for Zend\Server
#6989 PHPCS fixes for Zend\Stdlib
#6990 PHPCS fixes for Zend\Serializer
#6991 PHPCS fixes for Zend\Session
#6992 PHPCS fixes for Zend\Memory
#6993 PHPCS fixes for Zend\Paginator
#6994 PHPCS fixes for Zend\ProgressBar
#6995 PHPCS fixes for Zend\ServiceManager
#6996 PHPCS fixes for Zend\Permissions
#6997 PHPCS fixes for Zend\Soap
#6998 PHPCS fixes for Zend\Mime
#6999 PHPCS fixes for Zend\Loader
#7000 PHPCS fixes for Zend\ModuleManager
#7001 PHPCS fixes for Zend\Test
#7002 Changing encode from View Helper is not passed to EscapeHtmlAttrHelper
#7006 optimized performance of Zend\Stdlib\AbstractOptions
#7008 Bug in PriorityList
#7011 .php_cs - sort fixers
#7012 PHP >=5.4 Syntax in AbstractHelperTest
#7013 Hotfix/#7012 zend view php 5.4 syntax removal
#7018 [Validator\ Hostname: disallowed Unicode code point
#7019 fixed #7018 : Hostname validator used disallowed unicode code points
#7022 [Zend\Http\ check if costant TESTS_ZEND_HTTP_CLIENT_ONLINE is defined
#7023 Fixes #7022 TESTS_ZEND_HTTP_CLIENT_ONLINE check
#7030 #6414-Add a condition for captcha element
#7033 Cache: fixed some minor documentation issues
#7036 PhpDoc fixes for Zend\Mvc
#7047 cs fixes for Zend\Cache
#7048 cs fixes for Zend\Code
#7060 Removed hard coded dependency to Zend\Mvc from Zend\ModuleManager
#7061 remove unused imports
#7062 remove unused variables
#7063 PhpDoc: fix return types and other incompatibilities
#7064 Need update dependencies in zendframework/zend-db
#7065 Cache: fixed CAS-Feature broken for APC adapter since 2.3.0
#7066 Use constant for events in Zend\Db\TableGateway\Feature\EventFeature
#7068 Cache: better compatibility with APCu
#7070 Travis optimizations
#7074 PSR2/PHPDoc fix for Zend\Http\Client
#7078 Fixes CS latest build on travis : master
#7080 Filter\Encrypt can't filter numbers
#7083 Hotfix/encrypt numbers
#7086 Honor returned status code for HEAD requests
#7087 Happy new year 2015 : master
#7089 Correct docblock
#7093 Scope objectKey in nested partialLoop call
#7101 Fixes DocBlocks in Zend\Barcode\Object\AbstractObject
#7108 Fix form annotation options
#7109 Improved disabled inputs testing when binding values into fieldset object
#7110 Fix for validation timeouts, issue #4960
#7112 Updated the readme with the logo
#7114 added missing return $this to setValue method.
#7117 Updated german translation file

SECURITY UPDATES

  • ZF2015-01: Session validators were not run if set before session start. Essentially, the validators were writing to the $_SESSION superglobal before session start, which meant the data was overwritten once the session began. This meant on subsequent calls, the validators had no data to compare against, making the sessions automatically valid. We have provided patches to ensure that validators are run only after the session has begun, which will ensure they validate sessions correctly going forward. If you use Zend\Session validators, we recommend upgrading immediately.