Skip to content

fix(deps): update dependency kysely to v0.28.15#901

Open
renovate[bot] wants to merge 2 commits intomainfrom
renovate/kysely-0.x
Open

fix(deps): update dependency kysely to v0.28.15#901
renovate[bot] wants to merge 2 commits intomainfrom
renovate/kysely-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 3, 2026

This PR contains the following updates:

Package Change Age Confidence
kysely (source) 0.28.140.28.15 age confidence

Release Notes

kysely-org/kysely (kysely)

v0.28.15: 0.28.15

Compare 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 in ColumnType or similar). Such columns, when participating in a JSON function/helper would dehydrate to number instead of staying as string.

Why dehydrate numeric strings to numbers in the first place? Select types in kysely describe 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 to string - they return as-is.

This release introduces a special helper type that wraps your column type definition and tells kysely to NOT dehydrate it in JSON functions/helpers.

import type { NonDehydrateable } from 'kysely'

interface Database {
  my_table: {
    a_column: '1' | '2' | '3', // dehydrates to `number`
    another_column: NonDehydrateable<'1' | '2' | '3'>, // stays `'1' | '2' | '3'`
    column_too: NonDehydrateable<ColumnType<'1' | '2' | '3'>> // stays `'1' | '2' | '3'`
  }
}

🚀 Features

  • feat: add NonDehydrateable<T> to allow opt-out from dehydration in JSON functions/helpers. by @​igalklebanov in #​1697

🐞 Bugfixes

PostgreSQL 🐘

📖 Documentation

📦 CICD & Tooling

⚠️ Breaking Changes

🐤 New Contributors

Full Changelog: kysely-org/kysely@v0.28.14...v0.28.15


Configuration

📅 Schedule: Branch creation - Between 09:00 AM and 06:59 PM, Monday through Friday ( * 9-18 * * 1-5 ) in timezone Asia/Tokyo, 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from remiposo and toiroakr as code owners April 3, 2026 04:31
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 3, 2026

🦋 Changeset detected

Latest commit: fe02730

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@tailor-platform/sdk Patch
@tailor-platform/create-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 3, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@tailor-platform/create-sdk@901

commit: fe02730

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

Code Metrics Report (packages/sdk)

main (83bab56) #901 (cc48086) +/-
Coverage 57.7% 57.7% 0.0%
Code to Test Ratio 1:0.4 1:0.4 0.0
Details
  |                    | main (83bab56) | #901 (cc48086) | +/-  |
  |--------------------|----------------|----------------|------|
  | Coverage           |          57.7% |          57.7% | 0.0% |
  |   Files            |            329 |            329 |    0 |
  |   Lines            |          10802 |          10802 |    0 |
  |   Covered          |           6233 |           6233 |    0 |
  | Code to Test Ratio |          1:0.4 |          1:0.4 |  0.0 |
  |   Code             |          66302 |          66302 |    0 |
  |   Test             |          27375 |          27375 |    0 |

SDK Configure Bundle Size

main (83bab56) #901 (cc48086) +/-
configure-index-size 12.58KB 12.58KB 0KB
dependency-chunks-size 33.36KB 33.36KB 0KB
total-bundle-size 45.94KB 45.94KB 0KB

Runtime Performance

main (83bab56) #901 (cc48086) +/-
Generate Median 2,566ms 2,402ms -164ms
Generate Max 2,651ms 2,516ms -135ms
Apply Build Median 2,601ms 2,423ms -178ms
Apply Build Max 2,625ms 2,450ms -175ms

Type Performance (instantiations)

main (83bab56) #901 (cc48086) +/-
tailordb-basic 42,244 42,244 0
tailordb-optional 3,826 3,826 0
tailordb-relation 3,970 3,970 0
tailordb-validate 2,824 2,824 0
tailordb-hooks 5,689 5,689 0
tailordb-object 11,470 11,470 0
tailordb-enum 2,720 2,720 0
resolver-basic 9,239 9,239 0
resolver-nested 25,626 25,626 0
resolver-array 17,862 17,862 0
executor-schedule 4,244 4,244 0
executor-webhook 883 883 0
executor-record 4,746 4,746 0
executor-resolver 4,273 4,273 0
executor-operation-function 877 877 0
executor-operation-gql 879 879 0
executor-operation-webhook 898 898 0
executor-operation-workflow 2,290 2,290 0

Reported by octocov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants