Changelog

2.4.0 (2015-03-31)

ID Title (GitHub Link)
#4122 Update EM->trigerUntil to be an alias of trigger
#4221 set shared false for view_helpers doesn't work
#4726 Add maxLength to ParameterContainer
#5001 Zend\Db transaction api unification
#5142 Zend/Db/Sql/Select - implements multiple combine statements
#5320 Zend\Db\Predicates - allow use different types of arguments in any position
#5505 Zend db nested transactions
#5518 Paginator\Adapter\DbSelect custom query for count
#5600 FlashMessanger escaping
#5656 undefines indexes on hostname route
#5683 fix Zend\Db\Adapter\Platform\PlatformInterface::quoteIdentifierInFragment
#5699 Form\View\Helper\FormRow label position gets overwritten by __invoke()
#5701 Db\Sql - cleaning code duplicates
#5742 Fix for issue #5699 - Disable label position caching for Zend\View\Helper\FormRow::__invoke()
#5743 Add auto escape method to Zend\View\Helper\FlashMessenger
#6058 Timestamp log filter
#6067 [BC_BREAK\ Fixes #6063
#6073 Reduced code duplication in FlashMessenger plugin
#6078 Add MongoDB adapter for Zend\Cache
#6080 Use AuthenticationServiceInterface as type
#6084 Zend\Loader\ClassMapAutoloader - Performance improvement #5716
#6091 Added map naming strategy for hydrator
#6095 Wrong @return value in PhpDoc for Sql Update class.
#6097 Fixed return value for method. #6095
#6108 Zend\Test Enable trace error by default
#6112 Mail transfer encoding binary
#6113 Mail ContentType handles trailing semicolon properly
#6137 Zend\Log\Formatter\Xml improvement to handle extra data array
#6142 Optimize ClassMethods hydrate() for loops and large objects
#6145 add support number of string in __construct of Priority
#6151 Zend\Filter\Word\SeparatorToCamelCase break on numbers
#6154 Properly pass context to input filter
#6156 Fix for #6151 - Filter breaks on non-alpha characters
#6161 Fix pattern for mobile phone number
#6175 Mutable creation options aware trait
#6178 Enhancement: Do not overwrite requestId if extra already has one
#6183 Enhancement: Introduce ReferenceId processor
#6194 Created hydrator strategy chain
#6196 Added possibility to render view with short reference (added RelativeFallbackResolver).
#6197 Added array map naming strategy
#6203 Clean up repeat code by using already implemented AbstractListenerAggreg...
#6208 #6207 should be cleaned up for ZF 2.4.0
#6216 [travis\ Adds hhvm-nightly
#6227 Created Explode Strategy for hydrator
#6232 Fix return type
#6240 Form\Fieldset use priority list
#6242 Stdlib\PriorityList fix current and iterator
#6246 I18n - Allow custom translation loaders to be injected via module config #6244
#6247 Added new base path option specifically for console
#6252 Add clearByPrefix to Redis Cache Storage
#6257 Zend\Db\Sql\Ddl Improvements
#6259 Cache-Storage: make sure a '.post' event will be triggered
#6267 Support commas in names
#6268 Make AddressList logic more accessible
#6271 HTML5 compliant form attributes
#6274 ZendCode - allow const and property of same name
#6288 Fixes #6274 added proper support for constants
#6289 Created DateTime Formater strategy for hydrator
#6296 Show actual contents on assert*QueryContentContains
#6301 Replacing self:: with static:: in Http\Client::setAuth
#6322 Change "Unknown Error" with current internal list of messages
#6338 Adding a new static ::fromTime($time) method to AbstractDate
#6339 Closes issue #4876 - added support for trait generation and trait scanning
#6359 Date validator problem vant validate big unix timestamps
#6367 Added composite hydrator naming strategy
#6370 FirePhp log writer works incorrectly with extra parameters.
#6374 add $label parameters to error, warn, info, log methods. issue #6370
#6385 \Zend\Http\Request - Uncaught InvalidArgumentException when the request method is not considered valid.
#6386 Priority system for validators
#6396 Use data provider in PhoneNumberTest.
#6399 Fix controller tests to support HTTP PATCH method
#6403 Removing $class->newInstanceArgs($this->creationOptions) from Zend\Paginator\Adapter\Service\DbSelectFactory
#6409 Fix #6385 Request exception
#6419 missing dependency for zendframework/zend-feed stand-alone
#6420 Zend\Code\Generator\MethodGenerator does not accept parameters as array
#6422 Zend\Code\Generator\MethodGenerator now accepts parameter as array
#6424 Add missing codes that can be caught by register_shutdown_function
#6431 added method to merge input filters
#6437 New Template resolver just like PSR-4 autoloader
#6438 Added the file encryption/decryption to Zend\Crypt
#6464 Repeal `autocomplete` form attribute being boolean
#6481 Refactor german (de) Zend_Validate.php
#6496 #6386 Add Priority system for validators
#6523 Hydrator Strategy to extract and hydrate Boolean values
#6534 PHPCS fixes for Zend\Db
#6538 PHPCS fixes for Zend\Escaper
#6540 PHPCS fixes for Zend\Valiator
#6545 Add UpperCaseWords filter
#6552 Remove double dots from cache path without keys
#6553 Method for adding extra identifiers to Abstract Controller Event Manager
#6556 DDL component fixes
#6560 AbstractAdapter::getItem() should return null, if the item cannot be retrieved
#6568 Add failing test for encoded routes with a query
#6570 Add ability to set SMTP envelope addresses
#6571 Allow HTTP client configuration to be supplied when using ClientStatic
#6572 Rem unneeded factories ( ViewFeedRendererFactory and ViewJsonRendererFactory )
#6574 Fixes #6403
#6580 remove double suggest block at Zend\Version\composer.json
#6581 activate commented Exception in Validator/Between::__construct
#6592 Remove Identical validator type hint
#6604 PATCH request test (Zend\Test\PHPUnit\Controller)
#6613 Deprecate [Global\EventManager::triggerUntil()
#6615 Add controller's implemented interfaces to its shared event manager default identifiers
#6621 Use hash_equals for constant-time string comparison
#6646 Added password prompt to Console
#6656 A getElements method has been added to DateSelect and MonthSelect which ...
#6657 bugfix unfolding email multi-line header
#6667 Added "zendframework/zend-filter" into suggest at Zend\Stdlib
#6669 Support subscribing to folders in IMAP
#6675 Fixed the unit tests on Windows. The /tmp folder doesn't exist so we sho...
#6678 Timezone validator
#6679 TemplateWrapper getter
#6682 PHPCS fixes for Zend\XmlRpc
#6683 PHPCS fixes for Zend\Uri
#6691 fixed removing handled header parts from response header
#6709 HtmlTag helper
#6712 Added form annotation builder factory
#6731 fix for FilesSize validator usage with Input
#6734 Remove PHPCov dependency via VCS composer repository
#6740 Fix for Zend\Db\TableGateway: Alias for table #6726
#6746 Di runtime definition optimisation - Cache result of processing and inline the check
#6747 DI definition list optimisation - Cache classes upfront where possible to reduce iterations
#6752 Added ability to specify label position as an element label option
#6753 Input filter annotation fix
#6754 Added preserve_defined_order flag to annotation builder
#6756 implements @todo for setters/getters at Zend\Mime\Part
#6757 implements @todo for getFileName() from path at Zend\Code\Reflection\FileReflection
#6758 add getAdapterInstance() that return adapter instance at Zend\Filter\Encrypt
#6775 Add options to mail file
#6783 Added continueIfEmpty annotation to Zend Form
#6786 Fixes #4221 : set shared false for view_helpers should create new instance
#6790 Test/Db/Adapter/Platform/SqlServerTest restore_error_handler();
#6799 Zend\Db: Allow adding native predicates to sql queries, respecting nextPredicateCombineOrder
#6800 Zend\Db\Sql\Predicate\Predicate: $nextPredicateCombineOperator + addPredicate() not working
#6801 fix unit tests for Windows
#6808 Paginator item counts for empty result sets are inaccurate
#6809 Corrects firstItemCount for empty result sets
#6812 Zend\Paginator\Paginator's getItem() trigger an "Fatal error: ..."
#6817 Fixes #6812 : Zend\Paginator\Adapter\DbSelect::getItems should return array
#6827 Fix inability to translate to languages which don't have plural forms
#6829 coveralls coverage doesnot work on latest travis build
#6833 [Zend\ServiceManager\ Improve error handling in the abstract plugin manager
#6838 QuoteValueList for MySql platform fails with multiple empty values.
#6839 Fixes bug #6838, quoteValueList fails with multiple empty values.
#6850 Removed impossible condition
#6856 Soap Connection Timeout
#6863 Fixes CS in develop in latest travis build : unused use
#6864 Broken develop branch
#6866 [Console\ ViewManager hides exceptions in console
#6870 Hostname route should throw an exception if route definition contains disallowed character
#6874 Fixes CS on latest develop as php-cs-fixer updated to 1.*
#6884 Stdlib\Options: Misc enhancements
#6885 Fixes CS in latest develop
#6886 Set user and password in Http class
#6890 allow use differents Adapter for build SqlObjects via Db\Sql (v2)
#6894 standard hydrator idea
#6899 Abilty to remove key during merge
#6903 Ability to replace key in ArrayUtils::merge
#6909 phpunit 4.x, phpcov 2.x (see #6029)
#6912 Hotfix: #6386 #6496 validator chain merge type mismatch
#6924 fix BC for #6890
#6930 allow to filter the templates by extension in the templatemap generator
#6931 Added consts for left and right outer joins
#6934 create a new file if mode is append and the file does not exist
#6940 Fixes CS on latest build on develop : braces
#6942 Update phpunit to 4.0.0 in CONTRIBUTING.md, tests/Bootstrap.php, and Zend\Test\composer.json
#6951 PR for #6866 - Allow console specific view manager configuration
#6956 Move error view model generation methods to abstract controller
#6962 New Whitelist / Blacklist Filter
#6963 Feature/#6441 prefix path resolver
#6969 Remove unused code
#6970 [ZendTest\View\Helper\ - Fix setUp configuration
#6983 test digest response is validated
#7003 Fixing prepended `NotEmpty` validator
#7004 add and apply function_call_space fixer for PHP CS Fixer
#7010 Add support for providers in InputFilter factory
#7014 CS: `return` instead of `return null`
#7015 Found bugs in `Zend\Db\Sql\Ddl` classes and tests
#7016 Adapt Json\Json for better prettyPrint support
#7020 Documenation fixes in eventmanager
#7021 CS: join to implode
#7024 CS: There MUST be one use keyword per declaration.
#7025 CS: Removes line breaks between use statements.
#7026 CS: There MUST be one blank line after the namespace declaration.
#7027 CS: There MUST NOT be a space after the opening parenthesis. There MUST NOT be a space before the closing parenthesis.
#7028 CS: .php_cs - add standardize_not_equal fixer
#7029 CS: In method arguments and method call, there MUST NOT be a space before each comma and there MUST be one space after each comma.
#7031 use of undefined variable in Zend\Cache\Storage\Adapter\Apc::internalGetMetadatas()
#7032 fixed #7031: use of undefined variable in ZendCacheStorageAdapterApc
#7034 MongoDB to MongoDb
#7037 [ZendTest\Mvc\ Fix setUp configuration
#7038 [Db\Sql\Platform\Mysql\Ddl\ override getSqlString() is wrong
#7039 Cache: better fix for #5860 introduced in #5863
#7043 Cache: better compatibility with APCu
#7046 Retrieve the InjectTemplateListener from the service manager.
#7049 CS: Remove trailing whitespace the end of blank lines.
#7050 PHP CS Fixer - correct link
#7052 .php_cs - add encoding fixer
#7053 CS: PHP keywords MUST be in lower case
#7056 Refactoring and bugfixes for InputFilter component
#7057 Travis - show PHP CS Fixer diff
#7067 Travis: running more tests for cache component
#7071 Documentation improvements Zend/DB
#7073 UnderscoreToCamelCase fails with digits
#7075 Improving readability, removing redundancies on RBAC
#7079 Fixes CS latest build on travis : develop
#7081 try fix travis cs develop again
#7091 Added Checkbox Console Prompt and its tests
#7092 #7055 - stricter validation of `TableIdentifier` parameters
#7097 removed unused import
#7102 Add Kosovo phone number specifications
#7104 DataUnitFormatter filter
#7105 WindowsAnsicon - fix docs
#7106 UriTest - fix phpdoc
#7120 Added trailing comma for multiline arrays
#7121 Feature: Added sslverifypeer to curl adapter
#7122 Paginator Iterator
#7124 Interface for the Zend\Feed\Reader\Reader
#7125 Adding ImportInterface for Zend\Feed\Reader\Reader
#7128 SessionManagerFactory + session validators via config makes validation always fail
#7141 Implement BcryptSha Hashing & Harden Verification Checks
#7152 Fixes #4936
#7153 Disabling XDebug when not computing coverage
#7159 Use getEncoding() instead of accessing options array directly
#7163 Fix typos in inArray validators phpdoc
#7164 .php_cs - add few rules
#7171 Reset password value on $form->prepare()
#7176 Update PostCode.php
#7177 Oracle quoting fix for values with single quotes
#7178 Fixes #7136 : add ext-ldap as required extension in Ldap\composer.json
#7181 Remove hidden TaggableInterface dependencies from paginator
#7182 update copyright year to 2015 that still uses 2013 in "develop"
#7183 update copyright year to 2015 that still uses 2013 in "master"
#7184 FormButton $buttonContent parameter is now translated
#7188 fix test pattern in FormDateTimeSelectTest::testCanRenderTextDelimiters
#7189 add test for nested glob patterns
#7190 Test for array of PDO connection params
#7194 fix some of the documentation errors
#7201 Additional tests for zf-code
#7203 Cache: fix mongo options
#7210 Added fix to prevent method lines to be intended again and again
#7213 Error in FirePhp log writer
#7215 replace is_a() with instanceof
#7222 Db\Sql\Select.php processJoins quote identifier error
#7225 Fix for #7219 - Validation failure fr-CH in testValidationFailures
#7231 Skip tests in ZendTest\View if ext-intl is not installed
#7232 Remove unnecessary ternary operators
#7233 Detect https on reversed proxy
#7235 Fixing Docblock return type for __invoke
#7239 Fixes #7238 : Logger::log() exception message
#7240 Feature: Zend\Mvc\HttpMethodListener
#7241 Removed non existing curl options
#7242 Add flexibility to FlashMessenger by determining hops as parameter.
#7245 [Navigation\ Introducing NavigationAbstractServiceFactory
#7247 Add input_filter_specs feature from zfcampus/zf-content-validation and associated tests
#7248 Remove CURLOPT_POSTFIELDS from set of invalid curl options
#7251 Fixed tests for quoteValue() methods in all Platform classes
#7254 Ship a StandaloneExtensionManager for Zend\Feed\Reader
#7255 Added $data param to deleteList
#7256 fixed count error in config class
#7258 Db Platform refactoring
#7259 Override reason phrase by changing status code
#7262 DateStep time for moscow fixes #7261
#7264 Updated GB postcode regex to assert start and end positions for middle a...
#7267 DBA inifile is not supported for caching
#7275 #7222 processJoins quote identifier error fix
#7276 Adds preserve defined order as a factory option
#7277 Date select filter
#7281 Fix: Email Validator vs IDN
#7282 Fix: Array to string conversion in Zend\Log\Writer\Db
#7285 Fixed documentation on $path property
#7287 AbstractOptions isset issue, #7286
#7290 Allow literal zero string as sql expression
#7292 Fix call to method not in ExpressionInterface
#7294 Feature/log writer mail factory
#7295 Zend\Http\Header\GenericHeader introduces BC break
#7296 Fix infinite loop when chaining peering service managers
#7299 Fix reflection for one line docblocks
#7303 update TLD list
#7307 Automatic TLDs update for Zend\Validator\Hostname
#7309 Hotfix/additional form options error case
#7310 Callback Authentication Adapter
#7311 Using TableGateway::insert() fails when table has an alias
#7314 add getter method for object prototype to Zend\Db\ResultSet\HydratingResultSet
#7315 array_filter compatibility
#7325 Changed fileprg annotation to type hint on FormInterface
#7326 added doc-block @ Zend\InputFilter\InputInterface
#7327 Rbac callback assertion
#7328 Acl callback assertion
#7329 added basic support for digest authentication on curl adapters
#7332 Zend\Http\Client sends content-type: application/x-www-form-urlencoded with GET request
#7334 feature: add bcrypt support to apache http basic auth
#7336 Allowing the route match controller to override the controller class
#7340 Fix testing issues under 5.3
#7341 Set disabled attribute also on checkbox hidden element
#7342 Do not throw exception when isset is used on AbstractOptions existing object variable
#7343 Pdo fetch mode support
#7345 use the target host and not the proxy host in the client hello request
#7346 Add missing return statement.
#7353 Added flag UNSEEN in Zend\Mail\Storage.
#7354 Added test for Validator\IsInstanceOf passed $options without "className" key
#7355 update "ircmaxell/random-lib" version to fix travis's composer install error
#7358 Explode validator provides context to composed validator
#7359 Missing return statement in PHPDoc in AbstractNavigationFactory
#7362 Fixed the unit tests for Filter OpenSSL
#7364 Switch to PSR-4
#7366 PHP 7 on Travis-CI (re-redux)
#7369 Composer update to 2.4-RC3
#7374 Adjust ContentType regex to allow quoted strings and equals
#7375 Correcting