You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migration/draft-v9-migration-guide.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,10 @@
89
89
});
90
90
```
91
91
92
+
## `@sentry/astro`
93
+
94
+
- Deprecated passing `dsn`, `release`, `environment`, `sampleRate`, `tracesSampleRate`, `replaysSessionSampleRate` to the integration. Use the runtime-specific `Sentry.init()` calls for passing these options instead.
95
+
92
96
## `@sentry/remix`
93
97
94
98
- Deprecated `autoInstrumentRemix: false`. The next major version will default to behaving as if this option were `true` and the option itself will be removed.
* @deprecated Use the `environment` option in your runtime-specific Sentry.init() call in sentry.client.config.(js|ts) or sentry.server.config.(js|ts) instead.
170
+
*/
171
+
environment?: string;
172
+
/**
173
+
* @deprecated Use the `release` option in your runtime-specific Sentry.init() call in sentry.client.config.(js|ts) or sentry.server.config.(js|ts) instead.
174
+
*/
175
+
release?: string;
176
+
/**
177
+
* @deprecated Use the `dsn` option in your runtime-specific Sentry.init() call in sentry.client.config.(js|ts) or sentry.server.config.(js|ts) instead.
178
+
*/
179
+
dsn?: string;
180
+
/**
181
+
* @deprecated Use the `sampleRate` option in your runtime-specific Sentry.init() call in sentry.client.config.(js|ts) or sentry.server.config.(js|ts) instead.
182
+
*/
183
+
sampleRate?: number;
184
+
/**
185
+
* @deprecated Use the `tracesSampleRate` option in your runtime-specific Sentry.init() call in sentry.client.config.(js|ts) or sentry.server.config.(js|ts) instead.
186
+
*/
187
+
tracesSampleRate?: number;
188
+
/**
189
+
* @deprecated Use the `replaysSessionSampleRate` option in your Sentry.init() call in sentry.client.config.(js|ts) instead.
190
+
*/
191
+
replaysSessionSampleRate?: number;
192
+
/**
193
+
* @deprecated Use the `replaysOnErrorSampleRate` option in your Sentry.init() call in sentry.client.config.(js|ts) instead.
194
+
*/
195
+
replaysOnErrorSampleRate?: number;
196
+
};
197
+
162
198
/**
163
199
* A subset of Sentry SDK options that can be set via the `sentryAstro` integration.
164
200
* Some options (e.g. integrations) are set by default and cannot be changed here.
@@ -169,8 +205,7 @@ type SdkEnabledOptions = {
169
205
* If you specify a dedicated init file, the SDK options passed to `sentryAstro` will be ignored.
0 commit comments