Skip to content

Commit 3259624

Browse files
cevhericlaude
andauthored
chore: upgrade Node 24.16.0 + Bun 1.3.14, better-sqlite3 12.10.1, clarify Docker registry strategy (#65)
* docs: add session summary for platform integration fixes Documents root causes, solutions, and lessons learned from the studio↔platform integration debugging session (2026-03-27). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore(deps): update Node.js version to 24.16.0 * chore(deps): update better-sqlite3 to version 12.10.1 and change Node.js base image to 24.16.0-trixie-slim * chore(docs): update Node.js version in CONTRIBUTING.md to 24 * chore(docs): update Node.js/Bun version in bug report template to 1.3.14 and 24.16.0 * chore(docs): update Bun version in test plans to 1.3.14 * chore(docs): clarify primary Docker image registry and update related documentation * chore(docs): add enterprise features roadmap and Kubernetes Helm chart setup documentation * docs: consolidate overlapping docs and archive shipped plans - Merge STORAGE_ARCHITECTURE.md + STORAGE_QUICK_SETUP.md → STORAGE.md (setup-first, then architecture) - Merge OIDC_SETUP.md + OIDC_ARCH.md → OIDC.md (setup-first, then architecture) - Merge orphaned adding-a-new-database-provider.md into DATABASE_PROVIDERS.md - Archive shipped implementation plans: AI_PLAN.md, POSTGRES_METRICS.md → docs/archived/ - Update README OIDC links to the consolidated OIDC.md Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent bf772a9 commit 3259624

26 files changed

Lines changed: 1488 additions & 1507 deletions

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Please provide the following information:
3030
- **LibreDB Studio Version**: (e.g., 0.5.4)
3131
- **Browser**: (e.g., Chrome 120, Firefox 121, Safari 17)
3232
- **OS**: (e.g., macOS 14, Windows 11, Ubuntu 22.04)
33-
- **Node.js/Bun Version**: (e.g., Bun 1.0.0, Node.js 20.10.0)
33+
- **Node.js/Bun Version**: (e.g., Bun 1.3.14, Node.js 24.16.0)
3434
- **Database Type**: (e.g., PostgreSQL 15, MySQL 8.0, SQLite 3.42, MongoDB 7.0)
3535
- **Database Version**: (e.g., PostgreSQL 15.3)
3636

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Bun
2525
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
2626
with:
27-
bun-version: "1.3.9"
27+
bun-version: "1.3.14"
2828

2929
- name: Install dependencies
3030
run: bun install --frozen-lockfile
@@ -56,7 +56,7 @@ jobs:
5656
- name: Setup Bun
5757
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
5858
with:
59-
bun-version: "1.3.9"
59+
bun-version: "1.3.14"
6060

6161
- name: Install dependencies
6262
run: bun install --frozen-lockfile
@@ -88,7 +88,7 @@ jobs:
8888
- name: Setup Bun
8989
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
9090
with:
91-
bun-version: "1.3.9"
91+
bun-version: "1.3.14"
9292

9393
- name: Install dependencies
9494
run: bun install --frozen-lockfile

.github/workflows/docker-build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Bun
4343
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
4444
with:
45-
bun-version: latest
45+
bun-version: "1.3.14"
4646

4747
- name: Install dependencies
4848
run: bun install --frozen-lockfile

.github/workflows/integration-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Bun
2222
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
2323
with:
24-
bun-version: "1.3.9"
24+
bun-version: "1.3.14"
2525

2626
- name: Install dependencies
2727
run: bun install --frozen-lockfile

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Bun
3131
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
3232
with:
33-
bun-version: "1.3.9"
33+
bun-version: "1.3.14"
3434

3535
- name: Install dependencies
3636
run: bun install --frozen-lockfile
@@ -65,12 +65,12 @@ jobs:
6565
- name: Setup Bun
6666
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
6767
with:
68-
bun-version: "1.3.9"
68+
bun-version: "1.3.14"
6969

7070
- name: Setup Node.js
7171
uses: actions/setup-node@v4
7272
with:
73-
node-version: '22'
73+
node-version: '24.16.0'
7474
registry-url: 'https://registry.npmjs.org'
7575

7676
- name: Install dependencies

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24.16.0

CLAUDE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ LibreDB Studio is a web-based SQL IDE for cloud-native teams. It supports Postgr
1414

1515
## Github
1616
* Repository: https://github.com/libredb/libredb-studio
17-
* Container Registry: https://github.com/libredb/libredb-studio/pkgs/container/libredb-studio
18-
* Docker Image: ghcr.io/libredb/libredb-studio:latest
17+
* Container Registry (primary): https://github.com/libredb/libredb-studio/pkgs/container/libredb-studio
18+
* Docker Image (primary): ghcr.io/libredb/libredb-studio:latest — no pull rate limits, use in all copy-paste examples
19+
* Docker Hub (mirror): https://hub.docker.com/r/libredb/libredb-studio`libredb/libredb-studio` (convenience/discoverability only; GHCR stays canonical)
1920
* Helm Chart: https://artifacthub.io/packages/helm/libredb-studio/libredb-studio
2021
* Helm Repo: https://libredb.org/libredb-studio/
2122
* Helm OCI: oci://ghcr.io/libredb/charts/libredb-studio

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Feature suggestions are welcome! Please provide:
3939

4040
### Prerequisites
4141

42-
- [Bun](https://bun.sh/) (recommended) or Node.js 20+
42+
- [Bun](https://bun.sh/) (recommended) or Node.js 24+
4343
- Git
4444

4545
### Getting Started

DOCKERHUB.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ A ready-to-use, fully-commented compose file is in the repo: [`docker-compose.ex
7979
| `sha-<commit>` | every build | Exact immutable commit |
8080

8181
- **Architectures:** `linux/amd64`, `linux/arm64` (multi-arch manifest).
82-
- **Also on GHCR:** `ghcr.io/libredb/libredb-studio` (canonical mirror, no pull rate limitspreferred for Kubernetes).
82+
- **Primary registry:** `ghcr.io/libredb/libredb-studio` (GitHub Container Registry — no pull rate limits, preferred for Kubernetes/CI). This Docker Hub repository is a convenience mirror for discoverability; both registries serve the identical multi-arch image.
8383

8484
---
8585

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
# Bun for fast dependency installation, Node.js for build
77
# Bun's JIT compiler segfaults under QEMU emulation (ARM64 cross-build),
88
# so we use Node.js for the Next.js build step.
9-
FROM oven/bun:1 AS deps
9+
FROM oven/bun:1.3.14 AS deps
1010
WORKDIR /usr/src/app
1111
RUN apt-get update && apt-get install -y python3 make g++ --no-install-recommends && rm -rf /var/lib/apt/lists/*
1212
COPY package.json bun.lock ./
1313
RUN bun install --frozen-lockfile
1414

1515
# Build with Node.js to avoid Bun/QEMU segfaults on ARM64
16-
FROM node:20-slim AS builder
16+
# trixie-slim: must match the oven/bun deps stage glibc (Debian 13 / glibc 2.41),
17+
# otherwise native modules (better-sqlite3) compiled in deps fail to load here.
18+
FROM node:24.16.0-trixie-slim AS builder
1719
WORKDIR /usr/src/app
1820
COPY --from=deps /usr/src/app/node_modules ./node_modules
1921
COPY . .
@@ -31,7 +33,8 @@ ENV USER_PASSWORD=$USER_PASSWORD_BUILD
3133
RUN npx next build
3234

3335
# Production image - use Node.js slim for lower memory footprint
34-
FROM node:20-slim AS runner
36+
# trixie-slim: glibc must match the stage where native modules were built (see builder).
37+
FROM node:24.16.0-trixie-slim AS runner
3538
WORKDIR /app
3639

3740
ENV NODE_ENV=production

0 commit comments

Comments
 (0)