@sentry/wizard 2.1.0 → 2.2.1

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.
package/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.2.1
4
+
5
+ - feat(nextjs): Add option to auto-wrap data fetchers and API routes to Next.js config (#194)
6
+
7
+ ## 2.2.0
8
+
9
+ - ref(nextjs): Default to hiding source maps in nextjs config (#188)
10
+
3
11
  ## 2.1.0
4
12
 
5
- - feat(rn): Add support for RN TypeScript and other templates
13
+ - feat(react-native): Add support for RN TypeScript and other templates
6
14
 
7
15
  ## 2.0.2
8
16
 
@@ -7,6 +7,21 @@ const { withSentryConfig } = require('@sentry/nextjs');
7
7
 
8
8
  const moduleExports = {
9
9
  // Your existing module.exports
10
+
11
+ sentry: {
12
+ // Use `hidden-source-map` rather than `source-map` as the Webpack `devtool`
13
+ // for client-side builds. (This will be the default starting in
14
+ // `@sentry/nextjs` version 8.0.0.) See
15
+ // https://webpack.js.org/configuration/devtool/ and
16
+ // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-hidden-source-map
17
+ // for more information.
18
+ hideSourceMaps: true,
19
+
20
+ // This option will automatically provide performance monitoring for Next.js
21
+ // data-fetching methods and API routes, making the manual wrapping of API
22
+ // routes via `withSentry` redundant.
23
+ autoInstrumentServerFunctions: true,
24
+ },
10
25
  };
11
26
 
12
27
  const sentryWebpackPluginOptions = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/wizard",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "homepage": "https://github.com/getsentry/sentry-wizard",
5
5
  "repository": "https://github.com/getsentry/sentry-wizard",
6
6
  "description": "Sentry wizard helping you to configure your project",
@@ -7,6 +7,21 @@ const { withSentryConfig } = require('@sentry/nextjs');
7
7
 
8
8
  const moduleExports = {
9
9
  // Your existing module.exports
10
+
11
+ sentry: {
12
+ // Use `hidden-source-map` rather than `source-map` as the Webpack `devtool`
13
+ // for client-side builds. (This will be the default starting in
14
+ // `@sentry/nextjs` version 8.0.0.) See
15
+ // https://webpack.js.org/configuration/devtool/ and
16
+ // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-hidden-source-map
17
+ // for more information.
18
+ hideSourceMaps: true,
19
+
20
+ // This option will automatically provide performance monitoring for Next.js
21
+ // data-fetching methods and API routes, making the manual wrapping of API
22
+ // routes via `withSentry` redundant.
23
+ autoInstrumentServerFunctions: true,
24
+ },
10
25
  };
11
26
 
12
27
  const sentryWebpackPluginOptions = {