Zend Framework 2 v2.3.4 Release Notes
Release Date: 2015-01-14 // over 9 years ago-
- 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 useZend\Session
validators, we recommend upgrading immediately.