Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cache Process Bundle Laravel Package

cleverage/cache-process-bundle

CleverAge/CacheProcessBundle integrates Symfony Cache with the CleverAge ProcessBundle, enabling caching within process workflows. Part of the CleverAge/ProcessBundle project, it supports Symfony stable and LTS releases for efficient process execution.

View on GitHub
Deep Wiki
Context7
v2.2

Changes

  • #30 GetTask and SetTask: adapter, key and value are no longer required at configuration level (no placeholders needed), only once merged with the input; the key is validated by the task, so an invalid key always throws (Symfony adapters only validate keys with assert()). New AbstractCacheTask::getRequiredOptions(). Update documentation, add tests.
  • #31 GetTask: add an on_miss option (output_null by default, skip to send the input to the error outputs, fail) to handle cache misses. Update documentation, add tests.
  • #32 SetTask: add an expires_after option, to set the lifetime of the items. Update documentation, add tests.
  • #20 Add missing tests: GetTask and SetTask (options validation at initialization, context, missing adapter, stored null, overwriting), custom tasks extending AbstractCacheTask, Adapter, bundle and DI extension. Remove the obsolete test.old directory (tests of the v1 tasks and transformers).
  • #25 Give the ids of both services in the error on duplicate adapter codes: the adapters are registered by a compiler pass of the bundle, AdapterRegistry::addAdapter() gets an optional $serviceId argument. Update documentation, add tests.

Fixes

  • #28 Fix documentation: invalid cache keys are only rejected by Symfony adapters when assertions are enabled (an exception was documented in every case).
  • #22 Fix GetTask and SetTask: throw an explicit \UnexpectedValueException on a non-array input (a \TypeError was triggered by array_merge()). Update documentation, add tests.
  • #23 Fix GetTask and SetTask: validate the option values given by the input with the options resolver (they were used as is). Update documentation, add tests.
v2.0

Add

Breaking Changes

v1.1

Changes

  • #8 Upgrade to Symfony 7.3 & PHP 8.4
v1.0.0
  • Initial stable release

BC breaks

  • #3 Bump dependency "cleverage/process-bundle": "^4.0"
  • #5 Update services according to Symfony best practices. Services should not use autowiring or autoconfiguration. Instead, all services should be defined explicitly. Services must be prefixed with the bundle alias instead of using fully qualified class names => cleverage_cache_process
  • #1 Rework Tasks & Transfomers using AdapterRegistry

Changes

  • #4 Add Makefile & .docker for local standalone usage
  • #4 Add rector, phpstan & php-cs-fixer configurations & apply it
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast