-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Laminas packages (major) #262
base: 2.26.x
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: composer.lock
|
b60cadd
to
9df17a7
Compare
|
9df17a7
to
fd49ee9
Compare
| datasource | package | from | to | | ---------- | ------------------------------- | ------ | ----- | | packagist | laminas/laminas-coding-standard | 2.5.0 | 3.0.1 | | packagist | laminas/laminas-servicemanager | 3.22.1 | 4.2.0 | | packagist | laminas/laminas-validator | 2.43.0 | 3.0.0 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fd49ee9
to
63158f6
Compare
This PR contains the following updates:
~2.5.0
->~3.0.0
^3.22.1
->^4.0.0
^2.31.0
->^2.31.0 || ^3.0.0
Release Notes
laminas/laminas-coding-standard (laminas/laminas-coding-standard)
v3.0.1
Compare Source
Release Notes for 3.0.1
3.0.x bugfix release (patch)
3.0.1
Documentation,Enhancement
v3.0.0
Compare Source
Release Notes for 3.0.0
Backwards incompatible release (major)
3.0.0
renovate
Enhancement
slevomat/coding-standard
^8 thanks to @alexraputaBC Break,renovate
laminas/laminas-servicemanager (laminas/laminas-servicemanager)
v4.3.0
Compare Source
Release Notes for 4.3.0
Feature release (minor)
Introduces PHP 8.4 Support
4.3.0
Enhancement
Documentation,Enhancement
renovate
v4.2.1
Compare Source
Release Notes for 4.2.1
4.2.x bugfix release (patch)
4.2.1
Documentation,Enhancement
v4.2.0
Compare Source
Release Notes for 4.2.0
Feature release (minor)
4.2.0
Enhancement
v4.1.0
Compare Source
Release Notes for 4.1.0
Feature release (minor)
4.1.0
Documentation
Documentation,Enhancement
ServiceLocatorInterface#get()
generic thanks to @InvisibleSmileyv4.0.2
Compare Source
Release Notes for 4.0.2
4.0.x bugfix release (patch)
4.0.2
Bug,Documentation
v4.0.1
Compare Source
Release Notes for 4.0.1
4.0.x bugfix release (patch)
4.0.1
Bug,Documentation
v4.0.0
Compare Source
Release Notes for 4.0.0
Release Notes for 4.0.0
laminas-servicemanager
4.0.0 is here and finally enables projects to consumepsr/container
v2.0.0 after 2 years along with several type-additions and plugin manager decoupling.The migration guide is not written yet but will be at some point (once we added support for SM v4 to other components) later.
Added
ServiceManager#get
,PluginManagerInterface#get
andServiceLocatorInterface#build
now explicitly implementmixed
as return-type to synchronize types withContainerInterface#get
psr/container
v1.1 and v2.0ReflectionBasedAbstractFactory
vialaminas-cli
Removed
Laminas\ServiceManager\AbstractFactoryInterface
Laminas\ServiceManager\FactoryInterface
Laminas\ServiceManager\InitializerInterface
Laminas\ServiceManager\DelegatorFactoryInterface
vendor/bin
are removed in favor of thelaminas-cli
integration. All CLI commands of v3.x are accessible viavendor/bin/laminas servicemanager:<v3.x command name>
oncelaminas/laminas-cli
is required in the projects dependenciesConfigInterface
andConfig
-class since these files did not provide any validation logic and were just used to proxy the configuration array structureAbstractPluginManager#validate
andAbstractPluginManager::$instanceOf
property as in v3.x, implementing plugin managers were able to implicitlyvalidate
mixed
. In case an implementing plugin manager is providing a single$instanceOf
such aslaminas-cache
, there is a new classAbstractSingleInstancePluginManager
available which requires the$instanceOf
property to be configuredBreaking Changes
AbstractPluginManager
does not extendServiceManager
anymore and instead uses an ownServiceManager
instance under the hood to manage plugin manager related services which can be configured the same way as in v3.xvendor/bin
are now integrated vialaminas-cli
and can be called viavendor/bin/laminas
oncelaminas/laminas-cli
is part of the projects requirements. Read more about how to consume these commands here.AbstractPluginManager
does not provide thevalidate
-Method anymore and requires migration action such as:AbstractSingleInstancePluginManager
in case the plugin manager only provides instances of a specific interface- or class-string (please be aware that the$instanceOf
property now requires nativestring
property type)validate
method and verify whatever type has to be returned and/or just allowmixed
as v3.x did when omitting$instanceOf
propertyConfigInterface
andConfig
-class since these files did not provide any validation logic and were just used to proxy the configuration array structureServiceManager
norAbstractPluginManager
do validate the provided configuration at runtime anymore. due to the psalm-types provided toServiceManager#__construct
,ServiceManager#configure
,AbstractPluginManager#__construct
andAbstractPluginManager#configure
, the configuration schema is strictly typed and thus, a miss-configuration can be mitigated on static-analysis level prior actual runtimeAbstractPluginManager#get
does not accept options anymore, in case an instance with options needs to be created,AbstractPluginManager#build
has to be used4.0.0
Enhancement
$this
toself
thanks to @boesingReflectionBasedAbstractFactory
mapped factories thanks to @boesingBC Break,Enhancement
psr/container
v2 thanks to @boesing and @danielspkServiceManager#getServiceLocator
method thanks to @boesingServiceManager
inheritance forAbstractPluginManager
thanks to @boesingRFC
AbstractPluginManager#validate
thanks to @boesingServiceManager
asfinal
and changeAbstractPluginManager
to use composition over inheritance thanks to @boesingBC Break
container-interop/container-interop
polyfill thanks to @boesingrenovate
Bug
laminas/laminas-validator (laminas/laminas-validator)
v3.0.0
Compare Source
Release Notes for 3.0.0
next backward compatibility break release (major)
3.0.0
Enhancement
NotEmpty
Validator Input Filter Affordances thanks to @gsteelcomposer-require-checker
in CI thanks to @gsteelsuggest
that are already inrequire
thanks to @gsteel$this->options
thanks to @gsteelStringLength
thanks to @gsteelDocumentation
Documentation,Enhancement
$context
parameter thanks to @gsteel and @tempfirstuserEnumCase
andBackedEnumValue
Validators thanks to @gsteel and @weierophinneyAbstractValidator
thanks to @gsteelDocumentation,Enhancement,Feature Request
DateIntervalString
validator thanks to @gsteelConditional
validator thanks to @gsteel and @michalbundyraBC Break
laminas-modulemanager
support thanks to @gsteelBC Break,Documentation,Enhancement
379: Firm up Callback arguments and document
$context
parameter. thanks to @gsteel361: Refactor
ValidatorChain
thanks to @gsteel358: Refactor
AbstractValidator
thanks to @gsteel356: Refactor file
Count
validator thanks to @gsteel355: Refactor
Extension
andExcludeExtension
Validators thanks to @gsteel354: Refactor
File\Hash
validator thanks to @gsteel351: Refactor
Exists
andNotExists
validators thanks to @gsteel350: Refactor
ImageSize
validator thanks to @gsteel348: Refactor
Size
andFilesSize
Validators thanks to @gsteel346:
UploadFile
validator cleanup thanks to @gsteel345: Refactor
WordCount
validator thanks to @gsteel340: Refactor
MimeType
validator and descendants thanks to @gsteel335: Add precise types to
ConfigProvider
andModule
thanks to @gsteel332: Refactor
IsJsonString
thanks to @gsteel330: Refactor
Date
andDateStep
Validators thanks to @gsteel324: Refactor
EmailAddress
Validator thanks to @gsteel322: Refactor
Iban
validator thanks to @gsteel320: Refactor
Identical
validator thanks to @gsteel318: Refactor
InArray
validator thanks to @gsteel316: Refactor
ISBN
validator thanks to @gsteel314: Refactor
IsCountable
validator thanks to @gsteel311: Refactor
NotEmpty
validator thanks to @gsteel288: Refactor
Timezone
validator thanks to @gsteel286: Refactor
Explode
validator thanks to @gsteel284: Refactor
Callback
validator thanks to @gsteel278: Refactor
StringLength
validator thanks to @gsteel363: Merge release 2.61.0 into 3.0.x thanks to @github-actions[bot]
315: Remove cyclic dependency workaround thanks to @gsteel
BC Break,Documentation
Upload
validator thanks to @gsteelBC Break,Enhancement
Step
validator thanks to @gsteelIsInstanceOf
validator thanks to @gsteelLaminas\Translator
thanks to @gsteelHostname
validator thanks to @gsteelValidatorInterface::isValid()
thanks to @gsteelRegex
validator thanks to @gsteelBug,Enhancement
BC Break,Bug,Documentation,Enhancement
CreditCard
validator thanks to @gsteelBC Break,Feature Removal
StaticValidator
thanks to @gsteelDocumentation,Enhancement,Feature Removal
BC Break,Documentation,Enhancement,Feature Removal
Barcode
validator thanks to @gsteelBC Break,Documentation,Feature Removal
LessThan
,GreaterThan
andBetween
thanks to @gsteel and @weierophinneyBC Break,Bug,Enhancement
Bug
Feature Request
Won't Fix
v2.64.1
Compare Source
Release Notes for 2.64.1
2.64.1
Documentation,Feature Removal
v2.64.0
Compare Source
Release Notes for 2.64.0
This release is even with 2.63.0 due to a mistake merging changes into the wrong branch and then releasing nothing.
The intended changes are released in 2.64.1
v2.63.0
Compare Source
Release Notes for 2.63.0
This release adds support for PHP 8.4.
2.63.0
Enhancement
v2.62.0
Compare Source
Release Notes for 2.62.0
2.62.0
Enhancement
v2.61.0
Compare Source
Release Notes for 2.61.0
2.61.0
Documentation,Feature Removal
Upload
validator thanks to @gsteelAbstractValidator
deprecations thanks to @gsteelMimeType
deprecations thanks to @gsteelIsJsonString
Deprecations thanks to @gsteelDate
andDateStep
Deprecations thanks to @gsteelCreditCard
validator deprecations thanks to @gsteelEmailAddress
validator deprecations thanks to @gsteelIban
deprecations thanks to @gsteelIdentical
validator thanks to @gsteelInArray
validator thanks to @gsteelIsbn
deprecations thanks to @gsteelIsCountable
validator deprecations thanks to @gsteelNotEmpty
validator deprecations thanks to @gsteelStaticValidator
thanks to @gsteelStep
validator deprecations thanks to @gsteelIsInstanceOf
Deprecations thanks to @gsteelHostname
thanks to @gsteelEnhancement
Documentation,Enhancement
bind
feature forCallback
validator thanks to @gsteelv2.60.0
Compare Source
Release Notes for 2.60.0
2.60.0
Feature Removal
Barcode
validator and adapters thanks to @gsteelTimezone
validator thanks to @gsteelDocumentation,Feature Removal
Documentation,Enhancement
v2.59.0
Compare Source
Release Notes for 2.59.0
2.59.0
Documentation,Enhancement
v2.58.0
Compare Source
Release Notes for 2.58.0
2.58.0
Enhancement
v2.57.0
Compare Source
Release Notes for 2.57.0
2.57.0
Enhancement
Enhancement,Feature Request
HostWithPublicIPv4Address
thanks to @gsteelv2.56.0
Compare Source
Release Notes for 2.56.0
Feature release (minor)
Important Changes
In preparation for version 3 of this component, all relevant classes are marked as final. This is done in this version via DocBlock, the final marking via PHP comes with the new major version 3.
2.56.0
Enhancement
@final
where possible thanks to @gsteelv2.55.0
Compare Source
Release Notes for 2.55.0
Feature release (minor)
2.55.0
Enhancement
Documentation
Bug,Enhancement
TranslatorInterface
as Translator thanks to @mimmi20 and @froschdesignv2.54.0
Compare Source
Release Notes for 2.54.0
Feature release (minor)
2.54.0
Enhancement
throwExceptions
option to Callback validator thanks to @gsteelrenovate
v2.53.0
Compare Source
Release Notes for 2.53.0
Feature release (minor)
2.53.0
Enhancement
v2.52.0
Compare Source
Release Notes for 2.52.0
Feature release (minor)
2.52.0
Documentation
Enhancement,Feature Request
IsArray
Validator thanks to @gsteelv2.51.0
Compare Source
Release Notes for 2.51.0
Feature release (minor)
2.51.0
Documentation,Enhancement
UploadedFileInterface
to valid types of$value
parameter ofMimeType::isValid()
thanks to @akrabatv2.50.0
Compare Source
Release Notes for 2.50.0
Feature release (minor)
2.50.0
Enhancement
v2.49.0
Compare Source
Release Notes for 2.49.0
Feature release (minor)
2.49.0
Enhancement
v2.48.0
Compare Source
Release Notes for 2.48.0
Feature release (minor)
2.48.0
Enhancement
Bug
v2.47.0
Compare Source
Release Notes for 2.47.0
Feature release (minor)
2.47.0
Bug
v2.46.0
Compare Source
Release Notes for 2.46.0
Feature release (minor)
2.46.0
Documentation,Feature Removal
laminas-db
related validators thanks to @gsteel and @nuspherev2.45.0
Compare Source
Release Notes for 2.45.0
Feature release (minor)
2.45.0
Enhancement
renovate
IsCountable
validator thanks to @renovate[bot]Bug
v2.44.1
Compare Source
Release Notes for 2.44.1
2.44.x bugfix release (patch)
2.44.1
Bug
[
v2.44.0
](https://redirect.github.com/laminas/laminas-validator/releases/tag/2.44.0