Releases: zendframework/zend-filter
zend-filter 2.9.2
zend-filter 2.9.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #79 fixes a regression introduced in 2.9.0 when using
Zend\Filter\File\RenameUpload
via the traditional SAPI.
zend-filter 2.9.0
Added
-
#70 Adds compatibility with the PSR-7
UploadedFileInterface
to the
RenameUpload
filter. The functionality requires PHP 7 and a
psr/http-factory-implementation in your application. When present,
RenameUpload
will accept a PSR-7UploadedFileInterface
, and return a new
one representing the renamed file. -
#71 adds the
ToFloat
filter, to complement theToInt
filter. -
#69 adds
Zend\Filter\StringSufix
; when provided with a stringsuffix
option, it will suffix scalar values with that string. -
#69 adds
Zend\Filter\StringPrefix
; when provided with a stringprefix
option, it will prefix scalar values with that string.
Changed
- #66 modifies how the FilterPluginManager is registered with the dependency
injection container. Previously, it was registered only under the name
FilterManager
. Now it regisersZend\Filter\FilterPluginManager
as a
factory service, andFilterManager
as an alias to that service.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-filter 2.8.0
Added
-
#26 adds the interface
Zend\Filter\FilterProviderInterface
, which can be used to provide
configuration for theFilterPluginManager
via zend-mvcModule
classes. -
#61 adds support for
PHP 7.2.
Deprecated
- Nothing.
Removed
-
#61 removes support
for PHP 5.5. -
#61 removes support
for HHVM. -
#61 removes support
for zend-crypt versions prior to 3.0. This was done as PHP deprecated the
mcrypt extension starting in PHP 7.1, and does not ship it by default
starting in PHP 7.2. zend-crypt 3.0 adds an OpenSSL adapter for its
BlockCipher capabilities, and acts as a polyfill for mcrypt usage. Since this
functionality has been used by default since 2.7.2, users should be able to
upgrade seamlessly.
Fixed
- Nothing.
zend-filter 2.7.2
Added
- Nothing.
Changes
- #40 updates the
Callback
filter'ssetCallback()
method to allow passing a string name of a class that is instantiable without constructor arguments, and which defines__invoke()
. - #43 updates the exception thrown by the
File\Rename
filter when the target already exists to indicate the target filename path.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #56 fixes how the
FilterPluginManagerFactory
factory initializes the plugin manager instance, ensuring it is injecting the relevant configuration from theconfig
service and thus seeding it with configured translator loader services. This means that thefilters
configuration will now be honored in non-zend-mvc contexts. - #36 fixes an issue in the constructor whereby a discovered option was not removed from the options list after being used to set the compression algorithm.
- #49 and #51 fix logic within the
Boolean
andToNull
filters to use boolean rather than arithmetic operations, ensuring that if the same type is specified multiple times via the options, it will be aggregated correctly internally, and thus ensure correct operation of the filter. - #55 adds a missing import statement to the
Word\SeparatorToSeparatorFactory
.
zend-filter 2.7.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #27 fixes the
Module::init()
method to properly receive aModuleManager
instance, and not expect aModuleEvent
.
zend-filter 2.7.0
Added
- #25 exposes the package as a ZF component and/or generic configuration provider, by adding the following:
FilterPluginManagerFactory
, which can be consumed by container-interop / zend-servicemanager to create and return aFilterPluginManager
instance.ConfigProvider
, which maps the serviceFilterManager
to the above factory.Module
, which does the same asConfigProvider
, but specifically for zend-mvc applications. It also provices a specification toZend\ModuleManager\Listener\ServiceListener
to allow modules to provide filter configuration.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-filter 2.6.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #24 updates the
FilterPluginManager
to reference theNumberFormat
filter, instead of the view helper.
zend-filter 2.6.0
Added
- #14 adds the
UpperCaseWords
filter to the default list of filters known to theFilterPluginManager
. - #22 adds documentation, and automatically publishes it to https://zendframework.github.io/zend-filter/
Deprecated
- Nothing.
Removed
- Nothing.