Skip to content
Open
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
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oven/bun:1.3.14-alpine
FROM oven/bun:1.4.0-alpine

# Install necessary packages for development
RUN apk add --no-cache \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Cache Bun dependencies
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
Expand Down Expand Up @@ -657,7 +657,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Install dependencies
run: bun install --frozen-lockfile --ignore-scripts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/desktop-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-embeddings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

# Docker Compose and Kubernetes must run the same background jobs on the
# same schedules; this fails the build if the two drift apart. The script
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Cache Bun dependencies
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Setup Node.js for npm publishing
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-sim-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-sim-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-ts-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Setup Node.js for npm publishing
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.0

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "module",
"main": "dist/main.cjs",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion apps/realtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache-2.0",
"type": "module",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions apps/sim/lib/core/utils/fetch-deadline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ import { Agent, type Dispatcher } from 'undici'
* timeout: false -> RESOLVED 310031ms <- disarmed
* timeout: 1000 -> RESOLVED 3008ms on a 3s request <- numeric ignored
*
* Re-checked on Bun 1.4.0: `timeout: 1000` against a 3s-delayed response still
* resolves at ~3s rather than throwing at 1s — the numeric form is still
* ignored, so nothing below changed with that bump.
*
* So a positive numeric `timeout` silently changes nothing on this version; the
* numeric idle-deadline form and `BUN_CONFIG_HTTP_IDLE_TIMEOUT` both exist only
* on Bun's `main`. Do not "improve" this into a numeric pass-through until the
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=22.19.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/scripts/pi-sandbox-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

/** Bun version mirrored from the root packageManager field. */
export const PI_BUN_VERSION = '1.3.14'
export const PI_BUN_VERSION = '1.4.0'

/** Exact global package versions mirrored from package.json and bun.lock. */
export const PI_GLOBAL_NPM_PACKAGES = [
Expand Down
2 changes: 1 addition & 1 deletion docker/app.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ========================================
# Base Stage: runtime-only dependencies (inherited by the final image)
# ========================================
FROM oven/bun:1.3.14-slim AS base
FROM oven/bun:1.4.0-slim AS base

# Install Node.js 24 (Active LTS) and the runtime dependencies once in base.
# Node runs only the isolated-vm sandbox worker (the app itself runs under Bun);
Expand Down
2 changes: 1 addition & 1 deletion docker/db.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ========================================
# Base Stage: Alpine Linux with Bun
# ========================================
FROM oven/bun:1.3.14-alpine AS base
FROM oven/bun:1.4.0-alpine AS base

# ========================================
# Dependencies Stage: Install Dependencies
Expand Down
2 changes: 1 addition & 1 deletion docker/realtime.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ========================================
# Base Stage: Alpine Linux with Bun
# ========================================
FROM oven/bun:1.3.14-alpine AS base
FROM oven/bun:1.4.0-alpine AS base

RUN apk add --no-cache libc6-compat curl

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simstudio",
"packageManager": "bun@1.3.14",
"packageManager": "bun@1.4.0",
"version": "0.0.0",
"private": true,
"license": "Apache-2.0",
Expand Down Expand Up @@ -58,6 +58,8 @@
"check:icon-path-precision": "bun run scripts/check-icon-path-precision.ts",
"check:migrations": "bun run scripts/check-migrations-safety.ts",
"check:native-typecheck": "bun run scripts/check-native-typecheck.ts",
"check:bun-websocket-upgrade": "bun run scripts/check-bun-websocket-upgrade.ts",
"check:bun-version-pins": "bun run scripts/check-bun-version-pins.ts",
"check:source-text": "bun run scripts/check-source-text.ts",
"check:spec-example-ids": "bun run scripts/check-spec-example-ids.ts",
"check:script-tests": "bun run scripts/check-script-test-coverage.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/audit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/browser-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/emcn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-authz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/realtime-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime-secrets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/security/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/terminal-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/workflow-persistence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/workflow-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/workflow-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.0",
"node": ">=20.0.0"
},
"exports": {
Expand Down
Loading