sentry-cli 2.33.0__tar.gz → 2.34.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/Cargo.lock +192 -46
  2. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/Cargo.toml +3 -3
  3. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/PKG-INFO +2 -2
  4. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/README.md +1 -1
  5. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/sentry_cli.egg-info/PKG-INFO +2 -2
  6. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/sentry_cli.egg-info/SOURCES.txt +1 -0
  7. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/errors/api_error.rs +2 -2
  8. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/mod.rs +5 -1
  9. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/derive_parser.rs +3 -3
  10. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/mod.rs +32 -11
  11. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/config.rs +25 -16
  12. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/auth_token/auth_token_impl.rs +14 -19
  13. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/auth_token/mod.rs +5 -0
  14. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/auth_token/org_auth_token.rs +6 -4
  15. sentry_cli-2.34.0/src/utils/auth_token/redacting.rs +66 -0
  16. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/auth_token/test.rs +9 -27
  17. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/auth_token/user_auth_token.rs +5 -5
  18. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/file_upload.rs +16 -3
  19. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/sourcemaps.rs +15 -1
  20. sentry_cli-2.34.0/src/utils/value_parsers.rs +20 -0
  21. sentry_cli-2.33.0/src/utils/value_parsers.rs +0 -8
  22. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/LICENSE +0 -0
  23. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/MANIFEST.in +0 -0
  24. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/build.rs +0 -0
  25. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/pyproject.toml +0 -0
  26. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/sentry_cli.egg-info/dependency_links.txt +0 -0
  27. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/sentry_cli.egg-info/top_level.txt +0 -0
  28. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/setup.cfg +0 -0
  29. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/setup.py +0 -0
  30. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/connection_manager.rs +0 -0
  31. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/data_types/chunking/artifact.rs +0 -0
  32. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/data_types/chunking/compression.rs +0 -0
  33. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/data_types/chunking/dif.rs +0 -0
  34. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/data_types/chunking/file_state.rs +0 -0
  35. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/data_types/chunking/hash_algorithm.rs +0 -0
  36. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/data_types/chunking/mod.rs +0 -0
  37. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/data_types/chunking/upload/capability.rs +0 -0
  38. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/data_types/chunking/upload/mod.rs +0 -0
  39. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/data_types/chunking/upload/options.rs +0 -0
  40. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/data_types/mod.rs +0 -0
  41. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/encoding.rs +0 -0
  42. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/envelopes_api.rs +0 -0
  43. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/errors/mod.rs +0 -0
  44. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/errors/sentry_error.rs +0 -0
  45. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/api/pagination.rs +0 -0
  46. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/bashsupport.sh +0 -0
  47. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/bash_hook.rs +0 -0
  48. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/debug_files/bundle_jvm.rs +0 -0
  49. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/debug_files/bundle_sources.rs +0 -0
  50. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/debug_files/check.rs +0 -0
  51. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/debug_files/find.rs +0 -0
  52. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/debug_files/mod.rs +0 -0
  53. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/debug_files/print_sources.rs +0 -0
  54. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/debug_files/upload.rs +0 -0
  55. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/deploys/list.rs +0 -0
  56. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/deploys/mod.rs +0 -0
  57. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/deploys/new.rs +0 -0
  58. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/events/list.rs +0 -0
  59. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/events/mod.rs +0 -0
  60. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/files/delete.rs +0 -0
  61. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/files/list.rs +0 -0
  62. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/files/mod.rs +0 -0
  63. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/files/upload.rs +0 -0
  64. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/info.rs +0 -0
  65. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/issues/list.rs +0 -0
  66. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/issues/mod.rs +0 -0
  67. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/issues/mute.rs +0 -0
  68. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/issues/resolve.rs +0 -0
  69. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/issues/unresolve.rs +0 -0
  70. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/login.rs +0 -0
  71. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/monitors/list.rs +0 -0
  72. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/monitors/mod.rs +0 -0
  73. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/monitors/run.rs +0 -0
  74. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/organizations/list.rs +0 -0
  75. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/organizations/mod.rs +0 -0
  76. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/projects/list.rs +0 -0
  77. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/projects/mod.rs +0 -0
  78. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/react_native/appcenter.rs +0 -0
  79. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/react_native/gradle.rs +0 -0
  80. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/react_native/mod.rs +0 -0
  81. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/react_native/xcode.rs +0 -0
  82. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/releases/archive.rs +0 -0
  83. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/releases/delete.rs +0 -0
  84. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/releases/finalize.rs +0 -0
  85. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/releases/info.rs +0 -0
  86. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/releases/list.rs +0 -0
  87. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/releases/mod.rs +0 -0
  88. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/releases/new.rs +0 -0
  89. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/releases/propose_version.rs +0 -0
  90. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/releases/restore.rs +0 -0
  91. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/releases/set_commits.rs +0 -0
  92. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/repos/list.rs +0 -0
  93. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/repos/mod.rs +0 -0
  94. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/send_envelope.rs +0 -0
  95. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/send_event.rs +0 -0
  96. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/send_metric/common_args.rs +0 -0
  97. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/send_metric/distribution.rs +0 -0
  98. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/send_metric/gauge.rs +0 -0
  99. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/send_metric/increment.rs +0 -0
  100. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/send_metric/mod.rs +0 -0
  101. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/send_metric/set.rs +0 -0
  102. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/sourcemaps/explain.rs +0 -0
  103. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/sourcemaps/inject.rs +0 -0
  104. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/sourcemaps/mod.rs +0 -0
  105. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/sourcemaps/resolve.rs +0 -0
  106. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/sourcemaps/upload.rs +0 -0
  107. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/uninstall.rs +0 -0
  108. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/update.rs +0 -0
  109. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/upload_dif.rs +0 -0
  110. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/upload_dsym.rs +0 -0
  111. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/commands/upload_proguard.rs +0 -0
  112. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/constants.rs +0 -0
  113. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/main.rs +0 -0
  114. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/android.rs +0 -0
  115. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/appcenter.rs +0 -0
  116. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/args.rs +0 -0
  117. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/auth_token/error.rs +0 -0
  118. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/chunks.rs +0 -0
  119. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/cordova.rs +0 -0
  120. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/dif.rs +0 -0
  121. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/dif_upload.rs +0 -0
  122. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/event.rs +0 -0
  123. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/file_search.rs +0 -0
  124. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/formatting.rs +0 -0
  125. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/fs.rs +0 -0
  126. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/http.rs +0 -0
  127. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/logging.rs +0 -0
  128. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/metrics.rs +0 -0
  129. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/mod.rs +0 -0
  130. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/progress.rs +0 -0
  131. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/releases.rs +0 -0
  132. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/retry.rs +0 -0
  133. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_default_twenty.snap +0 -0
  134. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_ignore_missing.snap +0 -0
  135. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_set_base.snap +0 -0
  136. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_set_previous_commit.snap +0 -0
  137. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/snapshots/sentry_cli__utils__vcs__get_commits_from_git.snap +0 -0
  138. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/sourcemaps/inject.rs +0 -0
  139. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/system.rs +0 -0
  140. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/ui.rs +0 -0
  141. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/update.rs +0 -0
  142. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/vcs.rs +0 -0
  143. {sentry_cli-2.33.0 → sentry_cli-2.34.0}/src/utils/xcode.rs +0 -0
