@sentry/cloudflare 9.11.0 → 9.12.0

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/README.md CHANGED
@@ -22,16 +22,21 @@ To get started, first install the `@sentry/cloudflare` package:
22
22
  npm install @sentry/cloudflare
23
23
  ```
24
24
 
25
- Then set either the `nodejs_compat` or `nodejs_als` compatibility flags in your `wrangler.toml`. This is because the SDK
26
- needs access to the `AsyncLocalStorage` API to work correctly.
27
-
28
- ```toml
29
- compatibility_flags = ["nodejs_compat"]
30
- # compatibility_flags = ["nodejs_als"]
25
+ Then either set the `nodejs_als` or `nodejs_compat` compatibility flags in your `wrangler.jsonc`/`wrangler.toml` config. This is because the SDK needs access to the `AsyncLocalStorage` API to work correctly.
26
+
27
+ ```jsonc {tabTitle:JSON} {filename:wrangler.jsonc}
28
+ {
29
+ "compatibility_flags": [
30
+ "nodejs_als"
31
+ // "nodejs_compat"
32
+ ]
33
+ }
31
34
  ```
32
35
 
33
- Then you can either setup up the SDK for [Cloudflare Pages](#setup-cloudflare-pages) or
34
- [Cloudflare Workers](#setup-cloudflare-workers).
36
+ ```toml {tabTitle:Toml} {filename:wrangler.toml}
37
+ compatibility_flags = ["nodejs_als"]
38
+ # compatibility_flags = ["nodejs_compat"]
39
+ ```
35
40
 
36
41
  ## Setup (Cloudflare Pages)
37
42
 
@@ -1 +1 @@
1
- {"type":"module","version":"9.11.0","sideEffects":false}
1
+ {"type":"module","version":"9.12.0","sideEffects":false}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/cloudflare",
3
- "version": "9.11.0",
3
+ "version": "9.12.0",
4
4
  "description": "Official Sentry SDK for Cloudflare Workers and Pages",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/cloudflare",
@@ -49,7 +49,7 @@
49
49
  "access": "public"
50
50
  },
51
51
  "dependencies": {
52
- "@sentry/core": "9.11.0"
52
+ "@sentry/core": "9.12.0"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@cloudflare/workers-types": "^4.x"