Skip to content

v3.2

Choose a tag to compare

@njoubert-cleverage njoubert-cleverage released this 02 Oct 09:34
· 61 commits to main since this release
a3c9e58

Changes

  • #38 Add missing tests: DatabaseUpdaterTask on a SQLite database (options, params, connection), AbstractDoctrineQueryTask query builder (criteria, order, limit, offset), readers next() before execution, bundle and DI extension.

Fixes

  • #32 Fix EntityManager tasks: use the entity manager given by the entity_manager option (it was ignored by every task except ClearEntityManagerTask), the one managing the entity class otherwise. Update documentation, add tests.
  • #33 Fix DatabaseReaderTask and DoctrineReaderTask: execute the query again for each input (the input following a complete iteration was skipped). Update documentation, add tests.
  • #34 Fix DatabaseReaderTask: the table option is only required when sql is not set. Update documentation, add tests.
  • #35 Fix DoctrineDetacherTask error message on a null input (it named DoctrineWriterTask), and throw an explicit \RuntimeException on a null input in DoctrineRemoverTask (a \TypeError was triggered). Update documentation, add tests.
  • #36 Fix DoctrineReaderTask: hydrate the entities one at a time while iterating (every entity was hydrated before the first output). Update documentation, add tests.