chore(deps): bump github.com/pressly/goose/v3 from 3.17.0 to 3.18.0 #139

Merged
argoyle merged 1 commits from dependabot-go_modules-github.com-pressly-goose-v3-3.18.0 into main 2024-02-01 12:20:41 +00:00
argoyle commented 2024-02-01 06:25:06 +00:00 (Migrated from gitlab.com)

Bumps github.com/pressly/goose/v3 from 3.17.0 to 3.18.0.

Release notes

Sourced from github.com/pressly/goose/v3's releases.

v3.18.0

⚠️ Note, starting with goose v3.18.0 (current release) the minimum supported Go version is go1.20

New features

  • Add environment variable substitution for SQL migrations. (#604)

    • This feature is disabled by default, and can be enabled by adding an annotation to the migration file:

      -- +goose ENVSUB ON
      
    • When enabled, goose will attempt to substitute environment variables in the SQL migration queries until the end of the file, or until the annotation -- +goose ENVSUB OFF is found. For example, if the environment variable REGION is set to us_east_1, the following SQL migration will be substituted to SELECT * FROM regions WHERE name = 'us_east_1';

      -- +goose ENVSUB ON
      -- +goose Up
      SELECT * FROM regions WHERE name = '${REGION}';
      
    • This feature intentionally supports a minimal expansion set; see Supported Expansions in the https://github.com/mfridman/interpolate repository (forked from https://github.com/buildkite/interpolate)

  • Add native Turso support with libsql driver. (#658)

Fixes

  • Fixed query for list migrations in YDB (#684)
Changelog

Sourced from github.com/pressly/goose/v3's changelog.

[v3.18.0] - 2024-01-31

  • Add environment variable substitution for SQL migrations. (#604)

    • This feature is disabled by default, and can be enabled by adding an annotation to the migration file:

      -- +goose ENVSUB ON
      
    • When enabled, goose will attempt to substitute environment variables in the SQL migration queries until the end of the file, or until the annotation -- +goose ENVSUB OFF is found. For example, if the environment variable REGION is set to us_east_1, the following SQL migration will be substituted to SELECT * FROM regions WHERE name = 'us_east_1';

      -- +goose ENVSUB ON
      -- +goose Up
      SELECT * FROM regions WHERE name = '${REGION}';
      
  • Add native Turso support with libsql driver. (#658)

  • Fixed query for list migrations in YDB (#684)

Commits
  • 6f5c152 Release v3.18.0
  • d9fa725 fix: ListMigrations query for YDB (#685)
  • 2b41513 build: bump Go deps and add 1.22.0-rc.2 to CI matrix (#686)
  • 1b23a2d docs: update README.md
  • f3ac856 build(deps): bump the gomod group with 1 update (#677)
  • 120e6a3 feat: environment variables interpolation (#604)
  • 44aea13 build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#676)
  • ed3f113 dev: add beta command to CLI; fix build constraints (#672)
  • 52fd411 chore(deps): Update libsql-client-go to new tursodatabase organization (#671)
  • 14c93ad feat: add native Turso support (#658)
  • See full diff in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [github.com/pressly/goose/v3](https://github.com/pressly/goose) from 3.17.0 to 3.18.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pressly/goose/releases">github.com/pressly/goose/v3's releases</a>.</em></p> <blockquote> <h2>v3.18.0</h2> <p>⚠️ Note, starting with goose <code>v3.18.0</code> (current release) the minimum supported Go version is go1.20</p> <h3>New features</h3> <ul> <li> <p>Add environment variable substitution for SQL migrations. (<a href="https://github.com/pressly/goose/issues/604">#604</a>)</p> <ul> <li> <p>This feature is <strong>disabled by default</strong>, and can be enabled by adding an annotation to the migration file:</p> <pre lang="sql"><code>-- +goose ENVSUB ON </code></pre> </li> <li> <p>When enabled, goose will attempt to substitute environment variables in the SQL migration queries until the end of the file, or until the annotation <code>-- +goose ENVSUB OFF</code> is found. For example, if the environment variable <code>REGION</code> is set to <code>us_east_1</code>, the following SQL migration will be substituted to <code>SELECT * FROM regions WHERE name = 'us_east_1';</code></p> <pre lang="sql"><code>-- +goose ENVSUB ON -- +goose Up SELECT * FROM regions WHERE name = '${REGION}'; </code></pre> </li> <li> <p>This feature intentionally supports a minimal expansion set; see <a href="https://github.com/mfridman/interpolate?tab=readme-ov-file#supported-expansions">Supported Expansions</a> in the <a href="https://github.com/mfridman/interpolate">https://github.com/mfridman/interpolate</a> repository (forked from <a href="https://github.com/buildkite/interpolate">https://github.com/buildkite/interpolate</a>)</p> </li> </ul> </li> <li> <p>Add native <a href="https://turso.tech/">Turso</a> support with libsql driver. (<a href="https://github.com/pressly/goose/issues/658">#658</a>)</p> </li> </ul> <h3>Fixes</h3> <ul> <li>Fixed query for list migrations in YDB (<a href="https://github.com/pressly/goose/issues/684">#684</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pressly/goose/blob/master/CHANGELOG.md">github.com/pressly/goose/v3's changelog</a>.</em></p> <blockquote> <h2>[v3.18.0] - 2024-01-31</h2> <ul> <li> <p>Add environment variable substitution for SQL migrations. (<a href="https://github.com/pressly/goose/issues/604">#604</a>)</p> <ul> <li> <p>This feature is <strong>disabled by default</strong>, and can be enabled by adding an annotation to the migration file:</p> <pre lang="sql"><code>-- +goose ENVSUB ON </code></pre> </li> <li> <p>When enabled, goose will attempt to substitute environment variables in the SQL migration queries until the end of the file, or until the annotation <code>-- +goose ENVSUB OFF</code> is found. For example, if the environment variable <code>REGION</code> is set to <code>us_east_1</code>, the following SQL migration will be substituted to <code>SELECT * FROM regions WHERE name = 'us_east_1';</code></p> <pre lang="sql"><code>-- +goose ENVSUB ON -- +goose Up SELECT * FROM regions WHERE name = '${REGION}'; </code></pre> </li> </ul> </li> <li> <p>Add native <a href="https://turso.tech/">Turso</a> support with libsql driver. (<a href="https://github.com/pressly/goose/issues/658">#658</a>)</p> </li> <li> <p>Fixed query for list migrations in YDB (<a href="https://github.com/pressly/goose/issues/684">#684</a>)</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pressly/goose/commit/6f5c152c33b3bd435922d70fef631e6845739c8c"><code>6f5c152</code></a> Release v3.18.0</li> <li><a href="https://github.com/pressly/goose/commit/d9fa72578ab4718e2247b03334c3bba604bf20fd"><code>d9fa725</code></a> fix: <code>ListMigrations</code> query for YDB (<a href="https://github.com/pressly/goose/issues/685">#685</a>)</li> <li><a href="https://github.com/pressly/goose/commit/2b41513417ac9a783a7eaa7e36b447b196e8afc9"><code>2b41513</code></a> build: bump Go deps and add 1.22.0-rc.2 to CI matrix (<a href="https://github.com/pressly/goose/issues/686">#686</a>)</li> <li><a href="https://github.com/pressly/goose/commit/1b23a2d0560e2ba03aca46c4dbbc04a98515d9a3"><code>1b23a2d</code></a> docs: update README.md</li> <li><a href="https://github.com/pressly/goose/commit/f3ac8565b2cd72091634aba5e9503d88f157e0f1"><code>f3ac856</code></a> build(deps): bump the gomod group with 1 update (<a href="https://github.com/pressly/goose/issues/677">#677</a>)</li> <li><a href="https://github.com/pressly/goose/commit/120e6a38d5b7ed1c3dd2be5198051f06bffaee85"><code>120e6a3</code></a> feat: environment variables interpolation (<a href="https://github.com/pressly/goose/issues/604">#604</a>)</li> <li><a href="https://github.com/pressly/goose/commit/44aea139ee54f999b8034f587dd9b9832b11dac5"><code>44aea13</code></a> build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 (<a href="https://github.com/pressly/goose/issues/676">#676</a>)</li> <li><a href="https://github.com/pressly/goose/commit/ed3f1138a77284973b9c00bec530c823eec17278"><code>ed3f113</code></a> dev: add beta command to CLI; fix build constraints (<a href="https://github.com/pressly/goose/issues/672">#672</a>)</li> <li><a href="https://github.com/pressly/goose/commit/52fd4119d6d3a8c1d642f2a6d0005e7cfa2cd0cf"><code>52fd411</code></a> chore(deps): Update libsql-client-go to new tursodatabase organization (<a href="https://github.com/pressly/goose/issues/671">#671</a>)</li> <li><a href="https://github.com/pressly/goose/commit/14c93ad1bcd2b16e7015953b444c8572928c3baf"><code>14c93ad</code></a> feat: add native Turso support (<a href="https://github.com/pressly/goose/issues/658">#658</a>)</li> <li>See full diff in <a href="https://github.com/pressly/goose/compare/v3.17.0...v3.18.0">compare view</a></li> </ul> </details> <br /> --- <details> <summary>Dependabot commands</summary> <br /> You can trigger Dependabot actions by commenting on this MR - `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts </details>
argoyle (Migrated from gitlab.com) merged commit into main 2024-02-01 12:20:41 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/schemas#139