Skip to content

Commit dbde591

Browse files
authored
Merge branch 'main' into alwx/experiment/cirrus-labs-for-everythin
2 parents f02d8d2 + 80b0585 commit dbde591

24 files changed

Lines changed: 197 additions & 129 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Cancel PR Workflows
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
7+
jobs:
8+
cancel:
9+
name: Cancel In-Progress Workflows
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Cancel in-progress workflow runs
13+
uses: actions/github-script@v7
14+
with:
15+
script: |
16+
const { owner, repo } = context.repo;
17+
const branch = context.payload.pull_request.head.ref;
18+
19+
const workflows = await github.rest.actions.listWorkflowRunsForRepo({
20+
owner,
21+
repo,
22+
branch,
23+
status: 'in_progress',
24+
});
25+
26+
const waitingWorkflows = await github.rest.actions.listWorkflowRunsForRepo({
27+
owner,
28+
repo,
29+
branch,
30+
status: 'queued',
31+
});
32+
33+
const runs = [...workflows.data.workflow_runs, ...waitingWorkflows.data.workflow_runs];
34+
35+
for (const run of runs) {
36+
if (run.id === context.runId) {
37+
continue;
38+
}
39+
try {
40+
console.log(`Cancelling run ${run.id} (${run.name})`);
41+
await github.rest.actions.cancelWorkflowRun({
42+
owner,
43+
repo,
44+
run_id: run.id,
45+
});
46+
} catch (error) {
47+
console.log(`Failed to cancel run ${run.id}: ${error.message}`);
48+
}
49+
}
50+
51+
console.log(`Cancelled ${runs.length > 1 ? runs.length - 1 : 0} workflow run(s) for branch ${branch}`);

CHANGELOG.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,17 @@
88
99
## Unreleased
1010

