sentry-cli 3.6.2__tar.gz → 3.8.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 (187) hide show
  1. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/Cargo.lock +1 -1
  2. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/Cargo.toml +1 -1
  3. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/PKG-INFO +4 -4
  4. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/README.md +3 -3
  5. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/sentry_cli.egg-info/PKG-INFO +4 -4
  6. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/mod.rs +7 -1
  7. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/build/upload.rs +111 -10
  8. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/logs/list.rs +1 -1
  9. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/snapshots/upload.rs +21 -8
  10. sentry_cli-3.8.0/src/utils/build/apple.rs +573 -0
  11. sentry_cli-3.6.2/src/utils/build/apple.rs +0 -160
  12. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/LICENSE +0 -0
  13. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/MANIFEST.in +0 -0
  14. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/AGENTS.md +0 -0
  15. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/CLAUDE.md +0 -0
  16. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/Cargo.toml +0 -0
  17. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/build.rs +0 -0
  18. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Package.swift +0 -0
  19. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/AssetCatalogParser/AssetCatalogReader.swift +0 -0
  20. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/ObjcSupport/include/safeValueForKey.h +0 -0
  21. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/ObjcSupport/safeValueForKey.m +0 -0
  22. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/AssetCatalogParserTests.swift +0 -0
  23. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/Resources/test.xcarchive/Info.plist +0 -0
  24. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/Resources/test.xcarchive/Products/Applications/DemoApp.app/Assets.car +0 -0
  25. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/src/asset_catalog.rs +0 -0
  26. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/apple-catalog-parsing/src/lib.rs +0 -0
  27. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/build.rs +0 -0
  28. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/pyproject.toml +0 -0
  29. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/sentry_cli.egg-info/SOURCES.txt +0 -0
  30. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/sentry_cli.egg-info/dependency_links.txt +0 -0
  31. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/sentry_cli.egg-info/top_level.txt +0 -0
  32. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/setup.cfg +0 -0
  33. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/setup.py +0 -0
  34. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/AGENTS.md +0 -0
  35. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/CLAUDE.md +0 -0
  36. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/connection_manager.rs +0 -0
  37. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/chunking/artifact.rs +0 -0
  38. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/chunking/build.rs +0 -0
  39. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/chunking/compression.rs +0 -0
  40. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/chunking/dif.rs +0 -0
  41. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/chunking/file_state.rs +0 -0
  42. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/chunking/hash_algorithm.rs +0 -0
  43. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/chunking/mod.rs +0 -0
  44. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/chunking/upload/mod.rs +0 -0
  45. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/chunking/upload/options.rs +0 -0
  46. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/code_mappings.rs +0 -0
  47. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/deploy.rs +0 -0
  48. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/mod.rs +0 -0
  49. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/data_types/snapshots.rs +0 -0
  50. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/encoding.rs +0 -0
  51. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/envelopes_api.rs +0 -0
  52. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/errors/api_error.rs +0 -0
  53. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/errors/mod.rs +0 -0
  54. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/errors/sentry_error.rs +0 -0
  55. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/pagination.rs +0 -0
  56. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/serialization.rs +0 -0
  57. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/api/updating.rs +0 -0
  58. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/bashsupport.sh +0 -0
  59. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/bash_hook.rs +0 -0
  60. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/build/download.rs +0 -0
  61. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/build/mod.rs +0 -0
  62. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/code_mappings/mod.rs +0 -0
  63. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/code_mappings/upload.rs +0 -0
  64. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/dart_symbol_map/mod.rs +0 -0
  65. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/dart_symbol_map/upload.rs +0 -0
  66. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/debug_files/bundle_jvm.rs +0 -0
  67. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/debug_files/bundle_sources.rs +0 -0
  68. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/debug_files/check.rs +0 -0
  69. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/debug_files/find.rs +0 -0
  70. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/debug_files/mod.rs +0 -0
  71. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/debug_files/print_sources.rs +0 -0
  72. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/debug_files/upload.rs +0 -0
  73. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/deploys/list.rs +0 -0
  74. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/deploys/mod.rs +0 -0
  75. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/deploys/new.rs +0 -0
  76. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/derive_parser.rs +0 -0
  77. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/events/list.rs +0 -0
  78. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/events/mod.rs +0 -0
  79. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/info.rs +0 -0
  80. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/issues/list.rs +0 -0
  81. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/issues/mod.rs +0 -0
  82. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/issues/mute.rs +0 -0
  83. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/issues/resolve.rs +0 -0
  84. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/issues/unresolve.rs +0 -0
  85. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/login.rs +0 -0
  86. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/logs/mod.rs +0 -0
  87. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/mod.rs +0 -0
  88. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/monitors/list.rs +0 -0
  89. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/monitors/mod.rs +0 -0
  90. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/monitors/run.rs +0 -0
  91. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/organizations/list.rs +0 -0
  92. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/organizations/mod.rs +0 -0
  93. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/proguard/mod.rs +0 -0
  94. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/proguard/upload.rs +0 -0
  95. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/proguard/uuid.rs +0 -0
  96. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/projects/list.rs +0 -0
  97. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/projects/mod.rs +0 -0
  98. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/react_native/gradle.rs +0 -0
  99. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/react_native/mod.rs +0 -0
  100. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/react_native/xcode.rs +0 -0
  101. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/releases/archive.rs +0 -0
  102. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/releases/delete.rs +0 -0
  103. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/releases/finalize.rs +0 -0
  104. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/releases/info.rs +0 -0
  105. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/releases/list.rs +0 -0
  106. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/releases/mod.rs +0 -0
  107. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/releases/new.rs +0 -0
  108. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/releases/propose_version.rs +0 -0
  109. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/releases/restore.rs +0 -0
  110. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/releases/set_commits.rs +0 -0
  111. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/repos/list.rs +0 -0
  112. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/repos/mod.rs +0 -0
  113. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/send_envelope.rs +0 -0
  114. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/send_event.rs +0 -0
  115. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/send_metric/common_args.rs +0 -0
  116. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/send_metric/increment.rs +0 -0
  117. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/send_metric/mod.rs +0 -0
  118. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/send_metric/set.rs +0 -0
  119. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/snapshots/diff.rs +0 -0
  120. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/snapshots/download.rs +0 -0
  121. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/snapshots/mod.rs +0 -0
  122. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/sourcemaps/inject.rs +0 -0
  123. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/sourcemaps/mod.rs +0 -0
  124. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/sourcemaps/resolve.rs +0 -0
  125. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/sourcemaps/upload.rs +0 -0
  126. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/uninstall.rs +0 -0
  127. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/update.rs +0 -0
  128. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/upload_dif.rs +0 -0
  129. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/upload_dsym.rs +0 -0
  130. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/commands/upload_proguard.rs +0 -0
  131. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/config.rs +0 -0
  132. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/constants.rs +0 -0
  133. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/main.rs +0 -0
  134. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/android.rs +0 -0
  135. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/args.rs +0 -0
  136. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/auth_token/auth_token_impl.rs +0 -0
  137. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/auth_token/error.rs +0 -0
  138. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/auth_token/mod.rs +0 -0
  139. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/auth_token/org_auth_token.rs +0 -0
  140. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/auth_token/redacting.rs +0 -0
  141. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/auth_token/test.rs +0 -0
  142. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/auth_token/user_auth_token.rs +0 -0
  143. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/build/mod.rs +0 -0
  144. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/build/normalize.rs +0 -0
  145. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/build/validation.rs +0 -0
  146. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/build_vcs.rs +0 -0
  147. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/chunks/mod.rs +0 -0
  148. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/chunks/options.rs +0 -0
  149. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/chunks/types.rs +0 -0
  150. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/chunks/upload.rs +0 -0
  151. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/ci.rs +0 -0
  152. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/cordova.rs +0 -0
  153. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/dif.rs +0 -0
  154. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/dif_upload/error.rs +0 -0
  155. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/dif_upload/mod.rs +0 -0
  156. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/event.rs +0 -0
  157. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/file_search.rs +0 -0
  158. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/file_upload.rs +0 -0
  159. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/formatting.rs +0 -0
  160. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/fs.rs +0 -0
  161. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/http.rs +0 -0
  162. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/logging.rs +0 -0
  163. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/mod.rs +0 -0
  164. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/non_empty.rs +0 -0
  165. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/odiff/binary.rs +0 -0
  166. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/odiff/mod.rs +0 -0
  167. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/odiff/server.rs +0 -0
  168. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/progress.rs +0 -0
  169. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/proguard/mapping.rs +0 -0
  170. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/proguard/mod.rs +0 -0
  171. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/proguard/upload.rs +0 -0
  172. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/releases.rs +0 -0
  173. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/retry.rs +0 -0
  174. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_default_twenty.snap +0 -0
  175. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_ignore_missing.snap +0 -0
  176. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_set_base.snap +0 -0
  177. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_set_previous_commit.snap +0 -0
  178. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/snapshots/sentry_cli__utils__vcs__tests__get_commits_from_git.snap +0 -0
  179. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/source_bundle.rs +0 -0
  180. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/sourcemaps/inject.rs +0 -0
  181. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/sourcemaps.rs +0 -0
  182. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/system.rs +0 -0
  183. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/ui.rs +0 -0
  184. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/update.rs +0 -0
  185. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/value_parsers.rs +0 -0
  186. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/vcs.rs +0 -0
  187. {sentry_cli-3.6.2 → sentry_cli-3.8.0}/src/utils/xcode.rs +0 -0