@@ -49,6 +49,18 @@ dependencies = [
49
49
  "version_check",
50
50
  ]
51
51
 
52
+ [[package]]
53
+ name = "ahash"
54
+ version = "0.8.11"
55
+ source = "registry+https://github.com/rust-lang/crates.io-index"
56
+ checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
57
+ dependencies = [
58
+ "cfg-if",
59
+ "once_cell",
60
+ "version_check",
61
+ "zerocopy",
62
+ ]
63
+
52
64
  [[package]]
53
65
  name = "aho-corasick"
54
66
  version = "1.1.3"
@@ -142,6 +154,15 @@ dependencies = [
142
154
  "regex",
143
155
  ]
144
156
 
157
+ [[package]]
158
+ name = "arbitrary"
159
+ version = "1.3.2"
160
+ source = "registry+https://github.com/rust-lang/crates.io-index"
161
+ checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110"
162
+ dependencies = [
163
+ "derive_arbitrary",
164
+ ]
165
+
145
166
  [[package]]
146
167
  name = "arrayvec"
147
168
  version = "0.7.4"
@@ -629,6 +650,17 @@ dependencies = [
629
650
  "powerfmt",
630
651
  ]
631
652
 
653
+ [[package]]
654
+ name = "derive_arbitrary"
655
+ version = "1.3.2"
656
+ source = "registry+https://github.com/rust-lang/crates.io-index"
657
+ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611"
658
+ dependencies = [
659
+ "proc-macro2",
660
+ "quote",
661
+ "syn 2.0.68",
662
+ ]
663
+
632
664
  [[package]]
633
665
  name = "difflib"
634
666
  version = "0.4.0"
@@ -687,6 +719,17 @@ dependencies = [
687
719
  "winapi 0.3.9",
688
720
  ]
689
721
 
722
+ [[package]]
723
+ name = "displaydoc"
724
+ version = "0.2.5"
725
+ source = "registry+https://github.com/rust-lang/crates.io-index"
726
+ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
727
+ dependencies = [
728
+ "proc-macro2",
729
+ "quote",
730
+ "syn 2.0.68",
731
+ ]
732
+
690
733
  [[package]]
691
734
  name = "dlv-list"
692
735
  version = "0.3.0"
@@ -1003,19 +1046,19 @@ dependencies = [
1003
1046
 
1004
1047
  [[package]]
1005
1048
  name = "gimli"
1006
- version = "0.28.1"
1049
+ version = "0.29.0"
1007
1050
  source = "registry+https://github.com/rust-lang/crates.io-index"
1008
- checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
1009
- dependencies = [
1010
- "fallible-iterator 0.3.0",
1011
- "stable_deref_trait",
1012
- ]
1051
+ checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
1013
1052
 
1014
1053
  [[package]]
1015
1054
  name = "gimli"
1016
- version = "0.29.0"
1055
+ version = "0.31.0"
1017
1056
  source = "registry+https://github.com/rust-lang/crates.io-index"
1018
- checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
1057
+ checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64"
1058
+ dependencies = [
1059
+ "fallible-iterator 0.3.0",
1060
+ "stable_deref_trait",
1061
+ ]
1019
1062
 
1020
1063
  [[package]]
1021
1064
  name = "git2"
@@ -1051,13 +1094,13 @@ dependencies = [
1051
1094
 
1052
1095
  [[package]]
1053
1096
  name = "goblin"
1054
- version = "0.7.1"
1097
+ version = "0.8.2"
1055
1098
  source = "registry+https://github.com/rust-lang/crates.io-index"
1056
- checksum = "f27c1b4369c2cd341b5de549380158b105a04c331be5db9110eef7b6d2742134"
1099
+ checksum = "1b363a30c165f666402fe6a3024d3bec7ebc898f96a4a23bd1c99f8dbf3f4f47"
1057
1100
  dependencies = [
1058
1101
  "log",
1059
1102
  "plain",
1060
- "scroll 0.11.0",
1103
+ "scroll 0.12.0",
1061
1104
  ]
1062
1105
 
1063
1106
  [[package]]
@@ -1066,7 +1109,7 @@ version = "0.12.3"
1066
1109
  source = "registry+https://github.com/rust-lang/crates.io-index"
1067
1110
  checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
1068
1111
  dependencies = [
1069
- "ahash",
1112
+ "ahash 0.7.8",
1070
1113
  ]
1071
1114
 
1072
1115
  [[package]]
@@ -1074,6 +1117,10 @@ name = "hashbrown"
1074
1117
  version = "0.14.5"
1075
1118
  source = "registry+https://github.com/rust-lang/crates.io-index"
1076
1119
  checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
1120
+ dependencies = [
1121
+ "ahash 0.8.11",
1122
+ "serde",
1123
+ ]
1077
1124
 
1078
1125
  [[package]]
1079
1126
  name = "heck"
@@ -1219,6 +1266,7 @@ checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
1219
1266
  dependencies = [
1220
1267
  "equivalent",
1221
1268
  "hashbrown 0.14.5",
1269
+ "serde",
1222
1270
  ]
1223
1271
 
1224
1272
  [[package]]
@@ -1416,6 +1464,12 @@ dependencies = [
1416
1464
  "scopeguard",
1417
1465
  ]
1418
1466
 
1467
+ [[package]]
1468
+ name = "lockfree-object-pool"
1469
+ version = "0.1.6"
1470
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1471
+ checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
1472
+
1419
1473
  [[package]]
1420
1474
  name = "log"
1421
1475
  version = "0.4.22"
@@ -2258,8 +2312,14 @@ name = "scroll"
2258
2312
  version = "0.11.0"
2259
2313
  source = "registry+https://github.com/rust-lang/crates.io-index"
2260
2314
  checksum = "04c565b551bafbef4157586fa379538366e4385d42082f255bfd96e4fe8519da"
2315
+
2316
+ [[package]]
2317
+ name = "scroll"
2318
+ version = "0.12.0"
2319
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2320
+ checksum = "6ab8598aa408498679922eff7fa985c25d58a90771bd6be794434c5277eab1a6"
2261
2321
  dependencies = [
2262
- "scroll_derive 0.11.1",
2322
+ "scroll_derive 0.12.0",
2263
2323
  ]
2264
2324
 
2265
2325
  [[package]]
@@ -2275,15 +2335,24 @@ dependencies = [
2275
2335
 
2276
2336
  [[package]]
2277
2337
  name = "scroll_derive"
2278
- version = "0.11.1"
2338
+ version = "0.12.0"
2279
2339
  source = "registry+https://github.com/rust-lang/crates.io-index"
2280
- checksum = "1db149f81d46d2deba7cd3c50772474707729550221e69588478ebf9ada425ae"
2340
+ checksum = "7f81c2fde025af7e69b1d1420531c8a8811ca898919db177141a85313b1cb932"
2281
2341
  dependencies = [
2282
2342
  "proc-macro2",
2283
2343
  "quote",
2284
2344
  "syn 2.0.68",
2285
2345
  ]
2286
2346
 
2347
+ [[package]]
2348
+ name = "secrecy"
2349
+ version = "0.8.0"
2350
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2351
+ checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e"
2352
+ dependencies = [
2353
+ "zeroize",
2354
+ ]
2355
+
2287
2356
  [[package]]
2288
2357
  name = "security-framework-sys"
2289
2358
  version = "2.11.0"
@@ -2353,7 +2422,7 @@ dependencies = [
2353
2422
 
2354
2423
  [[package]]
2355
2424
  name = "sentry-cli"
2356
- version = "2.33.0"
2425
+ version = "2.34.0"
2357
2426
  dependencies = [
2358
2427
  "anyhow",
2359
2428
  "anylog",
@@ -2405,6 +2474,7 @@ dependencies = [
2405
2474
  "rstest",
2406
2475
  "runas",
2407
2476
  "rust-ini",
2477
+ "secrecy",
2408
2478
  "semver 1.0.23",
2409
2479
  "sentry",
2410
2480
  "serde",
@@ -2414,7 +2484,6 @@ dependencies = [
2414
2484
  "sourcemap",
2415
2485
  "symbolic",
2416
2486
  "tempfile",
2417
- "testing_logger",
2418
2487
  "thiserror",
2419
2488
  "trycmd",
2420
2489
  "unix-daemonize",
@@ -2424,7 +2493,7 @@ dependencies = [
2424
2493
  "walkdir",
2425
2494
  "which",
2426
2495
  "winapi 0.3.9",
2427
- "zip",
2496
+ "zip 0.6.6",
2428
2497
  ]
2429
2498
 
2430
2499
  [[package]]
@@ -2590,6 +2659,12 @@ dependencies = [
2590
2659
  "outref",
2591
2660
  ]
2592
2661
 
2662
+ [[package]]
2663
+ name = "simd-adler32"
2664
+ version = "0.3.7"
2665
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2666
+ checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
2667
+
2593
2668
  [[package]]
2594
2669
  name = "similar"
2595
2670
  version = "2.5.0"
@@ -2710,9 +2785,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
2710
2785
 
2711
2786
  [[package]]
2712
2787
  name = "symbolic"
2713
- version = "12.8.0"
2788
+ version = "12.10.0"
2714
2789
  source = "registry+https://github.com/rust-lang/crates.io-index"
2715
- checksum = "05ec4f53c56d7ee8809c2322925d362e193bcc7bbe7e777a3304b34ea7e85a36"
2790
+ checksum = "6d4e155af9f06f8b44963cdb05ad7c9884f424dc040f08adc5a1bb4960937d1d"
2716
2791
  dependencies = [
2717
2792
  "symbolic-common",
2718
2793
  "symbolic-debuginfo",
@@ -2722,9 +2797,9 @@ dependencies = [
2722
2797
 
2723
2798
  [[package]]
2724
2799
  name = "symbolic-common"
2725
- version = "12.9.2"
2800
+ version = "12.10.0"
2726
2801
  source = "registry+https://github.com/rust-lang/crates.io-index"
2727
- checksum = "71297dc3e250f7dbdf8adb99e235da783d690f5819fdeb4cce39d9cfb0aca9f1"
2802
+ checksum = "16629323a4ec5268ad23a575110a724ad4544aae623451de600c747bf87b36cf"
2728
2803
  dependencies = [
2729
2804
  "debugid",
2730
2805
  "memmap2",
@@ -2735,9 +2810,9 @@ dependencies = [
2735
2810
 
2736
2811
  [[package]]
2737
2812
  name = "symbolic-debuginfo"
2738
- version = "12.8.0"
2813
+ version = "12.10.0"
2739
2814
  source = "registry+https://github.com/rust-lang/crates.io-index"
2740
- checksum = "eb52777be67777947c5a159f1b6e8bfe4473d91fad7e5d4aff85ee4d3963cc04"
2815
+ checksum = "f629454e4787591257c96c6c7c676c17f792ef8290638699714152140580717d"
2741
2816
  dependencies = [
2742
2817
  "debugid",
2743
2818
  "dmsort",
@@ -2745,7 +2820,7 @@ dependencies = [
2745
2820
  "elsa",
2746
2821
  "fallible-iterator 0.3.0",
2747
2822
  "flate2",
2748
- "gimli 0.28.1",
2823
+ "gimli 0.31.0",
2749
2824
  "goblin",
2750
2825
  "lazy_static",
2751
2826
  "nom",
@@ -2754,7 +2829,7 @@ dependencies = [
2754
2829
  "parking_lot",
2755
2830
  "pdb-addr2line",
2756
2831
  "regex",
2757
- "scroll 0.11.0",
2832
+ "scroll 0.12.0",
2758
2833
  "serde",
2759
2834
  "serde_json",
2760
2835
  "smallvec",
@@ -2762,14 +2837,15 @@ dependencies = [
2762
2837
  "symbolic-ppdb",
2763
2838
  "thiserror",
2764
2839
  "wasmparser",
2765
- "zip",
2840
+ "zip 2.1.6",
2841
+ "zstd 0.13.1",
2766
2842
  ]
2767
2843
 
2768
2844
  [[package]]
2769
2845
  name = "symbolic-il2cpp"
2770
- version = "12.8.0"
2846
+ version = "12.10.0"
2771
2847
  source = "registry+https://github.com/rust-lang/crates.io-index"
2772
- checksum = "2f8d453d3c853febd7dbfcb9a7ff18a94aa0d64f7a6476f8f453e88b01ee33d9"
2848
+ checksum = "7c5cc3da426cd0a0ea91b3a0e722fda69377a23fa1601d7c55f3cc0533e02b9b"
2773
2849
  dependencies = [
2774
2850
  "indexmap",
2775
2851
  "serde_json",
@@ -2779,9 +2855,9 @@ dependencies = [
2779
2855
 
2780
2856
  [[package]]
2781
2857
  name = "symbolic-ppdb"
2782
- version = "12.9.2"
2858
+ version = "12.10.0"
2783
2859
  source = "registry+https://github.com/rust-lang/crates.io-index"
2784
- checksum = "92ccffa1e6b313c007dddcc3a91166a64055a0a956e1429ee179a808fa3b2c62"
2860
+ checksum = "2c6eaa9dc4774d5e0a9df62a3145d814b3a9ebcbcf37e973bc51c57bcb9eacc7"
2785
2861
  dependencies = [
2786
2862
  "flate2",
2787
2863
  "indexmap",
@@ -2795,9 +2871,9 @@ dependencies = [
2795
2871
 
2796
2872
  [[package]]
2797
2873
  name = "symbolic-symcache"
2798
- version = "12.8.0"
2874
+ version = "12.10.0"
2799
2875
  source = "registry+https://github.com/rust-lang/crates.io-index"
2800
- checksum = "9e5bddf351855de48a9b9deb1ef1a755e228ee2902fbeb8ef255e2522afd6dae"
2876
+ checksum = "ee38ad1bcc90849a49d3c860e3e44331be798101a92e19a1e2a169384cbc6528"
2801
2877
  dependencies = [
2802
2878
  "indexmap",
2803
2879
  "symbolic-common",
@@ -2863,15 +2939,6 @@ dependencies = [
2863
2939
  "windows-sys 0.48.0",
2864
2940
  ]
2865
2941
 
2866
- [[package]]
2867
- name = "testing_logger"
2868
- version = "0.1.1"
2869
- source = "registry+https://github.com/rust-lang/crates.io-index"
2870
- checksum = "6d92b727cb45d33ae956f7f46b966b25f1bc712092aeef9dba5ac798fc89f720"
2871
- dependencies = [
2872
- "log",
2873
- ]
2874
-
2875
2942
  [[package]]
2876
2943
  name = "thiserror"
2877
2944
  version = "1.0.61"
@@ -3208,12 +3275,16 @@ checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
3208
3275
 
3209
3276
  [[package]]
3210
3277
  name = "wasmparser"
3211
- version = "0.118.2"
3278
+ version = "0.214.0"
3212
3279
  source = "registry+https://github.com/rust-lang/crates.io-index"
3213
- checksum = "77f1154f1ab868e2a01d9834a805faca7bf8b50d041b4ca714d005d0dab1c50c"
3280
+ checksum = "5309c1090e3e84dad0d382f42064e9933fdaedb87e468cc239f0eabea73ddcb6"
3214
3281
  dependencies = [
3282
+ "ahash 0.8.11",
3283
+ "bitflags 2.6.0",
3284
+ "hashbrown 0.14.5",
3215
3285
  "indexmap",
3216
3286
  "semver 1.0.23",
3287
+ "serde",
3217
3288
  ]
3218
3289
 
3219
3290
  [[package]]
@@ -3505,6 +3576,32 @@ dependencies = [
3505
3576
  "memchr",
3506
3577
  ]
3507
3578
 
3579
+ [[package]]
3580
+ name = "zerocopy"
3581
+ version = "0.7.35"
3582
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3583
+ checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
3584
+ dependencies = [
3585
+ "zerocopy-derive",
3586
+ ]
3587
+
3588
+ [[package]]
3589
+ name = "zerocopy-derive"
3590
+ version = "0.7.35"
3591
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3592
+ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
3593
+ dependencies = [
3594
+ "proc-macro2",
3595
+ "quote",
3596
+ "syn 2.0.68",
3597
+ ]
3598
+
3599
+ [[package]]
3600
+ name = "zeroize"
3601
+ version = "1.8.1"
3602
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3603
+ checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
3604
+
3508
3605
  [[package]]
3509
3606
  name = "zip"
3510
3607
  version = "0.6.6"
@@ -3522,7 +3619,38 @@ dependencies = [
3522
3619
  "pbkdf2",
3523
3620
  "sha1",
3524
3621
  "time",
3525
- "zstd",
3622
+ "zstd 0.11.2+zstd.1.5.2",
3623
+ ]
3624
+
3625
+ [[package]]
3626
+ name = "zip"
3627
+ version = "2.1.6"
3628
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3629
+ checksum = "40dd8c92efc296286ce1fbd16657c5dbefff44f1b4ca01cc5f517d8b7b3d3e2e"
3630
+ dependencies = [
3631
+ "arbitrary",
3632
+ "crc32fast",
3633
+ "crossbeam-utils",
3634
+ "displaydoc",
3635
+ "flate2",
3636
+ "indexmap",
3637
+ "memchr",
3638
+ "thiserror",
3639
+ "zopfli",
3640
+ ]
3641
+
3642
+ [[package]]
3643
+ name = "zopfli"
3644
+ version = "0.8.1"
3645
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3646
+ checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
3647
+ dependencies = [
3648
+ "bumpalo",
3649
+ "crc32fast",
3650
+ "lockfree-object-pool",
3651
+ "log",
3652
+ "once_cell",
3653
+ "simd-adler32",
3526
3654
  ]
3527
3655
 
3528
3656
  [[package]]
@@ -3531,7 +3659,16 @@ version = "0.11.2+zstd.1.5.2"
3531
3659
  source = "registry+https://github.com/rust-lang/crates.io-index"
3532
3660
  checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
3533
3661
  dependencies = [
3534
- "zstd-safe",
3662
+ "zstd-safe 5.0.2+zstd.1.5.2",
3663
+ ]
3664
+
3665
+ [[package]]
3666
+ name = "zstd"
3667
+ version = "0.13.1"
3668
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3669
+ checksum = "2d789b1514203a1120ad2429eae43a7bd32b90976a7bb8a05f7ec02fa88cc23a"
3670
+ dependencies = [
3671
+ "zstd-safe 7.1.0",
3535
3672
  ]
3536
3673
 
3537
3674
  [[package]]
@@ -3544,6 +3681,15 @@ dependencies = [
3544
3681
  "zstd-sys",
3545
3682
  ]
3546
3683
 
3684
+ [[package]]
3685
+ name = "zstd-safe"
3686
+ version = "7.1.0"
3687
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3688
+ checksum = "1cd99b45c6bc03a018c8b8a86025678c87e55526064e38f9df301989dce7ec0a"
3689
+ dependencies = [
3690
+ "zstd-sys",
3691
+ ]
3692
+
3547
3693
  [[package]]
3548
3694
  name = "zstd-sys"
3549
3695
  version = "2.0.11+zstd.1.5.6"
@@ -2,7 +2,7 @@
2
2
  authors = ["Armin Ronacher <armin.ronacher@active-4.com>"]
3
3
  build = "build.rs"
4
4
  name = "sentry-cli"
5
- version = "2.33.0"
5
+ version = "2.34.0"
6
6
  edition = "2021"
7
7
  rust-version = "1.65"
8
8
 
@@ -69,7 +69,7 @@ serde = { version = "1.0.152", features = ["derive"] }
69
69
  serde_json = "1.0.93"
70
70
  sha1_smol = { version = "1.0.0", features = ["serde"] }
71
71
  sourcemap = { version = "7.0.1", features = ["ram_bundle"] }
72
- symbolic = { version = "12.4.1", features = ["debuginfo-serde", "il2cpp"] }
72
+ symbolic = { version = "12.10.0", features = ["debuginfo-serde", "il2cpp"] }
73
73
  thiserror = "1.0.38"
74
74
  url = "2.3.1"
75
75
  username = "0.2.0"
@@ -80,6 +80,7 @@ zip = "0.6.4"
80
80
  data-encoding = "2.3.3"
81
81
  magic_string = "0.3.4"
82
82
  chrono-tz = "0.8.4"
83
+ secrecy = "0.8.0"
83
84
 
84
85
  [dev-dependencies]
85
86
  insta = { version = "1.26.0", features = ["redactions", "yaml"] }
@@ -87,7 +88,6 @@ mockito = "0.31.1"
87
88
  predicates = "2.1.5"
88
89
  rstest = "0.18.2"
89
90
  tempfile = "3.8.1"
90
- testing_logger = "0.1.1"
91
91
  trycmd = "0.14.11"
92
92
 
93
93
  [features]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sentry_cli
3
- Version: 2.33.0
3
+ Version: 2.34.0
4
4
  Summary: A command line utility to work with Sentry.
5
5
  Home-page: https://github.com/getsentry/sentry-cli
6
6
  Author: Sentry
@@ -49,7 +49,7 @@ If you are on OS X or Linux, you can use the automated downloader which will fet
49
49
  We do, however, encourage you to pin the specific version of the CLI, so your builds are always reproducible.
50
50
  To do that, you can use the exact same method, with an additional version specifier:
51
51
 
52
- curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.0.4 bash
52
+ curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.33.1 bash
53
53
 
54
54
  This will automatically download the correct version of `sentry-cli` for your operating system and install it. If necessary, it will prompt for your admin password for `sudo`. For a different installation location or for systems without `sudo` (like Windows), you can `export INSTALL_DIR=/custom/installation/path` before running this command.
55
55
 
@@ -32,7 +32,7 @@ If you are on OS X or Linux, you can use the automated downloader which will fet
32
32
  We do, however, encourage you to pin the specific version of the CLI, so your builds are always reproducible.
33
33
  To do that, you can use the exact same method, with an additional version specifier:
34
34
 
35
- curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.0.4 bash
35
+ curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.33.1 bash
36
36
 
37
37
  This will automatically download the correct version of `sentry-cli` for your operating system and install it. If necessary, it will prompt for your admin password for `sudo`. For a different installation location or for systems without `sudo` (like Windows), you can `export INSTALL_DIR=/custom/installation/path` before running this command.
38
38
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sentry_cli
3
- Version: 2.33.0
3
+ Version: 2.34.0
4
4
  Summary: A command line utility to work with Sentry.
5
5
  Home-page: https://github.com/getsentry/sentry-cli
6
6
  Author: Sentry
@@ -49,7 +49,7 @@ If you are on OS X or Linux, you can use the automated downloader which will fet
49
49
  We do, however, encourage you to pin the specific version of the CLI, so your builds are always reproducible.
50
50
  To do that, you can use the exact same method, with an additional version specifier:
51
51
 
52
- curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.0.4 bash
52
+ curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.33.1 bash
53
53
 
54
54
  This will automatically download the correct version of `sentry-cli` for your operating system and install it. If necessary, it will prompt for your admin password for `sudo`. For a different installation location or for systems without `sudo` (like Windows), you can `export INSTALL_DIR=/custom/installation/path` before running this command.
55
55
 
@@ -130,6 +130,7 @@ src/utils/auth_token/auth_token_impl.rs
130
130
  src/utils/auth_token/error.rs
131
131
  src/utils/auth_token/mod.rs
132
132
  src/utils/auth_token/org_auth_token.rs
133
+ src/utils/auth_token/redacting.rs
133
134
  src/utils/auth_token/test.rs
134
135
  src/utils/auth_token/user_auth_token.rs
135
136
  src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_default_twenty.snap
@@ -24,9 +24,9 @@ pub(in crate::api) enum ApiErrorKind {
24
24
  OrganizationNotFound,
25
25
  #[error("resource not found")]
26
26
  ResourceNotFound,
27
- #[error("Project not found. Please check that you entered the project and organization IDs or slugs correctly.")]
27
+ #[error("Project not found. Ensure that you configured the correct project and organization.")]
28
28
  ProjectNotFound,
29
- #[error("release not found")]
29
+ #[error("Release not found. Ensure that you configured the correct release, project, and organization.")]
30
30
  ReleaseNotFound,
31
31
  #[error("chunk upload endpoint not supported by sentry server")]
32
32
  ChunkUploadNotSupported,
@@ -37,6 +37,7 @@ use lazy_static::lazy_static;
37
37
  use log::{debug, info, warn};
38
38
  use parking_lot::Mutex;
39
39
  use regex::{Captures, Regex};
40
+ use secrecy::ExposeSecret;
40
41
  use sentry::protocol::{Exception, Values};
41
42
  use serde::de::DeserializeOwned;
42
43
  use serde::{Deserialize, Serialize};
@@ -1687,7 +1688,10 @@ impl ApiRequest {
1687
1688
  }
1688
1689
  Auth::Token(ref token) => {
1689
1690
  debug!("using token authentication");
1690
- self.with_header("Authorization", &format!("Bearer {token}"))
1691
+ self.with_header(
1692
+ "Authorization",
1693
+ &format!("Bearer {}", token.raw().expose_secret()),
1694
+ )
1691
1695
  }
1692
1696
  }
1693
1697
  }
@@ -1,6 +1,6 @@
1
1
  use crate::utils::auth_token::AuthToken;
2
- use crate::utils::value_parsers::kv_parser;
3
- use clap::{command, value_parser, ArgAction::SetTrue, Parser, Subcommand};
2
+ use crate::utils::value_parsers::{auth_token_parser, kv_parser};
3
+ use clap::{command, ArgAction::SetTrue, Parser, Subcommand};
4
4
 
5
5
  use super::send_metric::SendMetricArgs;
6
6
 
@@ -13,7 +13,7 @@ pub(super) struct SentryCLI {
13
13
  #[arg(help = "Custom headers that should be attached to all requests{n}in key:value format")]
14
14
  pub(super) headers: Vec<(String, String)>,
15
15
 
16
- #[arg(global=true, long, value_parser=value_parser!(AuthToken))]
16
+ #[arg(global=true, long, value_parser=auth_token_parser)]
17
17
  #[arg(help = "Use the given Sentry auth token")]
18
18
  pub(super) auth_token: Option<AuthToken>,
19
19