Bump kysely#42
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
commit: |
0986355 to
1f18109
Compare
1f18109 to
60da6ae
Compare
60da6ae to
b3bc724
Compare
4e17987 to
2cb2899
Compare
2cb2899 to
c85d785
Compare
c85d785 to
3f2ed6b
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.11→0.29.2Release Notes
kysely-org/kysely (kysely)
v0.29.2: 0.29.2Compare Source
Hey 👋
A small batch of bug fixes. Please report any issues. 🤞😰🤞
🚀 Features
🐞 Bugfixes
$narrowTypemishandling branded types. by @igalklebanov in #1851📖 Documentation
📦 CICD & Tooling
🐤 New Contributors
What's Changed
Full Changelog: kysely-org/kysely@v0.29.1...v0.29.2
v0.29.1: 0.29.1Compare Source
Hey 👋
A small batch of bug fixes. Please report any issues. 🤞😰🤞
🚀 Features
🐞 Bugfixes
📖 Documentation
📦 CICD & Tooling
zizmorscans. by @igalklebanov in #1843🐤 New Contributors
What's Changed
Full Changelog: kysely-org/kysely@v0.29.0...v0.29.1
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&4d7064fby @igalklebanov in #1799
1e051c8PostgreSQL 🐘 / MySQL 🐬
PostgreSQL 🐘 / MSSQL 🥅
Migrator. by @jlucaso1 in #1480PostgreSQL 🐘
ba89cc3MySQL 🐬
addIndextoCreateTableBuilderby @alenap93 in #1352MSSQL 🥅
datetime2data type support. by @igalklebanov in #1792PGlite 🟨
🐞 Bugfixes
📖 Documentation
📦 CICD & Tooling
65b6ec4b23085a8193d37585bf607f988519e0bfc0Migrator,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>.ExpressionBuilder.withSchemahas been removed after spending a long time in deprecation.DatabaseIntrospector.getMetadatahas been removed after spending a long time in deprecation. UseDatabaseIntrospector.getTablesinstead.MssqlDialectConfig.Tedious.resetConnectionOnReleasehas been removed after spending a long time in deprecation. UseMssqlDialectConfig.resetConnectionsOnReleaseinstead.MssqlDialectConfig.Tarn.options.validateConnectionshas been removed after spending a long time in deprecation. UseMssqlDialectConfig.validateConnectionsinstead.InsertQueryNode.ignorehas been removed after spending a long time in deprecation. UseInsertQueryNode.orActioninstead.PrimaryConstraintNodehas been removed after spending a long time in deprecation. UsePrimaryKeyConstraintNodeinstead.DropTablexNodeParamshas been removed after spending a long time in deprecation. UseDropTableNodeParamsinstead.🐤 New Contributors
ba89cc3Full Changelog: kysely-org/kysely@v0.28.17...v0.29.0
v0.28.17: 0.28.17Compare Source
Hey 👋
A small batch of bug fixes. Please report any issues. 🤞😰🤞
0.29 is right around the corner. Try the latest RC version!
🚀 Features
🐞 Bugfixes
.key(...)and.at(...)against SQL injections and exfiltrations. by @igalklebanov in #1804📖 Documentation
📦 CICD & Tooling
🐤 New Contributors
What's Changed
Full Changelog: kysely-org/kysely@v0.28.16...v0.28.17
v0.28.16: 0.28.16Compare Source
Hey 👋
A small batch of bug fixes. Please report any issues. 🤞😰🤞
0.29 is getting closer btw. 🌶️
🚀 Features
🐞 Bugfixes
FilterObjectallows any defined value when query context has no tables (TBisnever). by @igalklebanov in #1791📖 Documentation
db646ac559714469989155a0f14b📦 CICD & Tooling
2301610f4f1d9eab6d00e521156bverifyDepsBeforeRunto "prompt". by @igalklebanov in20548bc🐤 New Contributors
What's Changed
Full Changelog: kysely-org/kysely@v0.28.15...v0.28.16
v0.28.15: 0.28.15Compare Source
Hey 👋
The introduction of dehydration in JSON functions/helpers caused an unexpected bug for consumers that have some columns defined as
'${number}', e.g.'1' | '2'(also when wrapped inColumnTypeor similar). Such columns, when participating in a JSON function/helper would dehydrate tonumberinstead of staying asstring.Why dehydrate numeric strings to numbers in the first place? Select types in
kyselydescribe the data after underlying driver's (e.g.pg) data transformation. Some drivers transform numeric columns to strings to be safe. When these columns participate in JSON functions, they lose original column data types - drivers don't know they need to transform tostring- they return as-is.This release introduces a special helper type that wraps your column type definition and tells
kyselyto NOT dehydrate it in JSON functions/helpers.🚀 Features
NonDehydrateable<T>to allow opt-out from dehydration in JSON functions/helpers. by @igalklebanov in #1697🐞 Bugfixes
PostgreSQL 🐘
📖 Documentation
📦 CICD & Tooling
🐤 New Contributors
Full Changelog: kysely-org/kysely@v0.28.14...v0.28.15
v0.28.14: 0.28.14Compare Source
Hey 👋
A small batch of bug fixes. Please report any issues. 🤞😰🤞
🚀 Features
🐞 Bugfixes
MySQL 🐬
\\') are used. by @igalklebanov in #1754 &054e801📖 Documentation
📦 CICD & Tooling
9e02f3b🐤 New Contributors
Full Changelog: kysely-org/kysely@v0.28.13...v0.28.14
v0.28.13: 0.28.13Compare Source
Hey 👋
A small batch of bug fixes. Please report any issues. 🤞😰🤞
🚀 Features
🐞 Bugfixes
sideEffects: falsein rootpackage.jsonresulting in bigger bundles in various bundlers. by @igalklebanov in #1746Insertableallows non-objects when a table has no required columns. by @igalklebanov in #1747PostgreSQL 🐘
ON COMMITclause not being output when using.as(query)inCREATE TABLEqueries. by @igalklebanov in #1748📖 Documentation
📦 CICD & Tooling
tsconfig.jsonfor TypeScript native. by @igalklebanov in #1749🐤 New Contributors
Full Changelog: kysely-org/kysely@v0.28.12...v0.28.13
v0.28.12: 0.28.12Compare Source
Hey 👋
A small batch of bug fixes. Please report any issues. 🤞😰🤞
🚀 Features
🐞 Bugfixes
eb.ref(col, '->$').key(key)is injectable. by @igalklebanov in #1727MySQL 🐬
mysql2@​v3.18.2support #1722 by @fenichelar in #1729📖 Documentation
📦 CICD & Tooling
🐤 New Contributors
Full Changelog: kysely-org/kysely@v0.28.11...v0.28.12
Configuration
📅 Schedule: (in timezone America/Sao_Paulo)
* 0-3 * * *)🚦 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.