- update dependencies
- upgrade to 1.18
- add
down-all
command do executeundo
section of all applied migrations (thanks Vladimir Oganesov <vengeful.wiz@gmail.com)
- fix crash when JSON config is invalid
- update dependencies (also for vulnerability)
- fix handling
migrations
flag in force commands
- add util for adding patch rules to a loadbalancer path matcher
- improved error reporting
- add support for conditional migrations using boolean expression
- show status after up,down and force state
- fix bug introduced with 1.12.0/1 when saving state in GCS
- fix handling failure when force do has invalid config
- improve printing error message
- last migration state is now temporary stored in OS temp directory
- added functionality to quickly get all environment variable from a gmig config and also $PROJECT, $REGION and $ZONE
- better error message when migration is not found
- fix panic when config folder is misspelled or missing
- fix panic when force command is wrongly used
- simplify list, fix export iam policy
- use yaml v2
- fix handling invalid config folder
- fix warning message, remove vendor folder in favor of go modules.
- switch to YAML for configuration (JSON is fallback)
- add the "template" command for simple configuration transformation.
- fixes bug in collecting migration files: it should not recurse into subdirectories
- replace timestamps in migration files by indices. (010,015,...)
- add "plan" command that logs all commands that would be executed on "up".
- add options to new to set the commands for the do,undo,view section directly
- use verbose flag to echo expanded environment variables in commands
- add "view" command to show the status of infrastructure, per migration.
- add util functions to update named-ports for an instance group
- added --migrations option for up,down,status,force
- all commands in a section (do or undo) from a migration is now executed using a temporary shell script. this allows for using shell variables that can be used by other commands within the section.
- the up command can now optionally stop after a specified migration filename.
- initial configuration has sample environment variable.
- better argument usage documentation.
- improve error report when YAML file is not valid.
- support
.yml
extension for migration files.
- initial release