Skip to content

Releases: global-torque/migration-service

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 13:37

v2.0.0

Breaking change: raw migration variable expansion

Migration placeholders matching ${MIGRATION_[A-Z0-9_]+} are now replaced
byte-for-byte with their environment values in one regex pass. Replacement is
allowed in every SQL lexical context, including quoted strings, identifiers,
comments, dollar-quoted bodies, adjacent text, and raw SQL fragments.

The runner no longer automatically quotes, escapes, casts, or validates a
replacement as SQL. Migration authors must provide any required SQL syntax,
including string quotes, casts, and dollar-quote delimiters. Migrations that
relied on the previous PostgreSQL-literal rendering or standalone-placeholder
validation must be updated before using v2.0.0.

Preserved contracts

  • Repeated placeholders use the first lookup result, in first-occurrence order.
  • Unset variables fail before SQL execution; explicitly empty values are valid.
  • NUL-containing values are rejected.
  • Replacement markers are not recursively expanded.
  • {{ ENV_NAME }} is rendered before migration variables; marker text
    introduced by a migration variable remains unchanged.
  • Source SQL, hashes, migration logs, and --final-sql remain canonical and do
    not contain resolved environment values.
  • Database execution errors remain redacted while preserving Go unwrapping.

v1.0.6

Choose a tag to compare

@github-actions github-actions released this 15 Aug 19:42

Automated migration-service release.

v1.0.5

Choose a tag to compare

@github-actions github-actions released this 15 Aug 19:04

Automated migration-service release.

v1.0.4

Choose a tag to compare

@github-actions github-actions released this 18 Jul 13:53

Automated migration-service release.

v1.0.3

Choose a tag to compare

@vladyslav2 vladyslav2 released this 18 Jul 13:35

Adds safe MIGRATION_* value placeholders for dynamic migration SQL.

stable release with example

Choose a tag to compare

@vladyslav2 vladyslav2 released this 27 Mar 16:00
v1.0.2

stable release with example

v0.4.7

Choose a tag to compare

@Goginet Goginet released this 15 Apr 11:25
4a71bc4

What's Changed

Full Changelog: v0.4.6.1...v0.4.7

v0.4.6

Choose a tag to compare

@Goginet Goginet released this 25 Jul 09:23
3cc4145

Full Changelog: v0.4.3...v0.4.6

filter migrations by ENV_NAME

Choose a tag to compare

@vladyslav2 vladyslav2 released this 25 Jul 08:56
e09e984
v0.4.3

filter migrations by ENV_NAME

0.4.1 http service

Choose a tag to compare

@vladyslav2 vladyslav2 released this 05 May 14:27
v0.4.1

migrations using http