@@ -3600,7 +3600,7 @@ dependencies = [
3600
3600
 
3601
3601
  [[package]]
3602
3602
  name = "sentry-cli"
3603
- version = "3.6.2"
3603
+ version = "3.8.0"
3604
3604
  dependencies = [
3605
3605
  "anyhow",
3606
3606
  "anylog",
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  build = "build.rs"
3
3
  name = "sentry-cli"
4
- version = "3.6.2"
4
+ version = "3.8.0"
5
5
  edition = "2021"
6
6
  rust-version = "1.91"
7
7
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sentry_cli
3
- Version: 3.6.2
3
+ Version: 3.8.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
@@ -25,10 +25,10 @@ Dynamic: license-file
25
25
  </a>
26
26
  </p>
27
27
 
28
- > [!NOTE]
29
- > We're building a [new Sentry CLI](https://cli.sentry.dev/) with AI-powered workflows, built-in AI skills, and first-class support for use by agents. It already covers several `sentry-cli` features (including source maps) and is planned to become the next major version — the APIs are closely aligned, so migration will be smooth when the time comes.
28
+ > [!IMPORTANT]
29
+ > This repository is no longer under active development, as our [new CLI](https://cli.sentry.dev/) will soon be replacing this one.
30
30
  >
31
- > **If you're using `sentry-cli` in CI/CD pipelines today, you're in the right place — nothing is changing yet.** If you want AI capabilities or agent integration, give the [new CLI](https://cli.sentry.dev/) a try.
31
+ > We are therefore no longer accepting feature requests for this repo. Also, we will generally only fix bugs in this repo when there is a concrete reason preventing adoption of the new CLI. Please raise new issues in the new CLI's repository, instead.
32
32
 
33
33
  # Sentry CLI
34
34
 
@@ -8,10 +8,10 @@
8
8
  </a>
9
9
  </p>
10
10
 
11
- > [!NOTE]
12
- > We're building a [new Sentry CLI](https://cli.sentry.dev/) with AI-powered workflows, built-in AI skills, and first-class support for use by agents. It already covers several `sentry-cli` features (including source maps) and is planned to become the next major version — the APIs are closely aligned, so migration will be smooth when the time comes.
11
+ > [!IMPORTANT]
12
+ > This repository is no longer under active development, as our [new CLI](https://cli.sentry.dev/) will soon be replacing this one.
13
13
  >
14
- > **If you're using `sentry-cli` in CI/CD pipelines today, you're in the right place — nothing is changing yet.** If you want AI capabilities or agent integration, give the [new CLI](https://cli.sentry.dev/) a try.
14
+ > We are therefore no longer accepting feature requests for this repo. Also, we will generally only fix bugs in this repo when there is a concrete reason preventing adoption of the new CLI. Please raise new issues in the new CLI's repository, instead.
15
15
 
16
16
  # Sentry CLI
17
17
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sentry_cli
3
- Version: 3.6.2
3
+ Version: 3.8.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
@@ -25,10 +25,10 @@ Dynamic: license-file
25
25
  </a>
26
26
  </p>
27
27
 
28
- > [!NOTE]
29
- > We're building a [new Sentry CLI](https://cli.sentry.dev/) with AI-powered workflows, built-in AI skills, and first-class support for use by agents. It already covers several `sentry-cli` features (including source maps) and is planned to become the next major version — the APIs are closely aligned, so migration will be smooth when the time comes.
28
+ > [!IMPORTANT]
29
+ > This repository is no longer under active development, as our [new CLI](https://cli.sentry.dev/) will soon be replacing this one.
30
30
  >
31
- > **If you're using `sentry-cli` in CI/CD pipelines today, you're in the right place — nothing is changing yet.** If you want AI capabilities or agent integration, give the [new CLI](https://cli.sentry.dev/) a try.
31
+ > We are therefore no longer accepting feature requests for this repo. Also, we will generally only fix bugs in this repo when there is a concrete reason preventing adoption of the new CLI. Please raise new issues in the new CLI's repository, instead.
32
32
 
33
33
  # Sentry CLI
34
34
 
@@ -1015,7 +1015,7 @@ impl AuthenticatedApi<'_> {
1015
1015
  project: &str,
1016
1016
  ) -> ApiResult<SnapshotsUploadOptions> {
1017
1017
  let path = format!(
1018
- "/projects/{}/{}/preprodartifacts/snapshots/upload-options/",
1018
+ "/projects/{}/{}/preprodartifacts/snapshots/upload-options/?usecase=auto",
1019
1019
  PathArg(org),
1020
1020
  PathArg(project)
1021
1021
  );
@@ -2132,11 +2132,17 @@ pub struct SnapshotsUploadOptions {
2132
2132
  #[serde(rename_all = "camelCase")]
2133
2133
  pub struct ObjectstoreUploadOptions {
2134
2134
  pub url: String,
2135
+ #[serde(default = "legacy_objectstore_usecase")]
2136
+ pub usecase: String,
2135
2137
  pub scopes: Vec<(String, String)>,
2136
2138
  pub auth_token: Option<SecretString>,
2137
2139
  pub expiration_policy: String,
2138
2140
  }
2139
2141
 
2142
+ fn legacy_objectstore_usecase() -> String {
2143
+ "preprod".into()
2144
+ }
2145
+
2140
2146
  #[cfg(test)]
2141
2147
  mod tests {
2142
2148
  use std::error::Error as _;
@@ -35,7 +35,7 @@ pub fn make_command(command: Command) -> Command {
35
35
  #[cfg(not(all(target_os = "macos", target_arch = "aarch64")))]
36
36
  const HELP_TEXT: &str =
37
37
  "The path to the build to upload. Supported files include Apk, and Aab.";
38
- command
38
+ let command = command
39
39
  .about("Upload builds to a project.")
40
40
  .long_about("Upload builds to a project.\n\nThis feature only works with Sentry SaaS.")
41
41
  .org_arg()
@@ -68,7 +68,18 @@ pub fn make_command(command: Command) -> Command {
68
68
  Builds with at least one matching install group will be shown updates \
69
69
  for each other.",
70
70
  )
71
- )
71
+ );
72
+ #[cfg(all(target_os = "macos", target_arch = "aarch64"))]
73
+ let command = command.arg(
74
+ Arg::new("dsym")
75
+ .long("dsym")
76
+ .value_name("PATH")
77
+ .help(
78
+ "Path to a dSYM bundle, a directory containing dSYM bundles, or a ZIP of either to include with an IPA upload. Can be specified multiple times.",
79
+ )
80
+ .action(ArgAction::Append),
81
+ );
82
+ command
72
83
  }
73
84
 
74
85
  /// Parse plugin info from SENTRY_PIPELINE environment variable.
@@ -104,6 +115,16 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
104
115
  .get_many::<String>("paths")
105
116
  .expect("paths argument is required");
106
117
 
118
+ #[cfg(all(target_os = "macos", target_arch = "aarch64"))]
119
+ let dsym_paths = matches
120
+ .get_many::<String>("dsym")
121
+ .map(|paths| paths.map(Path::new).collect::<Vec<_>>())
122
+ .unwrap_or_default();
123
+ #[cfg(not(all(target_os = "macos", target_arch = "aarch64")))]
124
+ let dsym_paths = Vec::<&Path>::new();
125
+
126
+ validate_dsym_upload_count(path_strings.len(), &dsym_paths)?;
127
+
107
128
  // Collect git metadata if running in CI, unless explicitly enabled or disabled.
108
129
  let should_collect_git_metadata =
109
130
  matches.get_flag("force_git_metadata") || (!matches.get_flag("no_git_metadata") && is_ci());
@@ -167,10 +188,15 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
167
188
  handle_file(
168
189
  path,
169
190
  &byteview,
191
+ &dsym_paths,
170
192
  plugin_name.as_deref(),
171
193
  plugin_version.as_deref(),
172
194
  )?
173
195
  } else if path.is_dir() {
196
+ if !dsym_paths.is_empty() {
197
+ bail!("--dsym can only be used with an IPA upload");
198
+ }
199
+
174
200
  debug!("Normalizing directory: {}", path.display());
175
201
  handle_directory(path, plugin_name.as_deref(), plugin_version.as_deref()).with_context(
176
202
  || {
@@ -260,17 +286,25 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
260
286
  fn handle_file(
261
287
  path: &Path,
262
288
  byteview: &ByteView,
289
+ _dsym_paths: &[&Path],
263
290
  plugin_name: Option<&str>,
264
291
  plugin_version: Option<&str>,
265
292
  ) -> Result<TempFile> {
266
- // Handle IPA files by converting them to XCArchive
267
293
  #[cfg(all(target_os = "macos", target_arch = "aarch64"))]
268
- if is_zip_file(byteview) && is_ipa_file(byteview)? {
269
- debug!("Converting IPA file to XCArchive structure");
270
- let archive_temp_dir = TempDir::create()?;
271
- return ipa_to_xcarchive(path, byteview, &archive_temp_dir)
272
- .and_then(|path| handle_directory(&path, plugin_name, plugin_version))
273
- .with_context(|| format!("Failed to process IPA file {}", path.display()));
294
+ {
295
+ let is_ipa = is_zip_file(byteview) && is_ipa_file(byteview)?;
296
+ if !is_ipa && !_dsym_paths.is_empty() {
297
+ bail!("--dsym can only be used with an IPA upload");
298
+ }
299
+
300
+ // Handle IPA files by converting them to XCArchive
301
+ if is_ipa {
302
+ debug!("Converting IPA file to XCArchive structure");
303
+ let archive_temp_dir = TempDir::create()?;
304
+ return ipa_to_xcarchive(path, byteview, _dsym_paths, &archive_temp_dir)
305
+ .and_then(|path| handle_directory(&path, plugin_name, plugin_version))
306
+ .with_context(|| format!("Failed to process IPA file {}", path.display()));
307
+ }
274
308
  }
275
309
 
276
310
  normalize_file(path, byteview, plugin_name, plugin_version).with_context(|| {
@@ -281,6 +315,15 @@ fn handle_file(
281
315
  })
282
316
  }
283
317
 
318
+ fn validate_dsym_upload_count(upload_count: usize, dsym_paths: &[&Path]) -> Result<()> {
319
+ // dSYM inputs apply to the whole command, so their target would be ambiguous
320
+ // if the same invocation uploaded multiple builds.
321
+ if upload_count > 1 && !dsym_paths.is_empty() {
322
+ bail!("--dsym can only be used when uploading exactly one IPA file");
323
+ }
324
+ Ok(())
325
+ }
326
+
284
327
  fn validate_is_supported_build(path: &Path, bytes: &[u8]) -> Result<()> {
285
328
  debug!("Validating build format for: {}", path.display());
286
329
 
@@ -549,7 +592,7 @@ mod tests {
549
592
  let byteview = ByteView::open(ipa_path)?;
550
593
 
551
594
  // Process the IPA file - this should work even without asset catalogs
552
- let result = handle_file(ipa_path, &byteview, None, None)?;
595
+ let result = handle_file(ipa_path, &byteview, &[], None, None)?;
553
596
 
554
597
  let zip_file = fs::File::open(result.path())?;
555
598
  let mut archive = ZipArchive::new(zip_file)?;
@@ -573,6 +616,64 @@ mod tests {
573
616
  Ok(())
574
617
  }
575
618
 
619
+ #[test]
620
+ #[cfg(all(target_os = "macos", target_arch = "aarch64"))]
621
+ fn test_dsym_arg_is_repeatable() {
622
+ let matches = make_command(Command::new("test"))
623
+ .try_get_matches_from([
624
+ "test",
625
+ "--org",
626
+ "test-org",
627
+ "--project",
628
+ "test-project",
629
+ "--dsym",
630
+ "DemoApp.app.dSYM",
631
+ "--dsym",
632
+ "DemoFramework.framework.dSYM",
633
+ "DemoApp.ipa",
634
+ ])
635
+ .unwrap();
636
+
637
+ let dsym_paths = matches
638
+ .get_many::<String>("dsym")
639
+ .unwrap()
640
+ .collect::<Vec<_>>();
641
+ assert_eq!(
642
+ dsym_paths,
643
+ ["DemoApp.app.dSYM", "DemoFramework.framework.dSYM"]
644
+ );
645
+ }
646
+
647
+ #[test]
648
+ #[cfg(all(target_os = "macos", target_arch = "aarch64"))]
649
+ fn test_dsym_rejects_multiple_uploads() {
650
+ let error = validate_dsym_upload_count(2, &[Path::new("DemoApp.app.dSYM")])
651
+ .unwrap_err()
652
+ .to_string();
653
+ assert_eq!(
654
+ error,
655
+ "--dsym can only be used when uploading exactly one IPA file"
656
+ );
657
+ }
658
+
659
+ #[test]
660
+ #[cfg(all(target_os = "macos", target_arch = "aarch64"))]
661
+ fn test_dsym_rejects_non_ipa_upload() -> Result<()> {
662
+ let apk_path = Path::new("tests/integration/_fixtures/build/apk.apk");
663
+ let byteview = ByteView::open(apk_path)?;
664
+ let error = handle_file(
665
+ apk_path,
666
+ &byteview,
667
+ &[Path::new("DemoApp.app.dSYM")],
668
+ None,
669
+ None,
670
+ )
671
+ .unwrap_err()
672
+ .to_string();
673
+ assert_eq!(error, "--dsym can only be used with an IPA upload");
674
+ Ok(())
675
+ }
676
+
576
677
  #[test]
577
678
  fn test_normalize_directory_preserves_symlinks() -> Result<()> {
578
679
  let temp_dir = crate::utils::fs::TempDir::create()?;
@@ -66,7 +66,7 @@ pub(super) struct ListLogsArgs {
66
66
  max_rows: NonZeroUsize,
67
67
 
68
68
  #[arg(long = "query", default_value = "", hide_default_value = true)]
69
- #[arg(help = "Query to filter logs. Example: \"level:error\". \
69
+ #[arg(help = "Query to filter logs. Example: \"severity:error\". \
70
70
  If omitted, no filtering is applied. \
71
71
  See https://docs.sentry.io/concepts/search/ for syntax.")]
72
72
  query: String,
@@ -147,10 +147,22 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
147
147
  debug!("Organization: {org}");
148
148
  debug!("Project: {project}");
149
149
 
150
+ let all_image_file_names = parse_all_image_file_names(matches)?;
151
+ let selective = matches.get_flag("selective") || all_image_file_names.is_some();
152
+
150
153
  // Collect image files and read their dimensions
151
154
  let images = collect_images(dir_path);
152
- if images.is_empty() {
153
- println!("{} No image files found", style("!").yellow());
155
+ // A complete image name list makes an empty upload a valid selective run:
156
+ // the server can reconstruct unaffected base images as skipped.
157
+ if images.is_empty() && all_image_file_names.is_none() {
158
+ let message = if selective {
159
+ "No image files found; no snapshot was created. Pass \
160
+ --all-image-file-names or --all-image-file-names-file to record an empty \
161
+ selective build."
162
+ } else {
163
+ "No image files found"
164
+ };
165
+ println!("{} {message}", style("!").yellow());
154
166
  return Ok(());
155
167
  }
156
168
 
@@ -163,10 +175,6 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
163
175
 
164
176
  validate_image_sizes(&images)?;
165
177
 
166
- let all_image_file_names = parse_all_image_file_names(matches)?;
167
-
168
- let selective = matches.get_flag("selective") || all_image_file_names.is_some();
169
-
170
178
  if let Some(ref all_names) = all_image_file_names {
171
179
  let all_names_set: HashSet<&str> = all_names.iter().map(|s| s.as_str()).collect();
172
180
  let mut unknown: Vec<String> = images
@@ -190,7 +198,11 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
190
198
  if images.len() == 1 { "file" } else { "files" }
191
199
  );
192
200
 
193
- let manifest_entries = upload_images(images, &org, &project)?;
201
+ let manifest_entries = if images.is_empty() {
202
+ HashMap::new()
203
+ } else {
204
+ upload_images(images, &org, &project)?
205
+ };
194
206
 
195
207
  // Build manifest from discovered images
196
208
  let diff_threshold = matches.get_one::<f64>("diff_threshold").copied();
@@ -432,7 +444,8 @@ fn upload_images(
432
444
  let org_id = find_scope("org").context("Missing org in UploadOptions scope")?;
433
445
  let project_id = find_scope("project").context("Missing project in UploadOptions scope")?;
434
446
 
435
- let mut scope = Usecase::new("preprod").scope();
447
+ debug!("Using objectstore usecase {}", options.objectstore.usecase);
448
+ let mut scope = Usecase::new(&options.objectstore.usecase).scope();
436
449
  for (key, value) in scopes {
437
450
  scope = scope.push(&key, value);
438
451
  }