794 Commits

Author SHA1 Message Date
Michael Fridman
f2b5a9d8bc
Update Apply to respect no versioning option (#950)
Fix #934

This PR updates the Provider implementation to respect the `no
versioning` option when using `(*goose.Provider).Apply`. Effectively
enabling users to run ad-hoc migration files without tracking their
state.
2025-05-25 15:17:09 -04:00
dependabot[bot]
aca937c6b0
build(deps): bump golangci/golangci-lint-action from 7 to 8 (#943)
Bumps
[golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action)
from 7 to 8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/golangci/golangci-lint-action/releases">golangci/golangci-lint-action's
releases</a>.</em></p>
<blockquote>
<h2>v8.0.0</h2>
<p><strong>Requires <code>golangci-lint</code> version &gt;=
<code>v2.1.0</code></strong></p>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Changes</h3>
<ul>
<li>feat: use absolute paths by default when using working-directory
option by <a href="https://github.com/ldez"><code>@​ldez</code></a> in
<a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1231">golangci/golangci-lint-action#1231</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/golangci/golangci-lint-action/compare/v7...v8.0.0">https://github.com/golangci/golangci-lint-action/compare/v7...v8.0.0</a></p>
<h2>v7.0.1</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Documentation</h3>
<ul>
<li>docs: add note about github.workspace by <a
href="https://github.com/mattjohnsonpint"><code>@​mattjohnsonpint</code></a>
in <a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1218">golangci/golangci-lint-action#1218</a></li>
<li>docs: clarify that ’args: --path-mode=abs’ is needed for
working-directory by <a
href="https://github.com/HaraldNordgren"><code>@​HaraldNordgren</code></a>
in <a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1230">golangci/golangci-lint-action#1230</a></li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>build(deps): bump the dependencies group across 1 directory with 3
updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1213">golangci/golangci-lint-action#1213</a></li>
<li>build(deps-dev): bump the dev-dependencies group with 3 updates by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1215">golangci/golangci-lint-action#1215</a></li>
<li>build(deps-dev): bump the dev-dependencies group with 4 updates by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1220">golangci/golangci-lint-action#1220</a></li>
<li>build(deps): bump <code>@​types/node</code> from 22.13.14 to 22.14.0
in the dependencies group by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1221">golangci/golangci-lint-action#1221</a></li>
<li>build(deps-dev): bump the dev-dependencies group with 3 updates by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1224">golangci/golangci-lint-action#1224</a></li>
<li>build(deps): bump <code>@​types/node</code> from 22.14.0 to 22.14.1
in the dependencies group by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1225">golangci/golangci-lint-action#1225</a></li>
<li>build(deps-dev): bump the dev-dependencies group with 2 updates by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1227">golangci/golangci-lint-action#1227</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/mattjohnsonpint"><code>@​mattjohnsonpint</code></a>
made their first contribution in <a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1218">golangci/golangci-lint-action#1218</a></li>
<li><a
href="https://github.com/HaraldNordgren"><code>@​HaraldNordgren</code></a>
made their first contribution in <a
href="https://redirect.github.com/golangci/golangci-lint-action/pull/1230">golangci/golangci-lint-action#1230</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/golangci/golangci-lint-action/compare/v7.0.0...v7.0.1">https://github.com/golangci/golangci-lint-action/compare/v7.0.0...v7.0.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4afd733a84"><code>4afd733</code></a>
8.0.0</li>
<li><a
href="7774f98a88"><code>7774f98</code></a>
feat: use absolute paths by default when using working-directory option
(<a
href="https://redirect.github.com/golangci/golangci-lint-action/issues/1231">#1231</a>)</li>
<li>See full diff in <a
href="https://github.com/golangci/golangci-lint-action/compare/v7...v8">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golangci/golangci-lint-action&package-manager=github_actions&previous-version=7&new-version=8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-25 14:37:36 -04:00
dependabot[bot]
002b5d0f71
build(deps): bump github.com/ClickHouse/clickhouse-go/v2 from 2.34.0 to 2.35.0 in the gomod group (#949)
Bumps the gomod group with 1 update:
[github.com/ClickHouse/clickhouse-go/v2](https://github.com/ClickHouse/clickhouse-go).

Updates `github.com/ClickHouse/clickhouse-go/v2` from 2.34.0 to 2.35.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/ClickHouse/clickhouse-go/releases">github.com/ClickHouse/clickhouse-go/v2's
releases</a>.</em></p>
<blockquote>
<h2>v2.35.0</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Enhancements 🎉</h3>
<ul>
<li>JWT Authentication by <a
href="https://github.com/SpencerTorres"><code>@​SpencerTorres</code></a>
in <a
href="https://redirect.github.com/ClickHouse/clickhouse-go/pull/1538">ClickHouse/clickhouse-go#1538</a></li>
<li>Add support for overriding <code>database</code> in DSN URL by <a
href="https://github.com/kokizzu"><code>@​kokizzu</code></a> in <a
href="https://redirect.github.com/ClickHouse/clickhouse-go/pull/1541">ClickHouse/clickhouse-go#1541</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/ClickHouse/clickhouse-go/compare/v2.34.0...v2.35.0">https://github.com/ClickHouse/clickhouse-go/compare/v2.34.0...v2.35.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ClickHouse/clickhouse-go/blob/main/CHANGELOG.md">github.com/ClickHouse/clickhouse-go/v2's
changelog</a>.</em></p>
<blockquote>
<h1>v2.35.0, 2025-05-22 <!-- raw HTML omitted --></h1>
<h2>What's Changed</h2>
<h3>Enhancements 🎉</h3>
<ul>
<li>JWT Authentication by <a
href="https://github.com/SpencerTorres"><code>@​SpencerTorres</code></a>
in <a
href="https://redirect.github.com/ClickHouse/clickhouse-go/pull/1538">ClickHouse/clickhouse-go#1538</a></li>
<li>Add support for overriding <code>database</code> in DSN URL by <a
href="https://github.com/kokizzu"><code>@​kokizzu</code></a> in <a
href="https://redirect.github.com/ClickHouse/clickhouse-go/pull/1541">ClickHouse/clickhouse-go#1541</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/ClickHouse/clickhouse-go/compare/v2.34.0...v2.35.0">https://github.com/ClickHouse/clickhouse-go/compare/v2.34.0...v2.35.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="e8c045cc2b"><code>e8c045c</code></a>
Update release notes</li>
<li><a
href="a71e86edaa"><code>a71e86e</code></a>
Merge pull request <a
href="https://redirect.github.com/ClickHouse/clickhouse-go/issues/1556">#1556</a>
from ClickHouse/dependabot/go_modules/github.com/Cli...</li>
<li><a
href="1abc87e919"><code>1abc87e</code></a>
Bump github.com/ClickHouse/ch-go from 0.65.1 to 0.66.0</li>
<li><a
href="08c60b9acf"><code>08c60b9</code></a>
Merge pull request <a
href="https://redirect.github.com/ClickHouse/clickhouse-go/issues/1548">#1548</a>
from ClickHouse/dependabot/go_modules/github.com/tes...</li>
<li><a
href="d375bb81ed"><code>d375bb8</code></a>
Bump github.com/testcontainers/testcontainers-go from 0.33.0 to
0.37.0</li>
<li><a
href="f8a9f743f1"><code>f8a9f74</code></a>
Merge pull request <a
href="https://redirect.github.com/ClickHouse/clickhouse-go/issues/1551">#1551</a>
from ClickHouse/dependabot/go_modules/golang.org/x/n...</li>
<li><a
href="c9b9622af0"><code>c9b9622</code></a>
Bump golang.org/x/net from 0.39.0 to 0.40.0</li>
<li><a
href="b66234469b"><code>b662344</code></a>
Update server versions in test matrix</li>
<li><a
href="b0d6afaeac"><code>b0d6afa</code></a>
Merge pull request <a
href="https://redirect.github.com/ClickHouse/clickhouse-go/issues/1541">#1541</a>
from kokizzu/fix-clickhouse-proxy-issue</li>
<li><a
href="8219540cce"><code>8219540</code></a>
Merge pull request <a
href="https://redirect.github.com/ClickHouse/clickhouse-go/issues/1544">#1544</a>
from ClickHouse/dependabot/go_modules/github.com/doc...</li>
<li>Additional commits viewable in <a
href="https://github.com/ClickHouse/clickhouse-go/compare/v2.34.0...v2.35.0">compare
view</a></li>
</ul>
</details>
<br />

<details>
<summary>Most Recent Ignore Conditions Applied to This Pull
Request</summary>

| Dependency Name | Ignore Conditions |
| --- | --- |
| github.com/ClickHouse/clickhouse-go/v2 | [>= 2.4.a, < 2.5] |
| github.com/ClickHouse/clickhouse-go/v2 | [>= 2.21.a, < 2.22] |
</details>


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/ClickHouse/clickhouse-go/v2&package-manager=go_modules&previous-version=2.34.0&new-version=2.35.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-25 14:37:02 -04:00
Michael Fridman
8e741fadef
Expose dialect Querier (#939) 2025-05-25 14:29:08 -04:00
Mike Fridman
c6cc2e2bc6
Update CHANGELOG.md v3.24.3 2025-05-06 21:18:23 -04:00
Michael Fridman
bb71755afa
Upgrade go deps (#942) 2025-05-06 21:06:51 -04:00
dependabot[bot]
8abffa98c6
build(deps): bump the gomod group across 1 directory with 4 updates (#936) 2025-04-29 07:59:30 -04:00
Diego
46ae662098
feat: Set table name based on flag or environment variable (#932) 2025-04-03 08:46:02 -04:00
Mike Fridman
b63ff992a7
Upgrade integration deps v3.24.2 2025-03-27 22:04:38 -04:00
Michael Fridman
9b2ef34408
Upgrade go deps and bump minimum version to Go 1.23 (#931) 2025-03-27 21:56:48 -04:00
Michael Fridman
da6d92ef23
Update CHANGELOG.md (#930) 2025-03-27 21:43:50 -04:00
Michael Fridman
a31731d081
Upgrade go deps (#927) 2025-03-27 21:36:27 -04:00
Michael Fridman
99d73b7c76
Upgrade golangci-lint (#928) 2025-03-27 21:25:56 -04:00
dependabot[bot]
ed6d53eb80
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 in /internal/testing (#926) 2025-03-24 09:03:04 -04:00
dependabot[bot]
e9543c6efa
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 (#925) 2025-03-24 09:02:51 -04:00
Michael Fridman
6a70e744c8
chore: upgrade go deps and bump min version to go1.22 (#909) 2025-02-12 21:31:53 -05:00
Mike Fridman
d4c1cff36b
chore: skip flaky Starrocks integration test 2025-02-03 21:36:27 -05:00
R0masik
fa06062cdc
fix: return joined err when try to get migrations list (#862) 2025-02-03 20:44:39 -05:00
Viktor Alenkov
2829d46672
Fixed the installation of the linter (#901) 2025-02-03 20:40:24 -05:00
William Harvey
7242b16430
feat: add TableExists method for mysql dialect (#895) 2025-02-02 07:33:22 -05:00
Patrik Lundin
9c748e24f4
Remove trailing newline from log calls (#878) 2025-01-29 09:19:40 -05:00
Michael Fridman
a63d1ef48e
chore: bump deps (#893) 2025-01-29 08:31:27 -05:00
Mike Fridman
09bd1db8c6
chore: rename to main branch 2025-01-29 08:14:50 -05:00
Mike Fridman
dc90c17981
Release v3.24.1 v3.24.1 2025-01-07 09:23:49 -05:00
Anders Søe
4337eb2257
fix: use current_schema for postgres TableExists, if schema is unspecified (#884) 2025-01-07 07:14:31 -05:00
Matt Robinson
779024deaf
docs: remove depreceated call to Run and replace with RunContext (#885) 2025-01-06 08:04:11 -05:00
Michael Fridman
3c91df140a
fix: use schema name if explicitly set on table name for table existence (#883) 2025-01-05 08:06:00 -05:00
Mike Fridman
bfb35504f3
Release v3.24.0 v3.24.0 2024-12-19 10:44:11 -05:00
Karim Shakirov
125950c178
fix: CVE-2024-45338 in golang.org/x/net bump to v0.33.0 (#880)
issue: #879
2024-12-19 08:08:35 -05:00
dependabot[bot]
ca6f0b8272
build(deps): bump the gomod group across 1 directory with 4 updates (#876) 2024-12-17 15:54:21 -05:00
Mike Fridman
483081e10e
feat: add -env flag and allow disabling with "none" 2024-12-14 09:26:57 -05:00
Matiukhin Vlad
a47577b4fa
feat: load environment variables from .env file (#864) 2024-12-14 08:46:47 -05:00
Mike Fridman
28642f80d5
chore: bump changelog 2024-12-12 10:29:07 -05:00
Mike Fridman
63b735e1fe
build: upgrade deps in testing module 2024-12-12 10:28:15 -05:00
Karim Shakirov
1a5b75505e
fix: CVE-2024-45337 in golang.org/x/crypto bump to v0.31.0 (#871) v3.23.1 2024-12-12 10:08:24 -05:00
Alex Simes
0f6d61998d
docs: update mssql connection string example in README (#866) 2024-12-11 10:19:02 -05:00
Michael Fridman
48c4946d69
feat: postgres migration table existence check (#860) 2024-11-23 20:31:25 -05:00
Mike Fridman
8d8822685a
Release v3.23.0 v3.23.0 2024-11-21 09:18:04 -05:00
dependabot[bot]
7248a726ba
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#849)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-20 10:09:44 -05:00
Mike Fridman
ccfd6d7579
ci: update testing output 2024-11-20 09:47:34 -05:00
Michael Fridman
bd901a52e8
chore: upgrade go deps (#857) 2024-11-20 09:27:18 -05:00
Mike Fridman
0a9c5318ea
docs: update CHANGELOG.md 2024-11-20 08:47:59 -05:00
Vianney Foucault
f3d1dc4295
feat: enable Provider verbose logging for statements (#851) 2024-11-20 08:42:07 -05:00
Jacob Enders
512a4968f5
Swap tab indentations with spaces in help command (#853) 2024-11-15 08:38:46 -05:00
Mike Fridman
1f7c16df3d
chore: use latest tparse version for test output 2024-11-02 19:52:08 -04:00
Mike Fridman
4a80e05733
tests: fix number comparison 2024-11-02 19:45:02 -04:00
Mike Fridman
8f6abb60f8
update comment 2024-10-19 17:10:32 -04:00
Vianney Foucault
1e26652add
feat: WithLogger Provider Option (#833) 2024-10-19 17:06:59 -04:00
Michael Fridman
a02d852a1c
testing: add tparse to summarize testing (#844) 2024-10-19 17:04:30 -04:00
Michael Fridman
e78caf2468
testing: add testifylint and fix it all up (#843) 2024-10-19 16:47:44 -04:00