Repository navigation
Update dependency mysql1 to ^0.21.0 - #172
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
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:
^0.20.0→^0.21.0Release Notes
adamlofts/mysql1_dart (mysql1)
v0.21.1--
05 Oct 2026
is not TLS or a unix socket. A
caching_sha2_passwordaccount has to sendthe server its password the first time it logs in, and the driver now
encrypts it with the server's RSA public key, which it asks the server for.
It used to refuse.
ConnectionSettings.serverPublicKeytakes that key in PEM, for anyone whowould rather give it than have the server asked.
v0.21.0--
05 Oct 2026
The connection has been rewritten, and most of this release is what that
fixed. Several changes are breaking.
Breaking:
Therefore, query parameters are now written into the statement as literals
and sent as plain SQL, and prepared statements are no longer used. The
connection character set must be utf8 or utf8mb4, and the server must not
be in
NO_BACKSLASH_ESCAPESmode.liable to be taken for the answer to the next query.
useSSLimplemented.ConnectionSettings.useCompressionis removed. It never worked.DateTimeparameter is sent with its fractional seconds, which the serverrounds to the precision of the column. It used to be cut to whole seconds.
FINElogging is gone.affectedRowsis never null. For a statement which returns rows it is thenumber of rows, where it used to be null.
ResultRow's constructor takes the result's schema, which breaks a subclassof it outside this package.
Added:
package:postgres, so code which reads rowslooks the same against either driver.
Resultsis nowResult, a list ofrows, and
Fieldis nowResultSchemaColumn; the old names still work andare deprecated.
ResultandResultRowhave aschema, andResultRowhas
toColumnMap()andisSqlNull().Fixed:
caching_sha2_passwordaccountsleft the connection one packet out of step, which showed up as the first
query returning nothing, each query returning the previous query's rows,
RangeError ... Not in inclusive range 0..5, "Got packets out of order" or"Socket has been closed". An account whose plugin is not the server's
default now logs in too.
caching_sha2_passwordaccount the server has not cached can log in overTLS or a unix socket. Over plain TCP it is refused with a message saying so.
CALL: every query after a stored procedure call returned the results ofthe one before it.
DATETIME(n)andTIMESTAMP(n)parameters lost their fraction. Reading aTIME(n)column hung, and a negativeTIMEwas read wrongly.packet sent the driver into a loop ("Illegal length 0").
POINT, fails the query at once.It used to hang until the timeout and close the connection.
being dropped.
Performance:
Configuration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.