Source maps fixes
This release fixes the behavior of sourcemaps inject and sourcemaps upload. We now treat minified and non-minified source files the same way in both commands, which was always the desired behavior, and is also consistent with our JS bundler plugins.
Please be aware that from now on, sourcemaps inject will inject debug IDs into all JS source files at the path provided to the command. If you only wish for some of the files to have debug IDs injected, you need to modify the path(s) passed to sourcemaps inject or you need to use the --ignore or --ignore-file options to exclude the files you do not wish to inject the debug IDs into.
In the sourcemaps upload command, we have eliminated the "Minified Scripts" section in the Source Maps Upload Report. Instead, these minified scripts will appear under "Scripts."
Auth token validation
Sentry CLI now validates that you have provided an auth token whenever you run a command that requires authentication to succeed. If you fail to provide an auth token when running such a command, the Sentry CLI will exit with an error message explaining that the auth token is required but missing.
Other fixes & improvements
- fix(sourcemaps): Add
.cjsand.mjsto defaultsourcemaps uploadextensions (#1961) by @szokeasaurusrex - fix(xcode): Only parse Plist when required during RN source maps upload (#1940) by @krystofwoldrich
- fix(files): Fail when deleting all files fails with 404 error (#1949) by @szokeasaurusrex
- fix: support windows on arm via x64 binary (#1943) by @MarshallOfSound