Skip to content
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 dependency laminas/laminas-serializer to v3 #86

Open
wants to merge 1 commit into
base: 2.5.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 24, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
laminas/laminas-serializer (source) ^2.14.0 -> ^3.0.0 age adoption passing confidence

Release Notes

laminas/laminas-serializer (laminas/laminas-serializer)

v3.0.0

Compare Source

Release Notes for 3.0.0

Backwards incompatible release (major)

With v3.0.0, a huge maintenance release is rolled out.
Every property and every method is now fully typed, starting with method arguments up to object properties.
These kind of changes were necessary due to the changes in laminas-servicemanager v4.0.0 which is also fully typed starting with v4.0.

To reduce further maintenance effort, some niche serializers were dropped in favor or faster CI pipelines and due to the lack of cross-platform checks. Laminas wants to provide fully tested code which was not properly possible for at least the Wddx adapter.

The migration guide is available on the documentation website:
https://docs.laminas.dev/laminas-serializer/v3/migration/to-version-3/

Breaking Changes
  • All methods within this component now have typed arguments and typed return
  • All properties within this component are now typed
Removed
  • Laminas\Serializer\Serializer is removed in favor of proper dependency injection
  • Laminas\Serializer\Adapter\MsgPack is removed to reduce the amount of maintenance within this component
  • Laminas\Serializer\Adapter\PythonPickle is removed to reduce the amount of maintenance within this component
  • Laminas\Serializer\Adapter\Wddx is removed to reduce the amount of maintenance within this component
Changed
  • Due to the removal of Laminas\Serializer\Serializer, projects now have to either instantiate the default serializer implementation or inject it by consuming the Laminas\Serializer\Adapter\AdapterInterface service
Added
  • Laminas\Serializer\GenericSerializerFactory in case projects want to re-configure the default serializer (PhpSerialize) provided by the Laminas\Serializer\Adapter\AdapterInterface service
  • Compatibility with laminas/laminas-servicemanager v4.0.0 and therefore psr/container v2.0.0
3.0.0
  • Total issues resolved: 2
  • Total pull requests resolved: 12
  • Total contributors: 3
Documentation
Enhancement
Documentation,Enhancement
BC Break,Enhancement,Feature Removal
BC Break,Enhancement
BC Break,Documentation,Enhancement
BC Break,RFC

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Read more information about the use of Renovate Bot within Laminas.

| datasource | package                    | from   | to    |
| ---------- | -------------------------- | ------ | ----- |
| packagist  | laminas/laminas-serializer | 2.17.0 | 3.0.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added the renovate label Apr 24, 2024
Copy link
Contributor Author

renovate bot commented Apr 24, 2024

⚠ Artifact update problem

Renovate 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update laminas/laminas-serializer:3.0.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires laminas/laminas-serializer ^3.0.0, found laminas/laminas-serializer[3.0.0] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - laminas/laminas-cache-storage-adapter-benchmark is locked to version 1.2.0 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-benchmark 1.2.0 requires laminas/laminas-serializer ^2.10 -> found laminas/laminas-serializer[2.10.0, ..., 2.17.0] but it conflicts with your root composer.json require (^3.0.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants