Skip to content
Draft
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 .buildkite/basic/cloudflare-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ steps:
agents:
queue: macos-15-isolated
env:
NODE_VERSION: "22"
NODE_VERSION: "24"
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
VERBOSE: "1"
commands:
Expand Down
1 change: 1 addition & 0 deletions .buildkite/basic/node-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ steps:
- 18
- 20
- 22
- 24
plugins:
docker-compose#v4.12.0:
run: node-maze-runner
Expand Down
8 changes: 4 additions & 4 deletions .buildkite/basic/react-native-android-full-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ steps:
java:
- "17"
node:
- "22"
- "24"
adjustments:
- with:
reactnative: "0.68"
Expand All @@ -59,7 +59,7 @@ steps:
queue: macos-15
env:
JAVA_VERSION: "17"
NODE_VERSION: "22"
NODE_VERSION: "24"
RN_VERSION: "{{matrix.reactnative}}"
RCT_NEW_ARCH_ENABLED: "1"
BUILD_ANDROID: "true"
Expand Down Expand Up @@ -97,7 +97,7 @@ steps:
queue: macos-node-22
env:
JAVA_VERSION: "17"
NODE_VERSION: "22"
NODE_VERSION: "24"
RN_VERSION: "{{matrix}}"
RCT_NEW_ARCH_ENABLED: "0"
BUILD_ANDROID: "true"
Expand All @@ -122,7 +122,7 @@ steps:
queue: macos-node-22
env:
JAVA_VERSION: "17"
NODE_VERSION: "22"
NODE_VERSION: "24"
RN_VERSION: "{{matrix}}"
RCT_NEW_ARCH_ENABLED: "1"
BUILD_ANDROID: "true"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/basic/react-native-android-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
env:
JAVA_VERSION: "17"
RN_VERSION: "{{matrix}}"
NODE_VERSION: "22"
NODE_VERSION: "24"
RCT_NEW_ARCH_ENABLED: "1"
BUILD_ANDROID: "true"
REACT_NAVIGATION: "true"
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/basic/react-native-cli-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
queue: "macos-15-isolated"
env:
JAVA_VERSION: "17"
NODE_VERSION: "22"
NODE_VERSION: "24"
RN_VERSION: "{{matrix}}"
RCT_NEW_ARCH_ENABLED: "1"
BUILD_ANDROID: "true"
Expand All @@ -40,7 +40,7 @@ steps:
agents:
queue: "macos-15-isolated"
env:
NODE_VERSION: "22"
NODE_VERSION: "24"
RN_VERSION: "{{matrix}}"
RCT_NEW_ARCH_ENABLED: "1"
BUILD_IOS: "true"
Expand Down
6 changes: 3 additions & 3 deletions .buildkite/basic/react-native-ios-full-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ steps:
- "0.81"

node:
- "22"
- "24"
adjustments:
- with:
reactnative: "0.68"
Expand All @@ -56,7 +56,7 @@ steps:
agents:
queue: "macos-15"
env:
NODE_VERSION: "22"
NODE_VERSION: "24"
RN_VERSION: "{{matrix.reactnative}}"
RCT_NEW_ARCH_ENABLED: "1"
BUILD_IOS: "true"
Expand Down Expand Up @@ -93,7 +93,7 @@ steps:
agents:
queue: "macos-15"
env:
NODE_VERSION: "22"
NODE_VERSION: "24"
RN_VERSION: "{{matrix}}"
RCT_NEW_ARCH_ENABLED: "0"
BUILD_IOS: "true"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/basic/react-native-ios-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ steps:
queue: "macos-15"
env:
RN_VERSION: "{{matrix}}"
NODE_VERSION: "22"
NODE_VERSION: "24"
RCT_NEW_ARCH_ENABLED: "1"
BUILD_IOS: "true"
XCODE_VERSION: "16.2.0"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ steps:
agents:
queue: "macos-node-22"
env:
NODE_VERSION: "22"
NODE_VERSION: "24"
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
command:
- "bundle install"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aws-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22
node-version: 24

- name: Run tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Here’s a bit about our process designing and building the Bugsnag libraries:
## System requirements

In order to develop on the project you’ll need to be on Mac/Linux٭. You’ll need:
- [node](https://nodejs.org) `v8+` (which includes [npm](https://www.npmjs.com/get-npm) 5+)
- [node](https://nodejs.org) `v24` (which includes [npm](https://www.npmjs.com/get-npm) v11)
- [git](https://git-scm.com/)

If you want to run the end-to-end tests locally you'll need [Docker](https://www.docker.com/products/docker-desktop) (including Docker Compose), and the [AWS CLI](https://aws.amazon.com/cli/). Note that you'll also need some BrowserStack and AWS credentials which are only available to Bugsnag employees.
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = api => {
plugins.push('@babel/plugin-transform-modules-commonjs')
plugins.push('@babel/plugin-proposal-optional-chaining')
overrides.push({
test: 'node_modules/react-native/**/*',
test: ['node_modules/react-native/**/*', 'node_modules/@react-native/**/*'],
presets: ['module:metro-react-native-babel-preset']
})
overrides.push({
Expand Down
2 changes: 1 addition & 1 deletion bin/local-test-util
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ async function init () {

async function update () {
try {
await updateNotifiers()
await installFixtureDeps()
await updateNotifiers()
await buildFixtures()
} catch (e) {
console.log(e)
Expand Down
12 changes: 9 additions & 3 deletions dockerfiles/Dockerfile.browser
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# CI test image for unit/lint/type tests
FROM node:22-alpine@sha256:4d64b49e6c891c8fc821007cb1cdc6c0db7773110ac2c34bf2e6960adef62ed3 AS browser-feature-builder
FROM node:24-alpine@sha256:01743339035a5c3c11a373cd7c83aeab6ed1457b55da6a69e014a95ac4e4700b AS browser-feature-builder

RUN apk add --update bash python3 make gcc g++ musl-dev xvfb-run curl

Expand All @@ -25,6 +25,12 @@ RUN npm pack --verbose packages/web-worker/

COPY test/browser/features test/browser/features
WORKDIR /app/test/browser/features/fixtures

# install the dependencies for each fixture
RUN find . -name package.json -type f -mindepth 2 -maxdepth 3 ! -path "./node_modules/*" | \
xargs -I % bash -c 'cd `dirname %` && npm install --no-package-lock'

# install bugsnag dependencies
RUN npm install --no-package-lock --no-save \
../../../../bugsnag-browser-*.tgz \
../../../../bugsnag-plugin-react-*.tgz \
Expand All @@ -45,10 +51,10 @@ RUN npm install --no-package-lock --no-save \
../../../../../../bugsnag-browser-*.tgz \
../../../../../../bugsnag-js-*.tgz

# install the dependencies and build each fixture
# build each fixture
WORKDIR /app/test/browser/features/fixtures
RUN find . -name package.json -type f -mindepth 2 -maxdepth 3 ! -path "./node_modules/*" | \
xargs -I % bash -c 'cd `dirname %` && npm install --no-package-lock && npm run build'
xargs -I % bash -c 'cd `dirname %` && npm run build'

# once the fixtures are built we no longer need node_modules and
# it makes the COPY later on much faster if we don't have them
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.ci
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# CI test image for unit/lint/type tests
FROM node:22-alpine@sha256:4d64b49e6c891c8fc821007cb1cdc6c0db7773110ac2c34bf2e6960adef62ed3
FROM node:24-alpine@sha256:01743339035a5c3c11a373cd7c83aeab6ed1457b55da6a69e014a95ac4e4700b

RUN apk add --update bash python3 make gcc g++ musl-dev xvfb-run curl

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.node
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# CI test image for unit/lint/type tests
FROM node:22-alpine@sha256:4d64b49e6c891c8fc821007cb1cdc6c0db7773110ac2c34bf2e6960adef62ed3 AS node-feature-builder
FROM node:24-alpine@sha256:01743339035a5c3c11a373cd7c83aeab6ed1457b55da6a69e014a95ac4e4700b AS node-feature-builder

RUN apk add --update bash python3 make gcc g++ musl-dev xvfb-run curl

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22-alpine@sha256:4d64b49e6c891c8fc821007cb1cdc6c0db7773110ac2c34bf2e6960adef62ed3
FROM node:24-alpine@sha256:01743339035a5c3c11a373cd7c83aeab6ed1457b55da6a69e014a95ac4e4700b

COPY ./zscaler-root-ca.crt* /usr/local/share/ca-certificates/
RUN if [ -f /usr/local/share/ca-certificates/zscaler-root-ca.crt ]; then cat /usr/local/share/ca-certificates/zscaler-root-ca.crt >> /etc/ssl/certs/ca-certificates.crt; fi
Expand Down
Loading
Loading