Skip to content

Latest commit

 

History

History
79 lines (72 loc) · 2.51 KB

CHANGELOG.md

File metadata and controls

79 lines (72 loc) · 2.51 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.

3.0.0

Added

  • Support for Symfony 5
  • Support for PHP 8

Removed

  • Support for Symfony 3 and 4

Changed

  • PHP 7.4 is now the minimum required version

Fixed

  • the config property paysera_database_init.directories is now required to avoid additional unclear error messages

2.1.0

Added

  • Support for Symfony 4

Removed

  • Support for Symfony 2

2.0.0

Added

  • Sql export features - exports can be configured by groups of tables and/or by specifying an invert export group (tables in specified group will be excluded from the export)
  • A new config property is required now: paysera_database_init.directories.structure - it specifies were would be placed database structure sqls
paysera_database_init:
     directories:
         sql:
             initial: &initial '%kernel.root_dir%/sql/initial'
             other: &other '%kernel.root_dir%/sql/other'
         fixtures:
             main: '%kernel.root_dir%/Fixtures'
         structure: *initial
     exports:
        configuration:
            name: configuration
            tables:
                - config_table_1
                - config_table_2
            directory: *initial
        data:
            name: data
            invert_tables_from: configuration
            directory: *initial

Changed

  • Initializer priorities are now handled for lowest to highest number. Due to this, default priorities are changed as well.
  • DatabaseInitializerInterface:initialize now requires initializer name to be passed.

1.0.0

Added

  • Support of 2nd argument: bin/console paysera:db-init:init {initializer} {set}

Changed

  • Bundle configuration now accepts key-value sets for directories. Key should be used as set name above:
paysera_database_init:
    directories:
        sql:
            initial: '%kernel.root_dir%/sql/initial'
            other: '%kernel.root_dir%/sql/other'
        fixtures:
            main: '%kernel.root_dir%/Fixtures'

0.2.0

Added

  • Support of specific single initializer to run: bin/console paysera:db-init:init sql - will execute only SqlInitializer. If no argument is specified, all initializers will be executed.

0.1.0

Added

  • InitializationReport and InitializationMessage - command now prints useful info.

0.0.1

  • Initial release