Upgrade dependency kysely to ^0.29.0#273
Merged
Merged
Conversation
83b79ae to
8d88a7b
Compare
8d88a7b to
00d1a42
Compare
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.28.3→^0.29.0Release Notes
kysely-org/kysely (kysely)
v0.29.0: 0.29.0Compare Source
Hey 👋
This one's a banger! 💥 💥 💥
We got
$pickTables,$omitTablescompile-time helpers to narrow the world view of downstream queries, cutting down on compilation complexity/time while at it!We got a new
ReadonlyKysely<DB>helper type that turns your instance into a compile-time readonly instance!We got a brand new PGlite dialect. With it comes a new
supportsMultipleConnectionsadapter flag that uses a new centralized connection mutex whenfalse- should help simplify all SQLite dialects out here!We got
$narrowTypesupporting nested narrowing and discriminated unions!We got web standards driven query cancellation support. Pass an abort
signaltoexecute*methods and similar. Pick between different inflight query abort strategies - ignore the query, cancel it on the database side or even kill the session on the database side.We got
SafeNullComparisonPluginto flip (in)equality operators toisandis notwhen right hand side argument isnull.We got a new
shouldParse(value, path)option inParseJSONResultsPluginfor granular control of what getsJSON.parse'd and what stays a string using JSON paths.🚀 Features
thenRefmethod ineb.caseby @ericsodev in #1531whenRef(lhs, op, rhs)ineb.case. by @iam-abdul in #1598elseRefineb.case()by @iam-abdul in #1601$pickTables,$omitTablesand$extendTables, deprecatewithTables. by @igalklebanov in #1582SafeNullComparisonPluginplugin by @rafaelalmeidatk in #1338ParseJSONResultsPlugin. by @igalklebanov in #1453columnandcolumnsfunctions, deprecate theirexpressionfunctions. by @igalklebanov in #1664with(name, query). by @igalklebanov in #1702NarrowPartialby @ethanresnick in #1667ReadonlyKysely<DB>helper. by @igalklebanov in #218requireAllProps<T>(obj)usage withsatisfies AllProps<T>. by @igalklebanov in #1787FileMigrationProvider. by @igalklebanov in #166133e60df&b739e02&4d7064fPostgreSQL 🐘 / MySQL 🐬
PostgreSQL 🐘 / MSSQL 🥅
Migrator. by @jlucaso1 in #1480PostgreSQL 🐘
MySQL 🐬
addIndextoCreateTableBuilderby @alenap93 in #1352MSSQL 🥅
datetime2data type support. by @igalklebanov in #1792PGlite 🟨
🐞 Bugfixes
📖 Documentation
📦 CICD & Tooling
65b6ec4b23085a8193d37585bf60Migrator,FileMigrationProviderand other migration related things are now exported from'kysely/migration'. Importing from'kysely'will provide an informative error message at compilation time.Minimum TypeScript version is now 5.4. Versions 5.3 and older will get a very aggressive compilation error.
The library no longer ships CommonJS files. Use a Node.js version that supports
require(esm), or use dynamic imports. ES Modules files have moved from/dist/esm/to/dist/.TypeScript build target was bumped to
'es2023'.sql.valueandsql.literalwere removed after spending a long time in deprecation. Usesql.valandsql.litinstead.db.executeQuery'squeryId2nd argument has been replaced withoptions?: AbortableQueryOptionsafter spending a long time in deprecation.QueryResult.numUpdatedOrDeletedRowshas been removed after spending a long time in deprecation. Dialects that use it need to be updated to useQueryResult.numAffectedRowsinstead.UniqueConstraintNode.columnswidened fromReadonlyArray<ColumnNode>toReadonlyArray<OperationNode>.🐤 New Contributors
Full Changelog: kysely-org/kysely@v0.28.17...v0.29.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.