File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed
Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1010
1111- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
1212
13+ Work in this release was contributed by @conor-ob . Thank you for your contribution!
14+
1315## 8.45.1
1416
1517- fix(feedback): Return when the ` sendFeedback ` promise resolves ([ #14683 ] ( https://github.com/getsentry/sentry-javascript/pull/14683 ) )
Original file line number Diff line number Diff line change @@ -104,11 +104,13 @@ function applyDebugMeta(event: Event): void {
104104
105105 if ( filenameToDebugId . size > 0 ) {
106106 const images : DebugImage [ ] = [ ] ;
107- for ( const [ filename , debugId ] of filenameToDebugId . entries ( ) ) {
107+ for ( const [ filename , debug_id ] of filenameToDebugId . entries ( ) ) {
108+ const code_file = options . appRootPath ? normalizeUrlToBase ( filename , options . appRootPath ) : filename ;
109+
108110 images . push ( {
109111 type : 'sourcemap' ,
110- code_file : filename ,
111- debug_id : debugId ,
112+ code_file,
113+ debug_id,
112114 } ) ;
113115 }
114116 event . debug_meta = { images } ;
Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ export function getSentryRelease(fallback?: string): string | undefined {
6868 process . env [ 'HEROKU_TEST_RUN_COMMIT_VERSION' ] ||
6969 // Heroku #2 https://docs.sentry.io/product/integrations/deployment/heroku/#configure-releases
7070 process . env [ 'HEROKU_SLUG_COMMIT' ] ||
71+ // Railway - https://docs.railway.app/reference/variables#git-variables
72+ process . env [ 'RAILWAY_GIT_COMMIT_SHA' ] ||
7173 // Render - https://render.com/docs/environment-variables
7274 process . env [ 'RENDER_GIT_COMMIT' ] ||
7375 // Semaphore CI - https://docs.semaphoreci.com/ci-cd-environment/environment-variables
Original file line number Diff line number Diff line change @@ -268,6 +268,8 @@ export function getSentryRelease(fallback?: string): string | undefined {
268268 process . env [ 'HEROKU_TEST_RUN_COMMIT_VERSION' ] ||
269269 // Heroku #2 https://docs.sentry.io/product/integrations/deployment/heroku/#configure-releases
270270 process . env [ 'HEROKU_SLUG_COMMIT' ] ||
271+ // Railway - https://docs.railway.app/reference/variables#git-variables
272+ process . env [ 'RAILWAY_GIT_COMMIT_SHA' ] ||
271273 // Render - https://render.com/docs/environment-variables
272274 process . env [ 'RENDER_GIT_COMMIT' ] ||
273275 // Semaphore CI - https://docs.semaphoreci.com/ci-cd-environment/environment-variables
You can’t perform that action at this time.
0 commit comments