- Add some phpunit tests
- Apply Rector & Phpstan
- Add StopwatchTask
- Change directory structure. Move Symfony code to /src, documentation to /doc, and tests to /tests
Fixes
v3.2.9
Fixes
https://github.com/cleverage/process-bundle/compare/v3.2.8...v3.2.9
v3.2.8
Fixes
https://github.com/cleverage/process-bundle/compare/v3.2.7...v3.2.8
v3.2.7
Fixes
Suppress deprecation message
v3.2.6
Fixes
Fix SubprocessInstance Task for Symfony >=5
v3.2.5
Fixes
Upgrade psr/cache
v3.2.4
Features
- Added a
ttl option in the cached transformer
v3.2.3
Features
- Added
multi_replace transformer
- Added
cached transformer
Fixes
- Fixed return value of list and help commands (mandatory for Symfony 5)
BC breaks
- Added
psr/cache as a dependency, but it shouldn't break anything
- Added
ext-intl as a dependency, since required by the slugify transformer
v3.2.2
Fixes
- 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
v3.2.1
Fixes
- Fatal error while loading configuration in Symfony 3.4
v3.2.0
Features
- GITHUB-121: Enable compatibility with Symfony 5
- GITHUB-118: Added boilerplate code to avoid deprecations notices for event listeners
BC breaks
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.
Release v3.1
v3.1-dev
Features
Nothing yet
Fixes
Nothing yet
BC breaks
Nothing yet
v3.1.5
Fixes
- GITHUB-120: FolderBrowserTask: Accept array type for
name_pattern option
v3.1.4
Features
- (backport from v3.0.9) Adding simple task to launch system commands
v3.1.3
Features
- (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
Fixes
- (backport from v3.0.8) Fixing AbstractIterableOutputTask that was inconsistent when chained, refactoring InputIteratorTask that had the proper implementation with the AbstractIterableOutputTask as parent
v3.1.2
Fixes
- Fixed bad static access in tests
v3.1.1
Features
- (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
Fixes
- Removed useless, CPU intensive, log on CsvSplitterTask
v3.1.0
Features
- 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
and errors configurations
Fixes
- GITHUB-99: transformer exception message improvements
BC breaks
- GIHTUB-82: the
default_error_strategy is now mandatory.
If you have any doubt, you can use default_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.
UPGRADE TO 2.0
Task Logging
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.
TransformerTask
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>
UPGRADE TO 1.1
MappingTransformer
- The option "ignore_extra" is renamed to "keep_input".
Other
- Fixed issues with blocking tasks
- Removed deprecated methods
- added input/output in process manager (may allow a start_process_task)
New issues :
Planned (v2+)
- automated transformer creation & refactoring
- easy test cases via yml ?
- changes in interfaces
- allow blocking + iterable
- FIFO queues for in/out