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
12 changes: 0 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@

## Unreleased

## 0.5.1 - 2026-11-01

### Changed

- Refresh the `tsx` runtime dependency to 4.23.15. No public API changes.

### Development

- Move first-party build and test tooling to Vite+ 1.4 and Vitest 5, and update
TypeScript 6 compatibility, Node types, PostgreSQL adapter test dependencies,
and package linting tools.

## 0.5.0 - 2026-10-12

### Breaking
Expand Down
1,317 changes: 615 additions & 702 deletions package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@askrjs/orm",
"version": "0.5.1",
"version": "0.5.0",
"description": "Postgres-first, SQL-shaped micro-ORM for Askr",
"keywords": [
"askr",
Expand Down Expand Up @@ -77,14 +77,14 @@
"devDependencies": {
"@types/node": "^26.6.6",
"@types/pg": "^8.23.1",
"@typescript/native": "npm:typescript@^7.0.2",
"@vitest/coverage-v8": "5.1.0",
"pg": "^8.23.1",
"pg-query-stream": "^4.17.1",
"publint": "^0.3.25",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vite-plus": "1.7.0",
"vitest": "5.1.0"
"@typescript/typescript6": "npm:typescript@6.0.2",
"@vitest/coverage-v8": "5.0.5",
"pg": "^8.23.0",
"pg-query-stream": "^4.17.0",
"publint": "^0.3.24",
"typescript": "7.0.2",
"vite-plus": "1.3.0",
"vitest": "5.0.5"
},
"peerDependencies": {
"pg": "^8.23.0",
Expand All @@ -99,8 +99,8 @@
}
},
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@8.3.8000",
"vitest": "5.1.0"
"vite": "npm:@voidzero-dev/vite-plus-core@1.3.0",
"vitest": "5.0.5"
},
"engines": {
"node": ">=24.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/sqlite.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assertCodecConformance } from "./codec-conformance.fixture";
import { createDatabaseClient } from "./client";
import { assertCodecConformance } from "./codec-conformance.fixture";
import { mkdtemp, rm } from "node:fs/promises";
import { tmpdir } from "node:os";
import { DatabaseSync } from "node:sqlite";
Expand Down
2 changes: 1 addition & 1 deletion src/tooling.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from "node:fs/promises";
import os from "node:os";
import path from "node:path";
import ts from "typescript";
import ts from "@typescript/typescript6";
import { afterEach, describe, expect, it } from "vite-plus/test";
import {
bigInt,
Expand Down
4 changes: 2 additions & 2 deletions tests/packed-contract.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { execFileSync } from "node:child_process";
import fs from "node:fs/promises";
import os from "node:os";
import path from "node:path";
import ts from "typescript";
import ts from "@typescript/typescript6";

const root = process.cwd();
const contract = JSON.parse(await fs.readFile("tests/public-contract.json", "utf8"));
Expand Down Expand Up @@ -175,7 +175,7 @@ void [generated, codec, postgresOptions, invalidPool, sqliteOptions];\n`,
);
execFileSync(
process.execPath,
[path.join(root, "node_modules/@typescript/native/bin/tsc"), "--project", "tsconfig.json"],
[path.join(root, "node_modules/typescript/bin/tsc"), "--project", "tsconfig.json"],
{ cwd: consumer, stdio: "pipe", encoding: "utf8" },
);
const options = {
Expand Down
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export default defineConfig({
unbundle: true,
outExtensions: () => ({ js: ".js" }),
deps: {
// tsdown <0.23 compatibility: resolve external dependency subpaths.
// Remove to preserve subpath imports as written (the new default).
// https://tsdown.dev/options/dependencies#deps-resolvedepsubpath
resolveDepSubpath: true,
neverBundle: ["pg", "pg-query-stream", "tsx/esm/api", "typescript"],
},
},
Expand Down
Loading