Skip to content

Latest commit

 

History

History
301 lines (193 loc) · 9.53 KB

CHANGELOG.md

File metadata and controls

301 lines (193 loc) · 9.53 KB

v4.1

Add

  • #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.)

v4.0

BC breaks

  • #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 by Symfony\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 on clever_age_process level. See Quick Start/Global configuration

Changes

  • #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 and symfony/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"

Fixes

v4.0-RC2

BC breaks

  • Bump php version to >=8.2
  • Bump symfony version to ^6.4|^7.1

Fixes

v4.0-RC1

BC breaks

  • Bump php version to >=8.1
  • Bump symfony version to ^6.3

Changes

  • 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 :

  • Error workflow

Planned (v2+)

  • automated transformer creation & refactoring
    • easy test cases via yml ?
  • changes in interfaces
    • allow blocking + iterable
  • FIFO queues for in/out