@sentry/wizard 2.2.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,5 +1,9 @@
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
+
3
7
  ## 2.2.0
4
8
 
5
9
  - ref(nextjs): Default to hiding source maps in nextjs config (#188)
@@ -16,6 +16,11 @@ const moduleExports = {
16
16
  // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-hidden-source-map
17
17
  // for more information.
18
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,
19
24
  },
20
25
  };
21
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/wizard",
3
- "version": "2.2.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",
@@ -16,6 +16,11 @@ const moduleExports = {
16
16
  // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-hidden-source-map
17
17
  // for more information.
18
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,
19
24
  },
20
25
  };
21
26