Skip to content

Bump kysely from 0.27.6 to 0.28.15 - #504

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/kysely-0.28.15
Open

Bump kysely from 0.27.6 to 0.28.15#504
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/kysely-0.28.15

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 1, 2026

Copy link
Copy Markdown
Contributor

Bumps kysely from 0.27.6 to 0.28.15.

Release notes

Sourced from kysely's releases.

0.28.15

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

0.28.14

Hey 👋

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for kysely since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/kysely-0.28.15 branch 2 times, most recently from 8785710 to c1dafda Compare April 3, 2026 08:05
Bumps [kysely](https://github.com/kysely-org/kysely) from 0.27.6 to 0.28.15.
- [Release notes](https://github.com/kysely-org/kysely/releases)
- [Commits](kysely-org/kysely@0.27.6...v0.28.15)

---
updated-dependencies:
- dependency-name: kysely
  dependency-version: 0.28.15
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/kysely-0.28.15 branch from c1dafda to 8c66cfd Compare April 3, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants