- #155 Add InputFileReaderTask (Reads the whole input file and outputs its content), InputLineReaderTask (Reads an input file line by line and outputs each line.) and LineReaderTask (Reads a file line by line and outputs each line.)
- #142 Remove FileFetchTask, use
cleverage/flysystem-process-bundle
instead. - #142 YamlReaderTask & YamlWriterTask namespaces changed to
CleverAge\ProcessBundle\Task\File\Yaml
- #142 Array***Transformers namespaces changed to
CleverAge\ProcessBundle\Transformer\Array
- #142 NormalizeTransformer & DenormalizeTransformer namespaces changed to
CleverAge\ProcessBundle\Transformer\Serialization
- #142 DateFormatTransformer & DateParserTransformer namespaces changed to
CleverAge\ProcessBundle\Transformer\Date
- #142 ExplodeTransformer, HashTransformer, ImplodeTransformer, SlugifyTransformer, SprintfTransformer & TrimTransformer namespaces changed to
CleverAge\ProcessBundle\Transformer\String
- #142 InstantiateTransformer, PropertyAccessorTransformer RecursivePropertySetterTransformer namespaces changed to
CleverAge\ProcessBundle\Transformer\Object
- #147 Replace
Symfony\Component\Form\Exception\InvalidConfigurationException
bySymfony\Component\Config\Definition\Exception\InvalidConfigurationException
- #148 Update services (step 1) 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_process
- #150 The class
\CleverAge\ProcessBundle\Task\Debug\MemInfoDumpTask
has been deleted without suggested replacement - #115 New mandatory configuration
default_error_strategy
onclever_age_process
level. See Quick Start/Global configuration
- #139 Update Makefile & .docker for local standalone usage
- #139 Update rector, phpstan & php-cs-fixer configurations & apply it
- #141
league/flysystem-bundle
is not required anymore - #130 EventDispatcherInterface service declaration breaks dependency injection
- #147 Add missing dependencies on
symfony/dotenv
andsymfony/runtime
- #147 Remove dependencies on
symfony/form
,symfony/messenger
&symfony/scheduler
- #146 eav-process-bundle, enqueue-process-bundle, cache-process-bundle and process-soap-bundle were deprecated / archived.
- #141 Add a default value to the node "default_error_strategy"
- #129 Remove wrong replace configuration on composer.json. Add missing suggest
- Miscellaneous fixes, show full diff : https://github.com/cleverage/process-bundle/compare/v4.0.0-rc2...v4.0.0
- Bump php version to >=8.2
- Bump symfony version to ^6.4|^7.1
- Miscellaneous fixes, show full diff : https://github.com/cleverage/process-bundle/compare/v4.0.0-rc1...v4.0.0-rc2
- Bump php version to >=8.1
- Bump symfony version to ^6.3
- Add some phpunit tests
- Apply Rector & Phpstan
- Add StopwatchTask
- Change directory structure. Move Symfony code to /src, documentation to /doc, and tests to /tests
- Miscellaneous fixes, show full diff : https://github.com/cleverage/process-bundle/compare/v3.2.9...v4.0.0-rc1
https://github.com/cleverage/process-bundle/compare/v3.2.8...v3.2.9
https://github.com/cleverage/process-bundle/compare/v3.2.7...v3.2.8
Suppress deprecation message
Fix SubprocessInstance Task for Symfony >=5
Upgrade psr/cache
- Added a
ttl
option in thecached
transformer
- Added
multi_replace
transformer - Added
cached
transformer
- Fixed return value of list and help commands (mandatory for Symfony 5)
- Added
psr/cache
as a dependency, but it shouldn't break anything - Added
ext-intl
as a dependency, since required by theslugify
transformer
- Ignore empty lines in
\CleverAge\ProcessBundle\Filesystem\CsvResource::getLineCount
. - Fixed
\CleverAge\ProcessBundle\Task\AbstractIterableOutputTask
skipping iterations when inside another iteration loop \CleverAge\ProcessBundle\Exception\InvalidProcessConfigurationException
now displays the failing process code\CleverAge\ProcessBundle\Transformer\TransformerTrait
now displays a more explicit message on wrong options type
- Fatal error while loading configuration in Symfony 3.4
- GITHUB-121: Enable compatibility with Symfony 5
- GITHUB-118: Added boilerplate code to avoid deprecations notices for event listeners
There is no BC break for this version, but note that sidus/base-bundle
has been removed from dependencies.
If you use it, it should already be inside your own composer.json.
Nothing yet
Nothing yet
Nothing yet
- GITHUB-120: FolderBrowserTask: Accept array type for
name_pattern
option
- (backport from v3.0.9) Adding simple task to launch system commands
- (backport from v3.0.7) Allowing ValidatorTask to output constraint violations with an option
- (backport from v3.0.6) Adding ArrayUnsetTransformer
- (backport from v3.0.5) Adding basic debug transformer
- (backport from v3.0.8) Fixing AbstractIterableOutputTask that was inconsistent when chained, refactoring InputIteratorTask that had the proper implementation with the AbstractIterableOutputTask as parent
- Fixed bad static access in tests
- (backport from v3.0.4) Adding simple file reader task and cast transformer
- (backport from v3.0.3) FilterTask now outputs skipped content to error output
- Removed useless, CPU intensive, log on CsvSplitterTask
- GITHUB-83: added events around process execution
- GITHUB-86: added XML manipulation tools
- GITHUB-109: added an event during CLI process execution
- GITHUB-107: allow to use directly a string in task
outputs
anderrors
configurations
- GITHUB-99: transformer exception message improvements
- GIHTUB-82: the
default_error_strategy
is now mandatory. If you have any doubt, you can usedefault_error_strategy: skip
to keep previous behavior. - GITHUB-106: an entry-point cannot have an ancestor anymore. The behaviour was undefined, and now it will throw an exception.
Instead of using CleverAge\ProcessBundle\Model\ProcessState::log
you must now use the standard
Psr\Log\LoggerInterface
with the cleverage_process_task
chanel. You should also pass
CleverAge\ProcessBundle\Model\ProcessState::getLogContext
to the log context.
The main option is now "transformers", which accept transformer codes and then transformer options. Default options should now look like:
options:
transformers:
mapping:
mapping:
<key>: <options>
- The option "ignore_extra" is renamed to "keep_input".
- Fixed issues with blocking tasks
- Removed deprecated methods
- added input/output in process manager (may allow a start_process_task)
New issues :
- Error workflow
- automated transformer creation & refactoring
- easy test cases via yml ?
- changes in interfaces
- allow blocking + iterable
- FIFO queues for in/out