Skip to content

Commit c782961

Browse files
Merge remote-tracking branch 'origin/master' into preserve-xcarchive-zip-structure
2 parents 52e8a46 + 05df700 commit c782961

24 files changed

Lines changed: 85 additions & 39 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,28 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu-24.04, macos-14, windows-2022]
21-
22-
name: Lint (${{ matrix.os }})
21+
feature-args: ['', '-Funstable-mobile-app']
22+
include:
23+
- feature-args: ''
24+
feature-suffix: ''
25+
- feature-args: '-Funstable-mobile-app'
26+
feature-suffix: ', mobile-app'
27+
28+
name: Lint (${{ matrix.os }}${{ matrix.feature-suffix }})
2329
runs-on: ${{ matrix.os }}
2430
steps:
2531
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2632

2733
- name: Install Rust Toolchain
2834
run: rustup toolchain install stable --profile minimal --component clippy --component rustfmt --no-self-update
2935

30-
- uses: swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # 2.7.8
36+
- uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
3137

3238
- name: Run Rustfmt
3339
run: cargo fmt --all -- --check
3440

3541
- name: Run Clippy
36-
run: cargo clippy --workspace --tests
42+
run: cargo clippy --workspace --tests ${{ matrix.feature-args }}
3743

3844
lint:
3945
needs: lint-each-os
@@ -52,19 +58,25 @@ jobs:
5258
fail-fast: false
5359
matrix:
5460
os: [ubuntu-24.04, macos-14, windows-2022]
55-
56-
name: Test (${{ matrix.os }})
61+
feature-args: ['', '-Funstable-mobile-app']
62+
include:
63+
- feature-args: ''
64+
feature-suffix: ''
65+
- feature-args: '-Funstable-mobile-app'
66+
feature-suffix: ', mobile-app'
67+
68+
name: Test (${{ matrix.os }}${{ matrix.feature-suffix }})
5769
runs-on: ${{ matrix.os }}
5870

5971
steps:
6072
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
6173

62-
- uses: swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # 2.7.8
74+
- uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
6375
with:
6476
key: ${{ github.job }}
6577

6678
- name: Run Cargo Tests
67-
run: cargo test --all
79+
run: cargo test --all ${{ matrix.feature-args }}
6880

6981
test_node:
7082
strategy:

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
# Initializes the CodeQL tools for scanning.
3939
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # 3.29.0
40+
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # 3.29.2
4141
with:
4242
languages: ${{ matrix.language }}
4343
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -48,7 +48,7 @@ jobs:
4848
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4949
# If this step fails, then you should remove it and run the build manually (see below)
5050
- name: Autobuild
51-
uses: github/codeql-action/autobuild@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # 3.29.0
51+
uses: github/codeql-action/autobuild@181d5eefc20863364f96762470ba6f862bdef56b # 3.29.2
5252

5353
# ℹ️ Command-line programs to run using the OS shell.
5454
# 📚 https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
@@ -59,4 +59,4 @@ jobs:
5959
# make bootstrap
6060
# make release
6161
- name: Perform CodeQL Analysis
62-
uses: github/codeql-action/analyze@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # 3.29.0
62+
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # 3.29.2

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ yarn-error.log
1111
/sentry-cli
1212
/sentry-cli.exe
1313

14-
.vscode/
14+
.vscode/*
15+
!.vscode/settings.json

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"rust-analyzer.cargo.features": ["unstable-mobile-app"],
3+
"rust-analyzer.cargo.noDefaultFeatures": false
4+
}

CHANGELOG.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
"You know what they say. Fool me once, strike one, but fool me twice... strike three." — Michael Scott
44

5+
## 2.47.0
6+
7+
### Various fixes & improvements
8+
9+
- ref: Exclude `mobile-app` command from release builds (#2582) by @szokeasaurusrex
10+
- feat(login): Improve error output for login errors (#2581) by @szokeasaurusrex
11+
- test(monitors): pass empty options to grep (#2562) by @lcian
12+
- feat(login): Warn when overwriting existing auth token (#2554) by @szokeasaurusrex
13+
- meta: Add .sentryclirc to gitignore (#2547) by @rbro112
14+
- build: Bump MSRV to 1.86
15+
516
## 2.46.0
617

718
### Various fixes & improvements
@@ -21,11 +32,12 @@
2132
## 2.45.0
2233

2334
### New feature
35+
2436
- feat(sourcemaps): Multi-project sourcemaps upload (#2497) by @szokeasaurusrex
25-
- Sourcemaps can now be uploaded to multiple projects at once by passing each project to the `sentry-cli sourcemaps upload` command, like so:
26-
```sh
27-
sentry-cli sourcemaps upload -p project1 -p project2 /path/to/sourcemaps
28-
```
37+
- Sourcemaps can now be uploaded to multiple projects at once by passing each project to the `sentry-cli sourcemaps upload` command, like so:
38+
```sh
39+
sentry-cli sourcemaps upload -p project1 -p project2 /path/to/sourcemaps
40+
```
2941
- Note that users on old versions of self-hosted Sentry may need to upgrade their self-hosted server to a newer version to take advantage of multi-project uploads.
3042

3143
### Various fixes & improvements

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["Armin Ronacher <armin.ronacher@active-4.com>"]
33
build = "build.rs"
44
name = "sentry-cli"
5-
version = "2.46.0"
5+
version = "2.47.0"
66
edition = "2021"
77
rust-version = "1.86"
88

@@ -11,6 +11,7 @@ rust-version = "1.86"
1111
[dependencies]
1212
anylog = "0.6.3"
1313
anyhow = { version = "1.0.69", features = ["backtrace"] }
14+
apple-catalog-parsing = { path = "apple-catalog-parsing", optional = true }
1415
backoff = "0.4.0"
1516
brotli2 = "0.3.2"
1617
bytecount = "0.6.3"
@@ -93,6 +94,10 @@ default = []
9394
managed = []
9495
with_crash_reporting = []
9596

97+
# Feature flag for the mobile-app command, as it is still under development.
98+
# CI tests run against this flag, but we don't include it in release builds.
99+
unstable-mobile-app = ["apple-catalog-parsing"]
100+
96101
[workspace.lints.clippy]
97102
allow-attributes = "warn"
98103
unnecessary-wraps = "warn"

npm-binary-distributions/darwin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/cli-darwin",
3-
"version": "2.46.0",
3+
"version": "2.47.0",
44
"description": "The darwin distribution of the Sentry CLI binary.",
55
"repository": "https://github.com/getsentry/sentry-cli",
66
"license": "BSD-3-Clause",

npm-binary-distributions/linux-arm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/cli-linux-arm",
3-
"version": "2.46.0",
3+
"version": "2.47.0",
44
"description": "The linux arm distribution of the Sentry CLI binary.",
55
"repository": "https://github.com/getsentry/sentry-cli",
66
"license": "BSD-3-Clause",

npm-binary-distributions/linux-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/cli-linux-arm64",
3-
"version": "2.46.0",
3+
"version": "2.47.0",
44
"description": "The linux arm64 distribution of the Sentry CLI binary.",
55
"repository": "https://github.com/getsentry/sentry-cli",
66
"license": "BSD-3-Clause",

0 commit comments

Comments
 (0)