From 6e3359dd16aced2f6fca2a8e2de71f09e0bcb3cb Mon Sep 17 00:00:00 2001 From: robobun Date: Thu, 9 Oct 2025 06:30:35 -0700 Subject: [PATCH] Bump version to 1.3.0 (#23401) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What does this PR do? Bumps Bun version from 1.2.24 to 1.3.0, marking the start of the 1.3.x release series. ## Changes - **`package.json`**: Updated version from `1.2.24` to `1.3.0` - **`LATEST`**: Updated from `1.2.23` to `1.3.0` (used by installation scripts) - **`test/bundler/bundler_bun.test.ts`**: Updated version check to include `1.3.x` so export conditions tests continue to run ## Verification ✅ Debug build successful showing version `1.3.0-debug` ✅ All platforms compile successfully via `bun run zig:check-all` (49/49 steps) ✅ Bundler tests pass with updated version check ## Additional Notes - CI workflow Bun versions (e.g., `1.2.3`, `1.2.0` in `.github/workflows/release.yml`) are intentionally left unchanged - these are pinned versions used to run the release tooling, not the version being released - Docker images use `ARG BUN_VERSION` passed at build time and don't need updates - The actual release version comes from git tags via `${{ env.BUN_VERSION }}` --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --------- Co-authored-by: Claude Bot Co-authored-by: Claude Co-authored-by: Jarred Sumner --- LATEST | 2 +- package.json | 2 +- src/bun.js/test/ScopeFunctions.zig | 2 +- src/bun.js/test/expect.zig | 2 +- test/bundler/bundler_bun.test.ts | 2 +- test/js/bun/test/ci-restrictions.test.ts | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/LATEST b/LATEST index a93a6f7571..f0bb29e763 100644 --- a/LATEST +++ b/LATEST @@ -1 +1 @@ -1.2.23 +1.3.0 diff --git a/package.json b/package.json index 372a9d596e..49133e9dae 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "bun", - "version": "1.2.24", + "version": "1.3.0", "workspaces": [ "./packages/bun-types", "./packages/@types/bun" diff --git a/src/bun.js/test/ScopeFunctions.zig b/src/bun.js/test/ScopeFunctions.zig index 599b1ae14c..4f856a6e45 100644 --- a/src/bun.js/test/ScopeFunctions.zig +++ b/src/bun.js/test/ScopeFunctions.zig @@ -279,7 +279,7 @@ fn genericExtend(this: *ScopeFunctions, globalThis: *JSGlobalObject, cfg: bun_te fn errorInCI(globalThis: *jsc.JSGlobalObject, signature: []const u8) bun.JSError!void { if (bun.detectCI()) |_| { - return globalThis.throwPretty("{s} is not allowed in CI environments.\nIf this is not a CI environment, set the environment variable CI=false to force allow.", .{signature}); + return globalThis.throwPretty("{s} is disabled in CI environments to prevent accidentally skipping tests. To override, set the environment variable CI=false.", .{signature}); } } diff --git a/src/bun.js/test/expect.zig b/src/bun.js/test/expect.zig index acfec2bf32..4f0a1ae4ca 100644 --- a/src/bun.js/test/expect.zig +++ b/src/bun.js/test/expect.zig @@ -747,7 +747,7 @@ pub const Expect = struct { if (bun.detectCI()) |_| { if (!update) { const signature = comptime getSignature(fn_name, "", false); - return this.throw(globalThis, signature, "\n\nMatcher error: Inline snapshot updates are not allowed in CI environments unless --update-snapshots is used\nIf this is not a CI environment, set the environment variable CI=false to force allow.", .{}); + return this.throw(globalThis, signature, "\n\nMatcher error: Updating inline snapshots is disabled in CI environments unless --update-snapshots is used.\nTo override, set the environment variable CI=false.", .{}); } } var buntest_strong = this.bunTest() orelse { diff --git a/test/bundler/bundler_bun.test.ts b/test/bundler/bundler_bun.test.ts index f8cd17a7f1..1034e8286b 100644 --- a/test/bundler/bundler_bun.test.ts +++ b/test/bundler/bundler_bun.test.ts @@ -137,7 +137,7 @@ error: Hello World`, }, run: { stdout: "" }, }); - if (Bun.version.startsWith("1.2")) { + if (Bun.version.startsWith("1.3") || Bun.version.startsWith("1.2")) { for (const backend of ["api", "cli"] as const) { itBundled("bun/ExportsConditionsDevelopment" + backend.toUpperCase(), { files: { diff --git a/test/js/bun/test/ci-restrictions.test.ts b/test/js/bun/test/ci-restrictions.test.ts index bc13db7d98..70725a3d41 100644 --- a/test/js/bun/test/ci-restrictions.test.ts +++ b/test/js/bun/test/ci-restrictions.test.ts @@ -55,7 +55,7 @@ test.only("should fail in CI", () => { expect(exitCode).toBe(1); expect(stderr).toContain( - "error: test.only is not allowed in CI environments\nIf this is not a CI environment, set the environment variable CI=false to force allow.", + "error: .only is disabled in CI environments to prevent accidentally skipping tests. To override, set the environment variable CI=false.", ); }); @@ -84,7 +84,7 @@ describe.only("CI test", () => { expect(exitCode).toBe(1); expect(stderr).toContain( - "error: describe.only is not allowed in CI environments\nIf this is not a CI environment, set the environment variable CI=false to force allow.", + "error: .only is disabled in CI environments to prevent accidentally skipping tests. To override, set the environment variable CI=false.", ); }); }); @@ -246,7 +246,7 @@ test("new inline snapshot", () => { const [stdout, stderr, exitCode] = await Promise.all([proc.stdout.text(), proc.stderr.text(), proc.exited]); expect(exitCode).toBe(1); - expect(stderr).toContain("Inline snapshot updates are not allowed in CI environments"); + expect(stderr).toContain("Updating inline snapshots is disabled in CI environments"); }); test("toMatchInlineSnapshot should work for new inline snapshots when CI=false", async () => {