Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .changeset/sql-tag-type-parsers.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/benchmark/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @slonik/benchmark

## 49.12.0

### Patch Changes

- Updated dependencies [[`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437)]:
- slonik@49.12.0

## 49.11.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/benchmark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slonik/benchmark",
"version": "49.11.0",
"version": "49.12.0",
"private": true,
"scripts": {
"benchmark": "NODE_ENV=production node benchmark.js"
Expand All @@ -10,6 +10,6 @@
"pg": "^8.22.0",
"pg-promise": "^11.15.0",
"postgres": "^3.4.7",
"slonik": "^49.11.0"
"slonik": "^49.12.0"
}
}
12 changes: 12 additions & 0 deletions packages/driver/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @slonik/driver

## 49.12.0

### Minor Changes

- [#824](https://github.com/gajus/slonik/pull/824) [`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437) Thanks [@gajus](https://github.com/gajus)! - add `typeParsers` option to `createSqlTag`: queries created by the tag override the pool's type parsers for the types they name, e.g. `createSqlTag({ typeParsers: [{ name: "numeric", parse: (value) => value }] })`. `slonik-interceptor-query-cache` does not cache queries that override type parsers.

### Patch Changes

- Updated dependencies [[`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437)]:
- @slonik/types@49.12.0
- @slonik/utilities@49.12.0

## 49.11.0

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/driver/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slonik/driver",
"version": "49.11.0",
"version": "49.12.0",
"description": "A Node.js PostgreSQL client with strict types, detailed logging and assertions.",
"keywords": [
"postgresql",
Expand Down Expand Up @@ -32,8 +32,8 @@
"test": "ava --verbose --serial"
},
"dependencies": {
"@slonik/types": "^49.11.0",
"@slonik/utilities": "^49.11.0",
"@slonik/types": "^49.12.0",
"@slonik/utilities": "^49.12.0",
"roarr": "^7.21.7",
"serialize-error": "^12.0.0",
"strict-event-emitter-types": "^2.0.0"
Expand Down
7 changes: 7 additions & 0 deletions packages/errors/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @slonik/errors

## 49.12.0

### Patch Changes

- Updated dependencies [[`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437)]:
- @slonik/types@49.12.0

## 49.11.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slonik/errors",
"version": "49.11.0",
"version": "49.12.0",
"description": "A Node.js PostgreSQL client with strict types, detailed logging and assertions.",
"keywords": [
"postgresql",
Expand Down Expand Up @@ -32,7 +32,7 @@
"test": "ava --verbose --serial"
},
"dependencies": {
"@slonik/types": "^49.11.0"
"@slonik/types": "^49.12.0"
},
"devDependencies": {
"@standard-schema/spec": "^1.0.0",
Expand Down
15 changes: 15 additions & 0 deletions packages/pg-driver/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @slonik/pg-driver

## 49.12.0

### Minor Changes

- [#824](https://github.com/gajus/slonik/pull/824) [`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437) Thanks [@gajus](https://github.com/gajus)! - add `typeParsers` option to `createSqlTag`: queries created by the tag override the pool's type parsers for the types they name, e.g. `createSqlTag({ typeParsers: [{ name: "numeric", parse: (value) => value }] })`. `slonik-interceptor-query-cache` does not cache queries that override type parsers.

### Patch Changes

- Updated dependencies [[`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437)]:
- @slonik/driver@49.12.0
- @slonik/sql-tag@49.12.0
- @slonik/types@49.12.0
- @slonik/errors@49.12.0
- @slonik/utilities@49.12.0

## 49.11.0

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/pg-driver/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slonik/pg-driver",
"version": "49.11.0",
"version": "49.12.0",
"description": "A Node.js PostgreSQL client with strict types, detailed logging and assertions.",
"keywords": [
"postgresql",
Expand Down Expand Up @@ -32,11 +32,11 @@
"test": "ava --verbose --serial"
},
"dependencies": {
"@slonik/driver": "^49.11.0",
"@slonik/errors": "^49.11.0",
"@slonik/sql-tag": "^49.11.0",
"@slonik/types": "^49.11.0",
"@slonik/utilities": "^49.11.0",
"@slonik/driver": "^49.12.0",
"@slonik/errors": "^49.12.0",
"@slonik/sql-tag": "^49.12.0",
"@slonik/types": "^49.12.0",
"@slonik/utilities": "^49.12.0",
"pg": "^8.22.0",
"pg-query-stream": "^4.12.0",
"pg-types": "^4.1.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/slonik-dataloaders/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @slonik/dataloaders

## 49.12.0

## 49.11.0

## 49.10.10
Expand Down
6 changes: 3 additions & 3 deletions packages/slonik-dataloaders/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slonik/dataloaders",
"version": "49.11.0",
"version": "49.12.0",
"description": "Utilities for creating DataLoaders using Slonik.",
"keywords": [
"interceptor",
Expand Down Expand Up @@ -31,10 +31,10 @@
"zod": "^4.3.6"
},
"devDependencies": {
"@slonik/types": "^49.11.0",
"@slonik/types": "^49.12.0",
"@standard-schema/spec": "^1.0.0",
"@types/node": "^24.10.13",
"slonik": "^49.11.0",
"slonik": "^49.12.0",
"typescript": "^5.9.3",
"vitest": "^4.0.18"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# slonik-interceptor-field-name-transformation

## 49.12.0

## 49.11.0

## 49.10.10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slonik-interceptor-field-name-transformation",
"version": "49.11.0",
"version": "49.12.0",
"description": "Transforms Slonik query result field names.",
"keywords": [
"format",
Expand Down Expand Up @@ -30,7 +30,7 @@
},
"devDependencies": {
"ava": "^6.4.1",
"slonik": "^49.11.0",
"slonik": "^49.12.0",
"tsimp": "^2.0.12",
"typescript": "^5.9.3"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/slonik-interceptor-query-cache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# slonik-interceptor-query-cache

## 49.12.0

### Minor Changes

- [#824](https://github.com/gajus/slonik/pull/824) [`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437) Thanks [@gajus](https://github.com/gajus)! - add `typeParsers` option to `createSqlTag`: queries created by the tag override the pool's type parsers for the types they name, e.g. `createSqlTag({ typeParsers: [{ name: "numeric", parse: (value) => value }] })`. `slonik-interceptor-query-cache` does not cache queries that override type parsers.

## 49.11.0

## 49.10.10
Expand Down
4 changes: 2 additions & 2 deletions packages/slonik-interceptor-query-cache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slonik-interceptor-query-cache",
"version": "49.11.0",
"version": "49.12.0",
"description": "Logs Slonik queries.",
"keywords": [
"interceptor",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"devDependencies": {
"ava": "^6.4.1",
"slonik": "^49.11.0",
"slonik": "^49.12.0",
"tsimp": "^2.0.12",
"typescript": "^5.9.3"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/slonik-interceptor-query-logging/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# slonik-interceptor-query-logging

## 49.12.0

## 49.11.0

## 49.10.10
Expand Down
4 changes: 2 additions & 2 deletions packages/slonik-interceptor-query-logging/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slonik-interceptor-query-logging",
"version": "49.11.0",
"version": "49.12.0",
"description": "Logs Slonik queries.",
"keywords": [
"interceptor",
Expand Down Expand Up @@ -33,7 +33,7 @@
"devDependencies": {
"@types/node": "^24.10.13",
"ava": "^6.4.1",
"slonik": "^49.11.0",
"slonik": "^49.12.0",
"tsimp": "^2.0.12",
"typescript": "^5.9.3"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/slonik-sql-tag-raw/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# slonik-sql-tag-raw

## 49.12.0

### Patch Changes

- Updated dependencies [[`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437)]:
- @slonik/sql-tag@49.12.0

## 49.11.0

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/slonik-sql-tag-raw/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slonik-sql-tag-raw",
"version": "49.11.0",
"version": "49.12.0",
"description": "Logs Slonik queries.",
"keywords": [
"interceptor",
Expand All @@ -26,13 +26,13 @@
"test": "ava --verbose --serial"
},
"dependencies": {
"@slonik/sql-tag": "^49.11.0",
"@slonik/sql-tag": "^49.12.0",
"roarr": "^7.21.7"
},
"devDependencies": {
"@types/node": "^24.10.13",
"ava": "^6.4.1",
"slonik": "^49.11.0",
"slonik": "^49.12.0",
"tsimp": "^2.0.12",
"typescript": "^5.9.3"
},
Expand Down
15 changes: 15 additions & 0 deletions packages/slonik/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# slonik

## 49.12.0

### Minor Changes

- [#824](https://github.com/gajus/slonik/pull/824) [`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437) Thanks [@gajus](https://github.com/gajus)! - add `typeParsers` option to `createSqlTag`: queries created by the tag override the pool's type parsers for the types they name, e.g. `createSqlTag({ typeParsers: [{ name: "numeric", parse: (value) => value }] })`. `slonik-interceptor-query-cache` does not cache queries that override type parsers.

### Patch Changes

- Updated dependencies [[`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437)]:
- @slonik/driver@49.12.0
- @slonik/pg-driver@49.12.0
- @slonik/sql-tag@49.12.0
- @slonik/errors@49.12.0
- @slonik/utilities@49.12.0

## 49.11.0

### Minor Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/slonik/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slonik",
"version": "49.11.0",
"version": "49.12.0",
"description": "A Node.js PostgreSQL client with strict types, detailed logging and assertions.",
"keywords": [
"postgresql",
Expand Down Expand Up @@ -33,11 +33,11 @@
},
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@slonik/driver": "^49.11.0",
"@slonik/errors": "^49.11.0",
"@slonik/pg-driver": "^49.11.0",
"@slonik/sql-tag": "^49.11.0",
"@slonik/utilities": "^49.11.0",
"@slonik/driver": "^49.12.0",
"@slonik/errors": "^49.12.0",
"@slonik/pg-driver": "^49.12.0",
"@slonik/sql-tag": "^49.12.0",
"@slonik/utilities": "^49.12.0",
"@standard-schema/spec": "^1.0.0",
"iso8601-duration": "^2.1.3",
"p-queue": "^9.3.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/sql-tag/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @slonik/sql-tag

## 49.12.0

### Minor Changes

- [#824](https://github.com/gajus/slonik/pull/824) [`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437) Thanks [@gajus](https://github.com/gajus)! - add `typeParsers` option to `createSqlTag`: queries created by the tag override the pool's type parsers for the types they name, e.g. `createSqlTag({ typeParsers: [{ name: "numeric", parse: (value) => value }] })`. `slonik-interceptor-query-cache` does not cache queries that override type parsers.

### Patch Changes

- Updated dependencies [[`3fb9109`](https://github.com/gajus/slonik/commit/3fb9109ae59f8d3d9cebc8ae833145d47392b437)]:
- @slonik/types@49.12.0
- @slonik/errors@49.12.0

## 49.11.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/sql-tag/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slonik/sql-tag",
"version": "49.11.0",
"version": "49.12.0",
"description": "A Node.js PostgreSQL client with strict types, detailed logging and assertions.",
"keywords": [
"postgresql",
Expand Down Expand Up @@ -32,8 +32,8 @@
"test": "ava --verbose --serial"
},
"dependencies": {
"@slonik/errors": "^49.11.0",
"@slonik/types": "^49.11.0",
"@slonik/errors": "^49.12.0",
"@slonik/types": "^49.12.0",
"roarr": "^7.21.7",
"safe-stable-stringify": "^2.5.0",
"serialize-error": "^12.0.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/test-ssls/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @slonik/test-ssls

## 49.12.0

## 49.11.0

## 49.10.10
Expand Down
2 changes: 1 addition & 1 deletion packages/test-ssls/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slonik/test-ssls",
"version": "49.11.0",
"version": "49.12.0",
"description": "SSLs used for testing Slonik.",
"license": "BSD-3-Clause",
"author": {
Expand Down
Loading