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 backendDependencies (major) #396

Merged
merged 1 commit into from
Dec 29, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 24, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
phpfastcache/phpfastcache (source) require major 8.0.8 -> 9.0.1
spatie/array-to-xml require major 2.16.0 -> 3.1.0

Release Notes

PHPSocialNetwork/phpfastcache

v9.0.1

Compare Source

14 november 2021
  • Core
    • Added \Phpfastcache\Event\Event class for centralizing event name with reusable constants.
  • Item
    • \Psr\Cache\CacheItemInterface::set will also no longer accepts resource object anymore as method unique parameter
  • Misc

v9.0.0

Compare Source

31 october 2021
  • Migration guide
  • PSR-6
    • Upgraded psr/cache dependency to ^2.0||^3.0 (for PHP-8 types)
    • \Psr\Cache\CacheItemInterface::get() slightly changed to fully comply with missing PSR-6 specification: If the cache item is NOT hit, this method will return NULL.
  • PSR-16
    • Upgraded psr/simple-cache dependency to ^2.0||^3.0 (for PHP-8 types)
  • API
    • Upgraded Phpfastcache API 4.0.0 (see changes)
    • Renamed Api::getPhpFastCacheVersion() to Api::getPhpfastcacheVersion()
    • Renamed Api::getPhpFastCacheChangelog() to Api::getPhpfastcacheChangelog()
    • Renamed Api::getPhpFastCacheGitHeadHash() to Api::getPhpfastcacheGitHeadHash()
  • Cluster
    • Renamed \Phpfastcache\Cluster\AggregatorInterface::aggregateNewDriver() to \Phpfastcache\Cluster\AggregatorInterface::aggregateDriverByName()
  • Exceptions
    • Added PhpfastcacheEventManagerException for EventManager-related exceptions
  • Global
    • Removed magics methods from CacheManager CacheManager::DriverName(), use CacheManager::getInstance('DriverName') instead
    • \Phpfastcache\Proxy\PhpfastcacheAbstractProxy now implements \Phpfastcache\Proxy\PhpfastcacheAbstractProxyInterface
    • Slightly increased performances on some critical points of the library
    • Removed "BadPracticeOMeter" notice in CacheManager
    • Removed many code duplicate (like in \Phpfastcache\Driver\[DRIVER_NAME]\Item classes)
    • Reworked traits inter-dependencies for better logic and less polymorphic calls in pool/item traits
    • Upgrading library to use benefits of PHP 8 new features (see below)
    • Typed every class properties of the library
    • Migrated many Closure to arrow functions
    • Updated parameters & return type hint to use benefit of covariance and contravariance
    • Removed embedded Autoload, Phpfastcache is now only Composer-compatible.
    • Removed embedded dependencies (psr/cache, psr/simple-cache)
  • Helpers
    • Deprecated \Phpfastcache\Helper\CacheConditionalHelper, use \Phpfastcache\CacheContract instead
    • The \Phpfastcache\CacheContract class is now also callable directly without calling get() method
  • Config/Options
    • Configuration object will now be locked once the cache pool instance is running.
    • Updated ConfigurationOption which is no longer an ArrayObject class, therefore array-syntax is no longer available.
    • Removed configuration entry htaccess for files-based drivers.
    • Removed IOConfigurationOptionTrait::getHtaccess()
    • Removed IOConfigurationOptionTrait::setHtaccess()
  • Tests
    • Added PHPMD, PHPCS and PHPSTAN coverages to increase quality of the project
    • Updated tests to work with new core/drivers changes
    • Removed Autoload test since its support has been removed and now only managed by Composer
    • Increased tests reliability and code coverage for better catching any eventual regression
  • Item
    • \Psr\Cache\CacheItemInterface::set will not accept \Closure object anymore as method unique parameter
  • Drivers
    • Added Arangodb driver support
    • Added Dynamodb (AWS) driver support
    • Added Firestore (GCP) driver support
    • Removed Cookie driver because of its potential dangerosity
    • Removed Couchbase (SDK 2 support dropped) driver which is now replaced by Couchbasev3 (SDK 3)
    • Removed Devtrue and Devfalse drivers
    • Added Devrandom with configurable factor chance and data length
    • Renamed classes \Phpfastcache\Cluster\Drivers\[STATEGY]\[CLUSTER_NAME]Cluster to \Phpfastcache\Cluster\Drivers\[STATEGY]\Driver for better driver naming across the project
  • Events
    • Added \Phpfastcache\Event\EventReferenceParameter class and more events such as driver-specific events, see EVENTS.md file for more information
    • Event callbacks will now receive the eventName as an extra last callback parameter (except for onEveryEvents callbacks)
    • Added EventManagerInterface::on(array $eventNames, $callback) method, to subscribe to multiple events in once with the same callback
    • Added method named unbindAllEventCallbacks(): bool to EventManagerInterface to allow you to unbind/clear all event from an event instance
    • Updated argument type #​2 ($items) of onCacheSaveMultipleItems() event from ExtendedCacheItemInterface[] to EventReferenceParameter($items)
    • Updated argument type #​2 ($items) of onCacheCommitItem() event from ExtendedCacheItemInterface[] to EventReferenceParameter($items)
    • Updated argument type #​2 ($value) of onCacheItemSet() event from mixed to EventReferenceParameter(mixed $value)
  • Misc
    • Increased minimum PHP compatibility in composer to ^8.0
    • Updated copyright headers on every file to include the many project contributors
    • Globally renamed every occurrence of PhpFastCache to Phpcastcache
spatie/array-to-xml

v3.1.0

Compare Source

  • add support for processing instructions

v3.0.1

Compare Source

  • allow null inside array to be converted to xml (#​170)

v3.0.0

Compare Source

  • require PHP 8+
  • drop support for PHP 7.x
  • convert syntax to PHP 8

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled due to failing status checks.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-backenddependencies branch from 425c5a6 to 8e2e972 Compare December 24, 2021 19:47
@renovate
Copy link
Contributor Author

renovate bot commented Dec 24, 2021

⚠ 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: server/composer.lock
Command failed: docker run --rm --name=renovate_php --label=renovate_child -v "/mnt/renovate/gh/allerta-vvf/allerta-vvf":"/mnt/renovate/gh/allerta-vvf/allerta-vvf" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -w "/mnt/renovate/gh/allerta-vvf/allerta-vvf/server" docker.io/renovate/php bash -l -c "install-tool composer 2.2.1 && composer update phpfastcache/phpfastcache spatie/array-to-xml --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 spatie/array-to-xml 3.1.0 -> satisfiable by spatie/array-to-xml[3.1.0].
    - spatie/array-to-xml 3.1.0 requires php ^8.0 -> your php version (7.4.27) does not satisfy that requirement.
  Problem 2
    - Root composer.json requires phpfastcache/phpfastcache 9.0.1 -> satisfiable by phpfastcache/phpfastcache[9.0.1].
    - phpfastcache/phpfastcache 9.0.1 requires php >=8.0 -> your php version (7.4.27) does not satisfy that requirement.
  Problem 3
    - symfony/http-client v6.0.1 requires php >=8.0.2 -> your php version (7.4.27) does not satisfy that requirement.
    - sentry/sdk 3.1.1 requires symfony/http-client ^4.3|^5.0|^6.0 -> satisfiable by symfony/http-client[v6.0.1].
    - sentry/sdk is locked to version 3.1.1 and an update of this package was not requested.

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

@renovate renovate bot force-pushed the renovate/major-backenddependencies branch 9 times, most recently from c407ae4 to 396a877 Compare December 29, 2021 00:13
@renovate renovate bot force-pushed the renovate/major-backenddependencies branch from 396a877 to 7eec33c Compare December 29, 2021 00:15
@MatteoGheza MatteoGheza merged commit 6befaf2 into master Dec 29, 2021
@renovate renovate bot deleted the renovate/major-backenddependencies branch December 29, 2021 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants