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
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -503,11 +503,16 @@ jobs:
if: github.event_name != 'pull_request'

job_bun_unit_tests:
name: Bun Unit Tests
name: Bun (${{ matrix.bun }}) Unit Tests
needs: [job_get_metadata, job_build]
if: needs.job_build.outputs.changed_bun == 'true' || github.event_name != 'pull_request'
timeout-minutes: 10
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
# 1.3.14 is the oldest supported Bun version
bun: ['1.3.14', '1.4']
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
uses: actions/checkout@v7
Expand All @@ -520,7 +525,7 @@ jobs:
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: '1.3.14'
bun-version: ${{ matrix.bun }}
- name: Restore caches
uses: ./.github/actions/restore-cache
with:
Expand Down Expand Up @@ -904,14 +909,16 @@ jobs:
run: yarn test

job_bun_integration_tests:
name: Bun Integration Tests (${{ matrix.shard }}/2)
name: Bun (${{ matrix.bun }}) Integration Tests (${{ matrix.shard }}/2)
needs: [job_get_metadata, job_build]
if: needs.job_build.outputs.changed_bun_integration == 'true' || github.event_name != 'pull_request'
runs-on: ubuntu-24.04
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
# 1.3.14 is the oldest supported Bun version
bun: ['1.3.14', '1.4']
shard: [1, 2]
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
Comment thread
JPeer264 marked this conversation as resolved.
Expand All @@ -925,7 +932,7 @@ jobs:
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: '1.3.14'
bun-version: ${{ matrix.bun }}
- name: Restore caches
uses: ./.github/actions/restore-cache
with:
Expand Down
2 changes: 2 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Version 11 of the Sentry SDK has new compatibility ranges for runtimes and frame

**Deno:** The minimum supported Deno version is now **2.8.3**.

**Bun:** The minimum supported Bun version is now **1.3.14**.

**Browsers:** Support for **Safari 14** was dropped. Sentry now requires Safari 15 or higher. For the rest of the browser support matrix, refer to the [Sentry docs](https://docs.sentry.io/platforms/javascript/#browser-support).

### TypeScript Version Policy
Expand Down
3 changes: 2 additions & 1 deletion packages/bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0",
"bun": ">=1.3.14"
},
"files": [
"/build"
Expand Down
Loading