using-zf3-book-samples
using-zf3-book-samples copied to clipboard
Update dependency doctrine/doctrine-orm-module to v4
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| doctrine/doctrine-orm-module (source) | require | major | ^1.1.5 -> 4.0.2 |
| doctrine/doctrine-orm-module (source) | require | major | ^2.0 -> 4.0.2 |
Release Notes
doctrine/DoctrineORMModule
v4.0.2
Release Notes for 4.0.2
4.0.x bugfix release (patch)
Changed
DoctrinePaginatornow implementsJsonSerializablewhich it didn't before to solve a caching issue
4.0.2
- Total issues resolved: 1
- Total pull requests resolved: 1
- Total contributors: 1
Bug
- 670: Have
DoctrinePaginatorimplementJsonSerializableto improve cache key creation thanks to @FabianKoestring
v4.0.1
Fixed
- Removed integer constant for proxy generation. While this seems like the correct use of the constant, historically this module has maintained a true/false value for generate_proxies. While this excludes the other non-1 or 0 values for generating proxies, keeping the true/false values is forward looking: "ORM is eventually going to use ProxyManager to generate proxies, which again only understands two options, not everything else" - alcaeus
- psalm flagged a ParamNameMismatch from the inherited factories. Changed to match ancestor.
- Updated docs from Zend to Lamians
- Updated doctrine-project.json to show 4.0.x as the maintained branch
Removed
- Maintenance of 3.x branches has been retired
v4.0.0
A new major version was necessary because support for form annotation has been removed so PHP 8.0 can be supported.
Added
- Support for PHP 8.0
Removed
- Form annotation support. Due to https://github.com/laminas/laminas-form/pull/75#issuecomment-769091279 we could no longer support form annotations and support PHP 8.0.
v3.2.2
Added
- Support for psalm @ level 7
v3.2.1
Changed
- Prevent E_USER_DEPRECATED error when creating RunSqlCommand
v3.2.0
Added
- Allow migrations DependencyFactory from config
Changed
- Doctrine 2 and future versions will be referred to as just Doctrine
v3.1.3
Changed
- Doctrine 2 and future versions will be referred to as just Doctrine
v3.1.2
Added
- Enable support for doctrine/persistence 2.0 or 1.3
v3.1.1
Fixed
- The
doctrine/migrationsmodule defaults theorganize_migrationsconfiguration values$this->migrationsAreOrganizedByYearand$this->migrationsAreOrganizedByYearAndMonthto false which puts all migrations into a single directory. If theorganize_migrationsis set toyearoryear_and_monthit cannot be unset to false. So, this module has removedorganize_migrationsfrom the defaultorm_configmigrations configuration.
v3.1.0
Added
- Support for Migrations ^3.0
Removed
- Support for Migrations 1 and 2
v3.0.9
Added
- Enable support for doctrine/persistence 2.0 or 1.3
v3.0.8
Fixed
- v3.0.7 introduced the ability to have migrations for multiple object managers. This change overlooked the case where a developer did not install the optional
doctrine/migrationsrepository and caused an error when trying to load the module. This release adds specific unit tests for optional dependencies and fixes the break in v3.0.7.
v3.0.7
Added
- Support for multiple migrations configurations. For the life of this module support for migrations has been limited to
doctrine.entitymanager.orm_default. With this release you can create migrations configurations for multiple object managers. You are however limited to only one configuration per object manager.
v3.0.6
Added
- Doctrine Coding Standard has been applied
- doctrine-project.json added to project
Changed
- Enable support for Doctrine 2.0
- Avoid recent versions of doctrine/migrations
- Minimum doctrine/persistence changed to 1.3
Fixed
- Namespace for MappingDriverChain corrected #625
v3.0.5
Fixed
- Newer Doctrine coding standard flagged nesting of control structures per method as small as possible.
Removed
- Added conflict to composer.json for doctrine/migrations >= 3.0
v3.0.4
Changed
- Use CodeCov instead of Scrutinizer
v3.0.3
Fixed
- module.config.php referenced DoctrineObject through DoctrineModule. Fixed to use
Doctrine\Laminas\Hydrator\DoctrineObject
Other
- A fix to functional testing of command line migration command used in Travis testing.
v3.0.2
Fixed
- Fix old Zend Developer Tools CSS class names
v3.0.1
Fixed
- Add return type hint to MappingCollectorFactory::getOptionsClass for compability with DoctrineModule.
v3.0.0
This release is in support of Laminas. The whole project has been reworked to be compatible with the Doctrine coding standard and all Zend libraries have been migrated to Laminas.
v2.1.7
Added
- Enable use savepoints in configuration
v2.1.6
Changed
- Support for Symfony Console 5.0
v2.1.5
Added
- ConfigProvider added to composer.json
- Run CLI commands on Travis builds
- Fix output writer for doctrine-migrations v2 integration
v2.1.4
Changed
- Moved documentation from .md to .rst
- Lightly edited documentation
v2.1.3
Added
- Support for Doctrine Migraions 2
v2.1.2
Fixed
ZendDeveloperToolbar support has been corrected and enhanced. See #563, #552
v2.1.1
Fixed
Updated requirement for doctrine-module to 2.1.3 due to a fix for PHP 7.2 in zend-framework/zend-form required by that module.
v2.1.0
Added
- Support for PHP 7.2
Changed
- doctrine-module 2.1.0 now supported dcca991245a78e689bf713c96223479f586db502
Deprecated
Removed
Fixed
v1.1.8
Fixed
Support for ZendDeveloperTools corrected.
v1.1.7
Added
Use for null coalesce operator.
Deprecated
Nothing.
Removed
Listener/PostCliLoadListener, factory, and config.
Fixed
Use init() event on the module to configure CLI.
v1.1.6
Added
- Console routes use a listener
- Support for PHPUnit 6.5
- Support for Symfony 4
- Custom template support for migrations
Deprecated
Nothing.
Removed
- Support for PHP < 7.1
Fixed
- Documentation for multiple object managers
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by WhiteSource Renovate. View repository job log here.
⚠ Artifact update problem
Renovate failed to update artifacts 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 check 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: userdemo/composer.lock
Command failed: docker run --rm --name=renovate_php --label=renovate_child -v "/mnt/renovate/gh/olegkrivtsov/using-zf3-book-samples":"/mnt/renovate/gh/olegkrivtsov/using-zf3-book-samples" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -w "/mnt/renovate/gh/olegkrivtsov/using-zf3-book-samples/userdemo" docker.io/renovate/php:7.4.24 bash -l -c "install-tool composer 1.10.23 && composer update doctrine/doctrine-orm-module --with-dependencies --ignore-platform-reqs --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins"
Dependency "zendframework/zend-mvc" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "zendframework/zend-authentication" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "zendframework/zend-mvc" is also a root requirement, but is not explicitly allowed. Ignoring.
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- doctrine/migrations v1.5.0 conflicts with doctrine/doctrine-orm-module[4.0.2].
- doctrine/doctrine-orm-module 4.0.2 conflicts with doctrine/migrations[v1.5.0].
- Installation request for doctrine/doctrine-orm-module 4.0.2 -> satisfiable by doctrine/doctrine-orm-module[4.0.2].
- Installation request for doctrine/migrations (locked at v1.5.0, required as ^1.5) -> satisfiable by doctrine/migrations[v1.5.0].
File name: roledemo/composer.lock
Command failed: docker run --rm --name=renovate_php --label=renovate_child -v "/mnt/renovate/gh/olegkrivtsov/using-zf3-book-samples":"/mnt/renovate/gh/olegkrivtsov/using-zf3-book-samples" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -w "/mnt/renovate/gh/olegkrivtsov/using-zf3-book-samples/roledemo" docker.io/renovate/php:7.4.24 bash -l -c "install-tool composer 1.10.23 && composer update doctrine/doctrine-orm-module --with-dependencies --ignore-platform-reqs --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins"
Key zendframework/zend-captcha is a duplicate in ./composer.json at line 29
Key zendframework/zend-captcha is a duplicate in ./composer.json at line 29
Dependency "zendframework/zend-mvc" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "zendframework/zend-authentication" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "zendframework/zend-cache" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "zendframework/zend-mvc" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "zendframework/zend-authentication" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "zendframework/zend-cache" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "zendframework/zend-mvc" is also a root requirement, but is not explicitly allowed. Ignoring.
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- doctrine/doctrine-orm-module 4.0.2 conflicts with doctrine/migrations[v1.8.1].
- doctrine/doctrine-orm-module 4.0.2 conflicts with doctrine/migrations[v1.8.1].
- Installation request for doctrine/doctrine-orm-module 4.0.2 -> satisfiable by doctrine/doctrine-orm-module[4.0.2].
- Installation request for doctrine/migrations (locked at v1.8.1, required as ^1.5) -> satisfiable by doctrine/migrations[v1.8.1].
File name: blog/composer.lock
Command failed: docker run --rm --name=renovate_php --label=renovate_child -v "/mnt/renovate/gh/olegkrivtsov/using-zf3-book-samples":"/mnt/renovate/gh/olegkrivtsov/using-zf3-book-samples" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -w "/mnt/renovate/gh/olegkrivtsov/using-zf3-book-samples/blog" docker.io/renovate/php:7.4.24 bash -l -c "install-tool composer 1.10.23 && composer update doctrine/doctrine-orm-module --with-dependencies --ignore-platform-reqs --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins"
Dependency "zendframework/zend-mvc" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "zendframework/zend-mvc" is also a root requirement, but is not explicitly allowed. Ignoring.
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- doctrine/migrations v1.8.1 conflicts with doctrine/doctrine-orm-module[4.0.2].
- doctrine/doctrine-orm-module 4.0.2 conflicts with doctrine/migrations[v1.8.1].
- Installation request for doctrine/doctrine-orm-module 4.0.2 -> satisfiable by doctrine/doctrine-orm-module[4.0.2].
- Installation request for doctrine/migrations (locked at v1.8.1, required as ^1.8) -> satisfiable by doctrine/migrations[v1.8.1].