Skip to content

Releases: masom/lhm_php

0.5.1 - Re-enable PHP 5.6

11 May 19:56
Compare
Choose a tag to compare

This release simply relaxes PHPUnit to work on both PHP 5.6 and 7.x

0.5.0 - PHP 7 / Phinx 0.8.0

11 May 14:20
Compare
Choose a tag to compare

This release just refreshes development dependencies and requires PHP 7, nothing else has changed.

0.4.3

03 May 20:00
Compare
Choose a tag to compare
  • Relax psr/log version requirements.

Fix chunker on non `id` primary keys

08 Feb 14:59
Compare
Choose a tag to compare
  • The chunker had a bug preventing it from operating on non id primary keys.

Thanks to @tristanpemble for the fix.

0.4.1

02 Nov 13:34
Compare
Choose a tag to compare

Changes the version lock on Symphony to ~2

0.4.0

29 May 15:19
Compare
Choose a tag to compare

Fixed

  • vendor/bin/lhm cleanup now accepts the documented date format: Y-M-D_H:i:s ( 2015-May-Mon ) -> Y-m-d_H:i:s ( 2015-05-26 )

0.3.7

05 May 18:04
Compare
Choose a tag to compare
0.3.7 Pre-release
Pre-release

Create the archive name with microsecond precision.

0.3.4 - Rename column

04 May 14:28
Compare
Choose a tag to compare
0.3.4 - Rename column Pre-release
Pre-release
  • Supports renaming columns
  • Added \Lhm\Table to keep track of renames
  • Added \Lhm\Intersection to compute origin and destination columns

0.3.3 - Locked Switcher

01 May 19:08
Compare
Choose a tag to compare
Pre-release
  • LockedSwitcher implemented.
  • Lhm\Lhm::changeTable($name, function(Table $table){}, $options) now takes the options to force atomic_switch.

Fixed SqlHelper::versionString()

0.3.2 - Lhm::Cleanup

01 May 15:03
Compare
Choose a tag to compare
0.3.2 - Lhm::Cleanup Pre-release
Pre-release

New features

  • \Lhm\Lhm::cleanup($run, $options) and bin\lhm

Breaking Changes

This commit introduces a breaking change on the LHM API.

LHM should now be configured with \Lhm\Lhm::setAdapter(AdapterInterface $adapter) instead of passing a MigrationInterface instance to \Lhm\Lhm::changeTable.

before

\Lhm\Lhm::changeTable($this, $name, function(){}, $options);

after:

\Lhm\Lhm::setAdapter($this->getAdapter());
\Lhm\Lhm::changeTable($name, function(){}, $options);