Skip to content

Releases: drfraker/snipe-migrations

Laravel 8 support.

08 Jun 08:40
2f79b5c
Compare
Choose a tag to compare

Merged two PR's to get laravel 8 support, and so that seeders will work with laravel 8.

update changelog

14 Oct 17:37
349c98a
Compare
Choose a tag to compare
v1.3.2

Update CHANGELOG.md (#31)

Support custom binary paths based on env variables

14 Oct 17:36
Compare
Choose a tag to compare
Support custom binary paths based on env variables (#30)

* Fix typo of var hint in SnipeMigrationsTest

* Fix incorrect custom binary example case

* Support custom binary paths based on env variables

* Fix style issues in SnipeCustomBinaryTest

* Decrease unit test scope for .env binary paths

No need to spin up the whole thing just to see if the config reflects our changes

* Don’t run tests twice in custom binary test class

Moving the helper functions to the base test class we can now extend that one intead. Otherwise, all tests would have been executed twice.

* Add custom binary path feature to CHANGELOG.md

Custom Binaries / Tests

27 Sep 23:51
Compare
Choose a tag to compare
  • Add support for custom binary paths

Users can now configure the exact path to the mysql and mysqldump binaries for different kind of set ups.

  • Don't typehint the execute() method just yet

  • Fix style in snipe config

  • Add proper snipe test support

These changes now properly reset the application state before each test run, as well as adds a few helpful methods to deal with snipe internals.

  • Add test for checking for the migrate:fresh command

  • Add test to detect and reflect database changes

  • Fix style issues in SnipeMigrationsTest

  • Add test for custom binary prefixes

This uses a mockery extension package to overwrite the native “exec” method with a customizable mock.

  • Fix style issues in SnipeMigrationsTest

Account for database seeders

15 Jul 14:40
Compare
Choose a tag to compare

This release adds the following features.

  • Ability to seed the database before taking a snapshot
  • Ability to update the snapshot when seed files have changed

Other minor code & formatting improvements.

1.1.4

14 Mar 14:27
fc7ff3c
Compare
Choose a tag to compare

This uses phpunit v7 in place of phpunit v8 in order to allow us to support PHP 7.1.

1.1.3

04 Mar 21:10
Compare
Choose a tag to compare

This update stops the app from throwing an exception when using sqlite. Instead it simply bypasses any Snipe functionality.

1.1.2

26 Feb 05:44
1d58fa3
Compare
Choose a tag to compare
Update README.md

1.1.1

26 Feb 04:27
Compare
Choose a tag to compare
Grammar :) You're vs Your (#12)

1.1.0

26 Feb 01:59
b0ec795
Compare
Choose a tag to compare

Support RefreshDatabase and DatabaseTransactions traits. Remove need to add a block of code to TestCase.php by using the SnipeMigrations trait.