Repository navigation
Conversation
This was referenced Oct 22, 2026
markharding
pushed a commit
to futo-org/Harbor
that referenced
this pull request
Nov 24, 2026
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [sqlx](https://github.com/launchbadge/sqlx) | dependencies | patch | `0.9.0` → `0.9.1` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/2097) for more information. --- ### Release Notes <details> <summary>launchbadge/sqlx (sqlx)</summary> ### [`v0.9.1`](https://github.com/launchbadge/sqlx/blob/HEAD/CHANGELOG.md#091---2026-11-17) [Compare Source](transact-rs/sqlx@v0.9.0...v0.9.1) ##### AI Policy Announcement Prompted by a recent uptick in AI-generated pull requests, we added an [`AI_POLICY.md`](./AI_POLICY.md) to clarify our position on AI-generated contributions. This is not strictly a new policy, but a codification of existing sentiment among the maintainers and community. TL;DR: the use of generative AI is **not** expressly prohibited, but there's a few big things that will not be accepted (note that this list is not exhaustive): - Issues and pull requests authored primarily or entirely by agents like Claude Code. - Comments and interactions that are clearly AI generated. - Commits authored by or attributed to Claude or other agents. - PRs that duplicate the effort of other existing pull requests without acknowledging them. See also [#​4472] for motivation and discussion. ##### Added - \[[#​4080]]: feat(sqlite): expose thread_stack_size option \[\[[@​ZenasSong](https://github.com/ZenasSong)]] - \[[#​4130]]: mysql: add TLS server name override for SNI \[\[[@​mingley](https://github.com/mingley)]] - \[[#​4295]]: Add Infinity check functions to `PgInterval` \[\[[@​firebladed](https://github.com/firebladed)]] - \[[#​4334]]: feat: add ability to set or unset the CLIENT_FOUND_ROWS flag \[\[[@​andreastedile](https://github.com/andreastedile)]] - \[[#​4475]]: feat(tls): support native roots with the rustls AWS-LC backend \[\[[@​markuskobler](https://github.com/markuskobler)]] - Adds `tls-rustls-aws-lc-rs-native-roots` feature. - \[[#​4478]]: feat: add Type for MySQL, Sqlite, and Any byte arrays \[\[[@​daimond113](https://github.com/daimond113)]] ##### Changed - \[[#​4242]]: Reuse the TLS connector across connection attempts \[\[[@​goffrie](https://github.com/goffrie)]] - \[[#​4263]]: sqlx-cli: drop the literal style override that was invisible on light terminals \[\[[@​c-tonneslan](https://github.com/c-tonneslan)]] - \[[#​4264]]: chore: Add README to examples \[\[[@​szabgab](https://github.com/szabgab)]] - \[[#​4278]]: docs: document sqlx test connection limits \[\[[@​angelnereira](https://github.com/angelnereira)]] - \[[#​4344]]: docs(postgres): document default TimeZone=UTC session behavior \[\[[@​jeremie0342](https://github.com/jeremie0342)]] - \[[#​4345]]: docs(macros): document that bind parameter nullability is not compile-checked \[\[[@​jeremie0342](https://github.com/jeremie0342)]] - \[[#​4367]]: Error on .sql migration files that don't match the expected filename format \[\[[@​teddytennant](https://github.com/teddytennant)]] - \[[#​4377]]: Update README.md versions to 0.9 \[\[[@​Voklen](https://github.com/Voklen)]] - \[[#​4388]]: Replace license symlinks with copies \[\[[@​WaterWhisperer](https://github.com/WaterWhisperer)]] - \[[#​4392]]: Improve sqlx prepare invocation error \[\[[@​mameikagou](https://github.com/mameikagou)]] - \[[#​4398]]: docs: clarify `Pool::size` and `Pool::num_idle` \[\[[@​valentynkit](https://github.com/valentynkit)]] - \[[#​4402]]: sqlx-sqlite: relax libsqlite3-sys constraint to allow 0.38.x \[\[[@​dtolnay](https://github.com/dtolnay)]] - \[[#​4472]]: doc: add `AI_POLICY.md` \[\[[@​abonander](https://github.com/abonander)]] - \[[#​4502]]: Bump the upper bound on libsqlite3-sys to allow 0.39.x \[\[[@​joshtriplett](https://github.com/joshtriplett)]] - \[[#​4514]]: fix(postgres): make `hostaddr` semantics match `libpq` \[\[[@​abonander](https://github.com/abonander)]] - Minor breaking behavior change: `hostaddr`(env: `PGHOSTADDR`) is no longer treated as a simple alias for `host`. - It bypasses DNS resolution but `host` is still used for TLS Server Name Identification (SNI), if applicable. - This is considered a bugfix because this now matches `libpq`'s behavior as promised in the docs. ##### Fixed - \[[#​4016]]: Fix PgListener::try_recv \[\[[@​PonasKovas](https://github.com/PonasKovas)]] - \[[#​4205]]: bugfix: streamline and fix AnyQueryResult::last_insert_id() for SQLite \[\[[@​migus-rs](https://github.com/migus-rs)]] - \[[#​4282]]: fix(macros): don't look for `.env` outside workspace \[\[[@​abonander](https://github.com/abonander)]] - \[[#​4286]]: Fix query macros against CockroachDB by gating plan_cache_mode on EXPLAIN support \[\[[@​BastienClement](https://github.com/BastienClement)]] - \[[#​4289]]: fix(pool): prevent num_idle underflow that wedges maintenance in a CPU spin \[\[[@​nipunn1313](https://github.com/nipunn1313)]] - \[[#​4301]]: fix(deps): align sqlx-core and sqlx-macros-core on workspace sha2 \[\[[@​waamm](https://github.com/waamm)]] - \[[#​4303]]: fix: whoami regression to anonymous user \[\[[@​lsunsi](https://github.com/lsunsi)]] - \[[#​4306]]: fix(sqlite): return 0 for changes if statement is read-only \[\[[@​waamm](https://github.com/waamm)]] - \[[#​4317]]: fix(sqlite): migrate datetime format builders off time 0.3.48-depreca… \[\[[@​LiamCarPer](https://github.com/LiamCarPer)]] - \[[#​4336]]: perf: enable TCP_NODELAY on sockets \[\[[@​dmitryvk](https://github.com/dmitryvk)]] - \[[#​4337]]: Fix PostgreSQL memory leak when statement cache is disabled \[\[[@​deathlesz](https://github.com/deathlesz)]] - \[[#​4340]]: fix(sqlite): correct sub-second decoding of pre-epoch REAL datetimes \[\[[@​zelinewang](https://github.com/zelinewang)]] - \[[#​4359]]: Fix Any type/close handling, MySQL time signs, SQLite plans, and macro docs \[\[[@​WaterWhisperer](https://github.com/WaterWhisperer)]] - \[[#​4361]]: fix(postgres): re-parse unnamed statement after resolving custom-type OIDs \[\[[@​DoTuanAnh2k1](https://github.com/DoTuanAnh2k1)]] - \[[#​4371]]: fix(macros): tolerate unreadable dotenv with query source \[\[[@​Boulea7](https://github.com/Boulea7)]] - \[[#​4374]]: fix(sqlite): don't dereference a NULL declared type in column_nullable \[\[[@​msdrigg](https://github.com/msdrigg)]] - \[[#​4375]]: \[PostgreSQL] Invalided stale prepared statements \[\[[@​Flassie](https://github.com/Flassie)]] - \[[#​4394]]: fix(postgres): roll back a transaction cancelled during BEGIN \[\[[@​rubenfiszel](https://github.com/rubenfiszel)]] - \[[#​4406]]: fix(postgres): return UnexpectedEof when server closes connection at SSLRequest \[\[[@​zfaustk](https://github.com/zfaustk)]] - \[[#​4413]]: Fix incorrect example path and migration filename in docs \[\[[@​toyeshhm](https://github.com/toyeshhm)]] - \[[#​4433]]: fix(sqlite): return an error instead of panicking when decoding an out-of-range INTEGER as PrimitiveDateTime \[\[[@​breken-ai](https://github.com/breken-ai)]] - \[[#​4436]]: fix(mysql): use the AuthSwitchRequest nonce for caching_sha2_password full auth \[\[[@​LeandroDettmer](https://github.com/LeandroDettmer)]] - \[[#​4439]]: fix(macros-core): only track paths rustc can checksum \[\[[@​varunshahdev](https://github.com/varunshahdev)]] - \[[#​4441]]: fix(mysql): decode MySQL 9 VECTOR columns (type 0xf2) \[\[[@​anderson-andres-dev](https://github.com/anderson-andres-dev)]] - \[[#​4442]]: fix(sqlite): await SQLCipher test connection cleanup before exit \[\[[@​shuvroroy](https://github.com/shuvroroy)]] - \[[#​4450]]: fix(tls): don't wait for incoming data in `RustlsSocket::poll_flush()` \[\[[@​Tango-Ninja](https://github.com/Tango-Ninja)]] - \[[#​4458]]: fix(mysql): harden protocol decoders against malformed packets from hostile servers \[\[[@​portlandhodl](https://github.com/portlandhodl)]] - \[[#​4463]]: fix(macros): only report Ambiguous{DateTime,Numeric}Type when preferred crate is Inferred \[\[[@​rscorer](https://github.com/rscorer)]] - \[[#​4473]]: fix(sqlite): synchronize transaction depth when SQLite auto-rolls back \[\[[@​webdevsamran](https://github.com/webdevsamran)]] - \[[#​4477]]: fix(postgres): Bind encodes result-format count from the wrong field \[\[[@​prostomarkeloff](https://github.com/prostomarkeloff)]] - \[[#​4485]]: fix(postgres): ignore notifications on connections that aren't listening. fixes [#​4484](transact-rs/sqlx#4484). \[\[[@​luketpeterson](https://github.com/luketpeterson)]] - \[[#​4488]]: fix(postgres): preserve quoted "NULL" elements when decoding text arrays \[\[[@​MinJaeRun](https://github.com/MinJaeRun)]] - \[[#​4493]]: fix(mysql): handle empty passwords during authentication switches. \[\[[@​lmont19](https://github.com/lmont19)]] - \[[#​4496]]: fix(mysql): quote charset/collation/time_zone in connect-time SET \[\[[@​Nacl-HCl](https://github.com/Nacl-HCl)]] - \[[#​4498]]: fix(postgres): keep draining resolved type dependencies in fill_cache \[\[[@​ducnhan123-co](https://github.com/ducnhan123-co)]] - \[[#​4503]]: fix(mysql): decode DECIMAL columns into integer types correctly \[\[[@​Map130](https://github.com/Map130)]] - \[[#​4508]]: fix(macros): reject `#[repr(C)]` on enums in `derive(Type)` \[\[[@​thelastbackspace](https://github.com/thelastbackspace)]] - \[[#​4525]]: sqlx-sqlite: bump the upper bound on libsqlite3-sys to allow 0.40.x \[\[[@​lthiery](https://github.com/lthiery)]] - \[[#​4526]]: docs(FAQ): Replace versioned docs.rs link with latest \[\[[@​TheJanzap](https://github.com/TheJanzap)]] - \[[#​4528]]: fix(postgres): don't panic decoding out-of-range dates and times \[\[[@​colinhacks](https://github.com/colinhacks)]] - \[[#​4529]]: fix: handle IPv6 properly at all levels \[\[[@​abonander](https://github.com/abonander)]] - IPv6 addresses are now properly supported in URLs (e.g. `postgres://user:password@[::1]:5432/database`) and passed to the TLS layer for IP-based Server Name Identification (SNI), if applicable. - Note: renamed unreleased `MySqlConnectOptions::tls_servername()` to `tls_sni_servername` to match the option added to the MySQL C API. Also added `tls-sni-servername` as a URL parameter. [#​4016]: transact-rs/sqlx#4016 [#​4080]: transact-rs/sqlx#4080 [#​4130]: transact-rs/sqlx#4130 [#​4205]: transact-rs/sqlx#4205 [#​4242]: transact-rs/sqlx#4242 [#​4263]: transact-rs/sqlx#4263 [#​4264]: transact-rs/sqlx#4264 [#​4278]: transact-rs/sqlx#4278 [#​4282]: transact-rs/sqlx#4282 [#​4286]: transact-rs/sqlx#4286 [#​4289]: transact-rs/sqlx#4289 [#​4295]: transact-rs/sqlx#4295 [#​4301]: transact-rs/sqlx#4301 [#​4303]: transact-rs/sqlx#4303 [#​4306]: transact-rs/sqlx#4306 [#​4317]: transact-rs/sqlx#4317 [#​4334]: transact-rs/sqlx#4334 [#​4336]: transact-rs/sqlx#4336 [#​4337]: transact-rs/sqlx#4337 [#​4340]: transact-rs/sqlx#4340 [#​4344]: transact-rs/sqlx#4344 [#​4345]: transact-rs/sqlx#4345 [#​4359]: transact-rs/sqlx#4359 [#​4361]: transact-rs/sqlx#4361 [#​4367]: transact-rs/sqlx#4367 [#​4371]: transact-rs/sqlx#4371 [#​4374]: transact-rs/sqlx#4374 [#​4375]: transact-rs/sqlx#4375 [#​4377]: transact-rs/sqlx#4377 [#​4388]: transact-rs/sqlx#4388 [#​4392]: transact-rs/sqlx#4392 [#​4394]: transact-rs/sqlx#4394 [#​4398]: transact-rs/sqlx#4398 [#​4402]: transact-rs/sqlx#4402 [#​4406]: transact-rs/sqlx#4406 [#​4413]: transact-rs/sqlx#4413 [#​4433]: transact-rs/sqlx#4433 [#​4436]: transact-rs/sqlx#4436 [#​4439]: transact-rs/sqlx#4439 [#​4441]: transact-rs/sqlx#4441 [#​4442]: transact-rs/sqlx#4442 [#​4450]: transact-rs/sqlx#4450 [#​4473]: transact-rs/sqlx#4473 [#​4458]: transact-rs/sqlx#4458 [#​4463]: transact-rs/sqlx#4463 [#​4472]: transact-rs/sqlx#4472 [#​4475]: transact-rs/sqlx#4475 [#​4477]: transact-rs/sqlx#4477 [#​4478]: transact-rs/sqlx#4478 [#​4485]: transact-rs/sqlx#4485 [#​4488]: transact-rs/sqlx#4488 [#​4493]: transact-rs/sqlx#4493 [#​4496]: transact-rs/sqlx#4496 [#​4498]: transact-rs/sqlx#4498 [#​4502]: transact-rs/sqlx#4502 [#​4503]: transact-rs/sqlx#4503 [#​4508]: transact-rs/sqlx#4508 [#​4514]: transact-rs/sqlx#4514 [#​4525]: transact-rs/sqlx#4525 [#​4526]: transact-rs/sqlx#4526 [#​4528]: transact-rs/sqlx#4528 [#​4529]: transact-rs/sqlx#4529 </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "before 9am on tuesday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTIuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Mi4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==--> Co-authored-by: Thomas de Zeeuw <[email protected]> Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2477 Reviewed-by: Thomas de Zeeuw <[email protected]>
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.
The views and opinions expressed herein are mine and mine alone. This is a distillation of the ethos I in particular want to cultivate for SQLx as its primary maintainer. This does not reflect the views, opinions or policies of any current or former employer, nor does it represent the views or opinions of my SQLx co-authors or any current or former coworkers.
However, I did run the actual
AI_POLICY.mdby @mehcode before posting this.Motivation
I have closed a few PRs in the past for being clearly vibe-coded, and there's several PRs in the queue that I don't want to accept for the same reason. I felt the need to codify this policy so there's no confusion in the future.
In general, I do not like generative AI. I never considered writing code to be the actual bottleneck. I like the feeling of seeing something working that I actually created with my own two hands, and I'm loathe to turn that privilege over to a computer program.
As a Rust open source contributor since before 1.0, and a frequent contributor to various /r/rust questions threads for just as long, I consider myself the source of a non-negligible amount of Rust knowledge on the open internet. Every time an LLM like Claude reads, analyzes or generates Rust code, it's deriving its responses from the content that I and thousands of my colleagues over the past 10+ years created and posted, all without any expectation of compensation, because we thought we were helping our fellow humans build the best Rust software they can, and to share our love of the language.
So yes, I am rather annoyed that our hard work has been scraped up, packaged, sold, lossily processed, then sold back to us as a subscription service, all without any attribution, compensation, or informed consent (though I'm sure we all legally signed over all our rights as part of Reddit and Github's terms of service).
This is not even to mention the damage I see generative AI doing to the industry and society as a whole. I had started on a much more in-depth rant, but I figured it would only end up painting me as a Luddite.
More simply, I feel like using an agent to author a PR and expecting a human to spend real time and energy reviewing it is just plain disrespectful. The code should have at least as much thought and care put into writing it as it takes to review it.
As mentioned in the
AI_POLICY.md, SQLx has always been primarily a creative endeavor, both for my co-authors and myself, as well as the hundreds of contributors who have given their time over the years. Knowingly polluting that with AI generated code feels to me like it flies in the face of all the effort we've put into it.And the very last thing I want for SQLx is for anyone to get the impression that it's being vibe-coded.
The Compromise
However, I do understand that an agent-first workflow is just how a lot of people build software nowadays. SQLx is a production dependency for many organizations, and I know all too well the pain of just trying to get something working. I'm sure it's really convenient and empowering to just ask Claude to find and fix the bug in your dependency for you so that you can focus on what's actually important.
At the same time, you need to keep in mind that a real human being is going to have to read and vet your contribution, and so you should put in at least as much effort as it's going to take to review your PR. You should make an actual attempt to understand and own the solution being presented, and not just be a meat proxy.
You can use Claude or whatever to help with your pull request, as long as that fact is not being shoved in the reviewer's face. Issues and PRs should be hand-written, following our existing templates. Disclosure of AI usage is optional. Commits authored or co-authored by AI agents will not be accepted.
TL;DR: the use of generative AI is not expressly prohibited, but there's a few big things that will not be accepted (note that this list is not exhaustive):