fix(deps): update module github.com/xo/dburl to v0.30.0 - #6602
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/github.com-xo-dburl-0.x
branch
from
September 26, 2026 10:17
66f349d to
19ece77
Compare
renovate
Bot
force-pushed
the
renovate/github.com-xo-dburl-0.x
branch
2 times, most recently
from
September 26, 2026 14:42
e578efb to
066a2dd
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6602 +/- ##
=======================================
Coverage 66.92% 66.92%
=======================================
Files 169 169
Lines 14191 14191
=======================================
Hits 9498 9498
Misses 3971 3971
Partials 722 722
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/github.com-xo-dburl-0.x
branch
from
September 26, 2026 16:15
066a2dd to
00d1e00
Compare
renovate
Bot
force-pushed
the
renovate/github.com-xo-dburl-0.x
branch
from
September 26, 2026 17:18
00d1e00 to
af4263e
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.26.1→v0.30.0Release Notes
xo/dburl (github.com/xo/dburl)
v0.30.0: dburl v0.30.0Compare Source
One new field on
Scheme, so a consumer can tell which database product ascheme's driver connects to.
Added
Dialectis theDriverof the scheme that is canonical for the databaseproduct. A canonical scheme names itself, so a consumer reads the field
without a conditional.
A product reached by more than one Go driver has a scheme per driver, because
each
Driveris a name a caller passes tosql.Openand neither shouldoverride the other. Four pairs exist:
Before this, a consumer mapping
URL.Driverto a product found nothing forthe first of each pair, because
pgx,moderncsqlite,godrorandmymysqlare driver names and not product names.
This is not the wire compatible relation, which
Overridealready carries.cockroachdbandredshiftare different products that speak PostgreSQL.pgxandpostgresare one product reached two ways. A wire compatiblescheme takes the
Dialectof what it speaks, so itsDialectandOverrideagree.
Ten schemes have a
Dialectthat differs from theirDriver: the four pairsabove and the six wire compatible schemes.
Notes
The relation is not derivable from the other fields, which is why it needed
one of its own. Matching
Descby prefix findspgxandmymysqland missesmoderncsqliteandgodror, whose descriptions are "ModernC SQLite3" and"GO DRiver for ORacle" and contain neither product name.
filehas noDialect, as it has noDesc. It resolves a path on disk andhas no product behind it.
TestSchemeMetadatarequires a non-emptyDialect, that it names aregistered scheme, that the named scheme is canonical, and that a wire
compatible scheme agrees with its
Override.ParseandOpenare unchanged. Callers that do not read the metadata see nodifference.
Full Changelog: xo/dburl@v0.29.0...v0.30.0
v0.29.0: dburl v0.29.0Compare Source
New metadata on
Scheme, so the registry describes itself, and agen.gothat regenerates the README from it.
Why
usqlgenerated the driver table in both projects' READMEs, through afilesystem path that read this repository's working tree rather than a tagged
version. That path already mixed two versions once. The registry knew which
schemes exist but could not describe them, and any other consumer had to read
usql's source for the same facts.Added
Schemegains six fields:GoPackageis the import path and not the module path. The two differ: forpgx the module is
github.com/jackc/pgx/v5and the import path that registersthe driver is
github.com/jackc/pgx/v5/stdlib.gen.goregenerates the driver table andLICENSE. It carries//go:build ignore, so it is not part of the package, and it imports thestandard library and
dburland nothing else. Run it withgo run gen.go.Changed
The driver table gains two footnote markers.
§marks a database with noserver, and
¶marks one offered only as a service.¶appears only when adatabase has no edition anyone can run, so CockroachDB does not carry it.
The
Scheme / Tagcolumn now holds this registry's scheme names rather thanusql's build tags, so DynamoDB readsgodynamoand Netezza readsnzgo.Row order is a forced cosmetic list in
gen.go, followed by everything elsealphabetically, with a blank row between. It is not a build tag or a group,
and nothing outside
gen.goreads it.The Presto and Trino section is removed from the README. It described driver
behaviour that belongs in the generator doc comments, and it had gone stale.
Notes
The 51 scheme entries are now named-field literals rather than positional.
Schemehas six string fields, and positional literals with six same-typedslots make a transposition a silent bug rather than a compile error. The
conversion was proved behaviour preserving by dumping every scheme's six
original fields and a live DSN before and after, and diffing.
Homeis the one field that is not a relocation fromusql. The values weresourced by asking two models the same list separately and comparing, and they
are not machine verified. Three schemes have a blank
Home, which thefield permits.
ParseandOpenare unchanged. Callers that do not read the metadata see nodifference.
Full Changelog: xo/dburl@v0.28.1...v0.29.0
v0.28.1: dburl v0.28.1Compare Source
Two breaking changes, and a fix for a panic that v0.28.0 introduced.
Do not use v0.28.0
v0.28.0 carried the Hive driver switch without an
authdefault.gohive/v2does not treat a missing
authas unspecified. Its connect path is a chainover the accepted values, and an empty string reaches
panic("Unrecognized auth"), so the DSN that release emits takes the callingprocess down rather than failing to connect. v0.28.1 fixes it. Go straight to
v0.28.1.
Breaking: the three Presto TLS aliases are removed
prs://,prestos://andprestodbs://no longer parse.prestodb/presto-go-client/v2selects TLS fromssl_ca,ssl_cert,ssl_keyandssl_skip_verify, and never from the scheme, so a trailingshad nothing to map onto. Use the plain scheme with one of those options, which
also moves the default port to 8443:
prestokeeps theprandprestodbaliases. v0.27.0 made the three aliasesfail while leaving them registered, which left them advertised in usql's
driver table. Removing them finishes that.
Breaking: Hive moved to a new driver and its DSN changed shape
sqlflow.org/gohiveis unmaintained and has been removed from usql. It alsoaccepted bind parameters and discarded them, and could not represent NULL: a
null string and an empty string both arrived as a valid empty string. The
scheme now targets
github.com/beltran/gohive/v2, which rejects any DSN thatdoes not start with
hive://.The
hive,hiandhive2aliases all still work, and all normalize tohive://, because the driver rejects the alias too.The database name now defaults to
default. An empty path returnsdatabase name is requiredfrom this driver rather than defaulting.Fixed: the Hive DSN cannot emit a value that panics
GenHivesuppliesauth=NONEwhen the caller has not, and passes any othervalue through untouched. An empty value counts as not supplied, because
?auth=and a bare?authboth parse to the empty string that panics.NONEis a protocol selection and not a decision to skip authentication.NONE,LDAPandCUSTOMall build a SASLPLAINtransport carrying theusername and password, so against a server expecting Kerberos it fails
negotiation rather than connecting unauthenticated.
transportgets no default, although it is also a mode selector that panicson an unknown value. The driver supplies a working default for it and does not
for
auth.Added
GenHiveis exported. Nothing else changes for callers ofParseorOpen.docs/SCHEME.mdgains a step for databases held in a file, coveringRegisterFileTypeand the rule that the header decides when the file existsand the extension decides when it does not.
Full Changelog: xo/dburl@v0.27.1...v0.28.1
v0.28.0Compare Source
v0.27.1: dburl v0.27.1Compare Source
Full Changelog: xo/dburl@v0.27.0...v0.27.1
v0.27.0Compare Source
Configuration
📅 Schedule: (in timezone America/New_York)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.