Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@steelseries-ci steelseries-ci released this 23 Sep 20:45
93ec08e

Changes:

  • 93ec08e Merge pull request #6 from SteelSeries/azure
  • 3180735 Change MacOS to macOS to match actual naming convention from apple
  • c507e64 Don't run the release on a PR build.
  • 9aa6f95 Merge branch 'master' into azure
  • 89c233c Move Azure pipeline jobs into .azure folder and change trigger for PR and master branch
  • ce02119 Add in new parameters for manually choosing a dbDriver, dbPath, and dbMigration path, along with adding go.mod for go-sqlite3 support by default
  • dd2ffee Create Azure build and release jobs
  • db28f73 Merge pull request #5 from SteelSeries/direct-params
  • 6c11992 Add in new parameters for manually choosing a dbDriver, dbPath, and dbMigration path, along with adding go.mod for go-sqlite3 support by default
  • a0178d5 Merge pull request #3 from SteelSeries/sort-current-version
See More
  • e319ee9 Sort by version_id to get latest applied version
  • f08ac80 Merge pull request #2 from SteelSeries/gofmt-everything
  • 6524c41 Run gofmt on all files. No other changes
  • aca9c84 Merge pull request #1 from SteelSeries/out-of-order-migrations
  • befa82c Collect known migrations that havent been applied
  • ee9747b Consolidate error handling
  • fe572e3 Properly add outOfOrder flag to cmd up
  • 75e5d94 Add option to allow running of old migrations out of order
  • a154894 closing query statement in ensureDBVersion() function to eliminate DB locking issues on up migration
  • b27c470 Merge branch 'master' of https://bitbucket.org/dastels/goose-sqlite
  • aadc765 make all-ok result 0 instead of 1
  • e16d1cb Switch to forked version of go-gypsy
  • f5e4ffa Tweaked the README to reflect the name change from goose to goose-sqlite
  • c1dca10 replace use of pq package with go-sqlite3 package in the generated code.
  • 3a83f64 Added missing type on id
  • 48e3ce0 Convert to use only sqlite
  • 679c1a3 Convert to use only sqlite
  • 45a9ebc Convert to use only sqlite
  • 3c6b6c3 use filepath rather than path to ensure we're dealing with filenames in an OS compatible way. fixes #2.
  • 003f86c Merged in ghthor/goose/postgres-fix (pull request #8: Fix goose_db_version table for postgres.)
  • 527ee49 Fix goose_db_version table for postgres.
  • 430f2bf Breaking change: Merged in ghthor/goose/primary-key-bug (pull request #5: Fixed - timestamp Primary key)
  • b959795 Merged in ghthor/goose/test-fix (pull request #7: Fixed the existing test's that verify the sorting order)
  • e2d100d Merged in ghthor/goose/mymysql-driver-support (pull request #6: Load the mymysql database driver)
  • 71801fa Fixed the existing test's that verify the sorting order
  • bd0a9ad Merged in ghthor/goose/gitignore (pull request #4: Ignore vim swapfiles)
  • cadc306 Ignore vim swapfiles
  • c1e1680 Load the mymysql database driver
  • 7b2d93c Order the results by the guaranteed unique id instead of the potentially non-unique tstamp
  • b7fd307 Fix Bug when finalizing the migration table when calling goose up for the first time
  • 85fac2e Merged in josharian/goose/update-heroku-docs (pull request #3: Update heroku docs)
  • 039efed Update and simplify heroku instructions
  • d42a8fe util: simplify file creation
  • b1edd0e Merged in josharian/goose/flexible-dbconf-open (pull request #2: Make dbconf's open more flexible)
  • 6f67731 Autoparse postgres urls
  • f787354 Expand environment variables in dbconf.yml's open
  • 17747ef Merged in josharian/goose (pull request #1: Autocreate db/migrations)
  • e364c09 Autocreate db/migrations
  • f89880d go migrations: much simpler and more robust way to execute migrations. go migrations are all 'package main', and the version is simply appended to the function name in order to distinguish potentially several migrations in the same 'package main'
  • 85a0c8b remove obsolete version comparison
  • edaa9e3 migrate refactor: simplify MigrationMap struct by allowing each Migration to track its own Version
  • 0287dcd readme: slight formatting tweak
  • 8ccb502 readme: add notes about the available commands
  • 47d4557 create: command to generate the scaffolding for a new migration
  • 562485a pending: remove pending command. it wasn't properly implemented and is superseded by the status command anyhow
  • 5431538 refactor: move writeTemplateToFile() into new util.go
  • e770a07 reorg: prefix command sources with 'cmd' for slightly clearer organization
  • 77a0382 results: don't bother counting the number of sql statements. we don't have a good way of tracking it for go migrations, and it's not particularly helpful either
  • 0b250b8 ensure migration IDs are greater than zero
  • 517e170 breaking change: version id is now int64 to accommodate larger date-based version id schemes
  • 9140de5 status: ensure that the version table exists
  • c1320a5 rename only: DBVersion => MigrationRecord
  • 949df00 status: add status command to show a summary of applied and pending migrations
  • 4bec0b2 breaking change: add a column to the version table to record whether we migrated up or down. fixes the case in which we weren't correctly calculating the current version previously in some cases, and also allows us to maintain a more complete historic record of all migrations made.
  • ef4602b migrate: refactor sorting of migrations out of the collection routine
  • 8c41710 readme: missed a couple mentions of configuration vs environment
  • 5431e23 pending: slight change to textual output
  • 9fbce90 flags: improved option names
  • 1232c87 note for later
  • ab33fd0 main: adjust usage to indicate that -db and -config apply to the goose command, and that any subcommand options come after the subcommand
  • 8cd66bc pending: add new command that lists migrations yet to be run
  • dc913a5 reorg: move getDBVersion() into migrate to clarify that it's common functionality
  • fe14d0a flags: consolidate dbconf details to DBConf struct, reusable by any subcommands.
  • b0dc551 main: simple usage function.
  • 05fdb1a down: add 'down' command to roll back the version by 1
  • 8af5b84 migrate: fix off-by-one comparison, and print correct versions
  • e3112d5 migrate: validate that given migrations don't have ID 0
  • ce29ebd use filepath.Walk when collecting migrations as well
  • 78a2b24 up: make use of filepath.Walk to simplify traversing migration files
  • bccf6af reorg: breaking out functionality into separate subcommands
  • 9e1edc9 readme: fix installation instructions
  • c28116e reorg: move source files to top level of repo to simplify go install usage.
  • 047beda previous test caught an error
  • 93d9288 some basic tests
  • b736bb3 tiny include cleanup
  • 2bc4ab8 keep all args handling in main.go for now
  • c8383e8 resolve refactoring fallout
  • ad5db71 migrate: cleaner and more explicit handling of target version
  • 36f3bce let DBConf definition live in main, since it will be common to several commands
  • 5c8a0d2 more reorg: move migration specific logic to migrate.go, no functional change.
  • 396d40b reorg only: rename goose.go to main.go
  • b373fe5 migrations: capture next/previous versions - can't assume migration IDs will be sequential
  • 8394b86 readme: tweaks
  • 2454507 readme: prelim usage notes
  • 6622648 dbconf: use standard .yml suffix rather than .yaml
  • 04abe35 migration_go: insert DB version as part of each migration's transaction
  • 9a39a80 re-org: move more SQL specific code into migration_sql.go. also, acknowledge that we're only going to run one go migration at a time for now
  • 7b645a2 break sql migration code out into separate file. re-org only, no functional changes.
  • 7c7ee46 rough support for .go migrations
  • 9802b11 gitignore

This list of changes was auto generated.