Skip to content

Latest commit

 

History

History
86 lines (71 loc) · 3.14 KB

File metadata and controls

86 lines (71 loc) · 3.14 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.1.0 - 2022-03-12

Added

  • Symfony 6 support
  • Service tags for migrations, migrators and tasks

Deprecated

  • usage of Executor without puller.

1.0.3 - 2021-05-24

Fixed

  • Added missing CopyColumnHelper service definition
  • Removed table alias in ForeignKeyAfterTask for PostgreSQL foreign keys UPDATE query

1.0.2 - 2021-05-22

Fixed

  • Added missing autowiring for before and after tasks

1.0.1 - 2021-05-18

Changed

  • Changed visibility of FregataExtension methods to protected to allow reusability in the Symfony bundle.
  • Unmarked FregataExtension and FregataCompilerPass as internal for reuse in the Symfony bundle.

1.0.0 - 2021-05-17

Removed

  • v0 code (Fregata has been completely rewritten)
  • PHP-DI
  • Doctrine DBAL integration is not coupled with the migrators anymore.

Changed

  • multiple migrations are registerable per project

Added

  • a migration registry holds the migrations list
  • CLI commands listing migrations and their content
  • migrator components: puller, pusher and executor
  • Symfony's DependencyInjection component as service container
  • a kernel to configure the framework
  • a migration context service to get migration metadata
  • before and after tasks
  • migration options readable in the context
  • migrations can extend others and get the same options, tasks and migrators as the parent
  • a Doctrine DBAL integration to keep foreign key constraints

0.3.2 - 2020-06-23

Fixed

  • prevents connections from generating multiple database connections.

0.3.1 - 2020-06-07

Fixed

  • adds blank line in CLI output to avoid readability issues

0.3.0 - 2020-06-07

Added

  • service container (PHP-DI) to autowire migrators constructor arguments
  • console command shows migration progress bar
  • optional batch fetching for large datasets
  • foreign key preservation system

0.2.0 - 2020-05-23

Added

  • Composer package binary

0.1.0 - 2020-05-21

Added

  • Composer setup
  • Connection abstract wrapper class
  • Migrator system with interface and abstract class