11+
### Dependencies
12+
13+
- Bump JavaScript SDK from v10.39.0 to v10.40.0 ([#5715](https://github.com/getsentry/sentry-react-native/pull/5715))
14+
- [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#10400)
15+
- [diff](https://github.com/getsentry/sentry-javascript/compare/10.39.0...10.40.0)
16+
17+
## 8.2.0
18+
1119
### Fixes
1220

21+
- Fix AGP Artifacts API conflict caused by eager task realization in `sentry.gradle` ([#5714](https://github.com/getsentry/sentry-react-native/pull/5714))
1322
- Fix Android crash on app launch caused by version mismatch between Sentry Android SDK and Sentry Android Gradle Plugin ([#5726](https://github.com/getsentry/sentry-react-native/pull/5726))
1423

1524
### Dependencies
@@ -20,9 +29,9 @@
2029
- Bump Android SDK Stubs from v8.32.0 to v8.33.0 ([#5697](https://github.com/getsentry/sentry-react-native/pull/5697))
2130
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#8330)
2231
- [diff](https://github.com/getsentry/sentry-java/compare/8.32.0...8.33.0)
23-
- Bump Cocoa SDK from v9.4.1 to v9.5.0 ([#5685](https://github.com/getsentry/sentry-react-native/pull/5685))
24-
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#950)
25-
- [diff](https://github.com/getsentry/sentry-cocoa/compare/9.4.1...9.5.0)
32+
- Bump Cocoa SDK from v9.4.1 to v9.5.1 ([#5685](https://github.com/getsentry/sentry-react-native/pull/5685), [#5724](https://github.com/getsentry/sentry-react-native/pull/5724))
33+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#951)
34+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/9.4.1...9.5.1)
2635
- Bump CLI from v3.2.0 to v3.2.2 ([#5692](https://github.com/getsentry/sentry-react-native/pull/5692))
2736
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#322)
2837
- [diff](https://github.com/getsentry/sentry-cli/compare/3.2.0...3.2.2)

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,5 @@ If you are coming from `react-native-sentry` which was our SDK `< 1.0` you shoul
9595
- [![Documentation](https://img.shields.io/badge/documentation-sentry.io-green.svg)](https://docs.sentry.io/platforms/react-native/)
9696
- [![Discussions](https://img.shields.io/github/discussions/getsentry/sentry-react-native.svg)](https://github.com/getsentry/sentry-react-native/discussions)
9797
- [![Discord Chat](https://img.shields.io/discord/621778831602221064?logo=discord&logoColor=ffffff&color=7389D8)](https://discord.gg/PXa5Apfe7K)
98-
- [![Stack Overflow](https://img.shields.io/badge/stack%20overflow-sentry-green.svg)](http://stackoverflow.com/questions/tagged/sentry)
9998
- [![Code of Conduct](https://img.shields.io/badge/code%20of%20conduct-sentry-green.svg)](https://github.com/getsentry/.github/blob/main/CODE_OF_CONDUCT.md)
10099
- [![X Follow](https://img.shields.io/twitter/follow/sentry?label=sentry&style=social)](https://x.com/intent/follow?screen_name=sentry)

SDK-VERSIONS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ To manually update the table with the current version, run `./scripts/update-sdk
1212

1313
| React Native SDK | Android SDK | Cocoa SDK | JavaScript SDK |
1414
| ---------------- | ----------- | --------- | -------------- |
15+
| [8.2.0](https://github.com/getsentry/sentry-react-native/releases/tag/8.2.0) | [8.33.0](https://github.com/getsentry/sentry-java/releases/tag/8.33.0) | [9.5.1](https://github.com/getsentry/sentry-cocoa/releases/tag/9.5.1) | [10.39.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.39.0) |
1516
| [8.1.0](https://github.com/getsentry/sentry-react-native/releases/tag/8.1.0) | [8.32.0](https://github.com/getsentry/sentry-java/releases/tag/8.32.0) | [9.4.1](https://github.com/getsentry/sentry-cocoa/releases/tag/9.4.1) | [10.39.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.39.0) |
1617
| [8.0.0](https://github.com/getsentry/sentry-react-native/releases/tag/8.0.0) | [8.32.0](https://github.com/getsentry/sentry-java/releases/tag/8.32.0) | [9.4.1](https://github.com/getsentry/sentry-cocoa/releases/tag/9.4.1) | [10.38.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.38.0) |
1718
| [7.13.0](https://github.com/getsentry/sentry-react-native/releases/tag/7.13.0) | [8.32.0](https://github.com/getsentry/sentry-java/releases/tag/8.32.0) | [8.58.0](https://github.com/getsentry/sentry-cocoa/releases/tag/8.58.0) | [10.38.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.38.0) |

dev-packages/e2e-tests/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-e2e-tests",
3-
"version": "8.1.0",
3+
"version": "8.2.0",
44
"private": true,
55
"description": "Sentry React Native End to End Tests Library",
66
"main": "dist/index.js",
@@ -13,8 +13,8 @@
1313
"devDependencies": {
1414
"@babel/preset-env": "^7.25.3",
1515
"@babel/preset-typescript": "^7.18.6",
16-
"@sentry/core": "10.39.0",
17-
"@sentry/react-native": "8.1.0",
16+
"@sentry/core": "10.40.0",
17+
"@sentry/react-native": "8.2.0",
1818
"@types/node": "^20.9.3",
1919
"@types/react": "^18.2.64",
2020
"appium": "2.4.1",

dev-packages/type-check/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sentry-react-native-type-check",
33
"private": true,
4-
"version": "8.1.0",
4+
"version": "8.2.0",
55
"scripts": {
66
"type-check": "./run-type-check.sh"
77
}

dev-packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-samples-utils",
3-
"version": "8.1.0",
3+
"version": "8.2.0",
44
"description": "Internal Samples Utils",
55
"main": "index.js",
66
"license": "MIT",

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "8.1.0",
3+
"version": "8.2.0",
44
"packages": [
55
"packages/*",
66
"dev-packages/*",

packages/core/RNSentry.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Pod::Spec.new do |s|
5151
'HEADER_SEARCH_PATHS' => '$(inherited) "${PODS_ROOT}/Sentry/Sources/Sentry" "${PODS_ROOT}/Sentry/Sources/Sentry/include"'
5252
}
5353

54-
s.dependency 'Sentry', '9.5.0'
54+
s.dependency 'Sentry', '9.5.1'
5555

5656
if defined? install_modules_dependencies
5757
# Default React Native dependencies for 0.71 and above (new and legacy architecture)

packages/core/android/src/main/java/io/sentry/react/RNSentryVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class RNSentryVersion {
44
static final String REACT_NATIVE_SDK_PACKAGE_NAME = "npm:@sentry/react-native";
5-
static final String REACT_NATIVE_SDK_PACKAGE_VERSION = "8.1.0";
5+
static final String REACT_NATIVE_SDK_PACKAGE_VERSION = "8.2.0";
66
static final String NATIVE_SDK_NAME = "sentry.native.android.react-native";
77
static final String ANDROID_SDK_NAME = "sentry.java.android.react-native";
88
static final String REACT_NATIVE_SDK_NAME = "sentry.javascript.react-native";

0 commit comments

Comments
 (0)