Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Latest commit

 

History

History
123 lines (85 loc) · 4.3 KB

CHANGELOG.md

File metadata and controls

123 lines (85 loc) · 4.3 KB

CHANGELOG

4.0 - 2016-02-26

3.0.1 - 2016-01-27

  • Added platform hint in composer.json to ensure PHP 5.4 compatibility.

3.0 - 2015-12-13

  • This bundle is now based on the DoctrineMigrationsBundle and eZ Platform ready.
  • All commands except the ezpublish:migrations:generate have been removed - use the doctrine:migrations:* commands instead
  • The following deprecated methods have been removed:
    • Kreait\EzPublish\MigrationsBundle\Migrations\AbstractMigration::getContainer()
  • If you want to upgrade an existing project using version 1.x/2.x to the latest release, please follow the upgrade guide

2.0.3 - 2015-12-13

  • Added support for Symfony 3 and PHPUnit 5

2.0.2 - 2015-08-03

  • Muted Migration xxx was executed but did not result in any SQL statements. messages.
  • Removed hacky instructions to output status information, because this causes the migrations to fail.

2.0.1 - 2015-08-03

  • Updated .gitattributes to exclude all test related files
  • Updated README

2.0 - 2015-08-03

  • Removed Mockery as a dependency
  • Updated doctrine/migrations to Version 1.0 (stable)
  • Bumped minimum version requirement for the Symfony Components to 2.4
    • The previous minimum requirement of 2.3 was an error in the first place, because some used components were not available until 2.4
  • Test library with --prefer-stable --prefer-lowest
  • Ensure PHP 7.0 and HHVM support in Travis CI tests
  • When migrating from 1.x to 2.x, you have to remove all $this->addSql("SELECT '...'"); statements, because those will result in an Cannot execute queries while other unbuffered queries are active. error.

1.3 - 2015-06-10

  • Easily create new contents with $this->createContent(), see documentation
  • Moved sources and tests to src and test directories

1.2 - 2015-05-29

  • Pin doctrine/migrations - the latest master did not work anymore. Please update your project's composer.json to use "doctrine/migrations": "1.0.0-alpha3".

1.1.1 - 2015-03-31

Bugfix

The field $repository in the AbstractMigration had been change from protected to private, although it should be accessible to use from generated migrations. Now it's back to protected again :).

Thanks to @nadiri for bringing this up.

1.1 - 2015-03-25

What's new

  • The default migration user is now configurable by setting the ez_user parameter. If not set, it falls back to admin (User ID 14), which is the standard admin user in eZ Publish
  • It is now possible to change the migration user during a migration by using the following methods:
public function up(Schema $schema)
{
    $this->changeMigrationUser('another_ez_username');
    // ...
    $this->restoreDefaultMigrationUser();
}

1.0.3 - 2014-12-17

Changes

  • We now don't add the complete eZ Publish kernel as a dev dependency, but only the API/SPI libraries
  • Use retina ready badges for the README

Bugfixes

  • Fixed the VersionCommand unit test, which wasn't configured with the --no-interaction flag

1.0.2 - 2014-05-22

What's new

  • PHPUnit Tests with full code coverage
  • As this is a bundle for eZ Publish 5, it now follows the eZ Publish Coding Standards
  • Integrated Travis-CI and Scrutinizer-CI
  • Added .gitattributes file for smaller release packages

Changes

  • The class alias in generated migrations has been changed from AbstractEzPublishMigration to EzPublishMigration - you don't need to change your already existing migrations.

1.0.1 - 2014-05-08

What's new

  • Shortcut for the eZ Publish API Repository, you can now directly access it through $this->repository
  • The default admin user is set as current by default
  • Fixed typos
  • Fixed version numbers in composer.json
  • Moved documentation to Resources/doc/examples
  • Added ezsystems/ezpublish-kernel as a dev requirement

Deprecated

  • The method $this->getContainer() is deprecated, use $this->container instead

1.0 - 2014-05-08

Initial release.