@terreno/announcements 58.2.0 → 58.3.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 +17 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,23 @@ Upgrade notes for consumer action live in [`mcp-server/src/docs/upgrades/`](mcp-
|
|
|
20
20
|
|
|
21
21
|
Unreleased changes live in [`changelog/unreleased/`](changelog/unreleased/). Add one Markdown file per feature (see that directory's README) instead of editing this section.
|
|
22
22
|
|
|
23
|
+
## [58.3.1] - 2026-11-28
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- `create-terreno-app` now wires error tracking: the backend calls `initErrorTracking` from `@terreno/api/sentry` (`backend/src/instrument.ts`, loaded first), the frontend calls `initErrorTracking` from `@terreno/syncdb/errorTracking`, `backend/.env.example` documents `SENTRY_DSN`, and a generated `pier.toml` carries a `public_env` stanza for the web DSN.
|
|
28
|
+
|
|
29
|
+
## [58.3.0] - 2026-11-28
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- `@terreno/api` exports `initErrorTracking(options?)` (import it from `@terreno/api/sentry`, which loads neither Express nor Mongoose), an opt-in helper that starts `@sentry/bun` for Sentry or any Sentry-protocol server such as a self-hosted GlitchTip. It does nothing without a DSN (`SENTRY_DSN`), tags events with an environment (`SENTRY_ENVIRONMENT`, `ERROR_TRACKING_ENVIRONMENT` or `NODE_ENV`) and a release (`SENTRY_RELEASE` or `RELEASE`), turns tracing off, collects no user data, and redacts the `Authorization`, `Cookie` and `Set-Cookie` headers and any field named like `token`, `secret` or `password` before an event leaves the process. `redactSensitiveEvent` is exported for apps with their own `beforeSend`. Existing `Sentry.init` calls are unaffected. See [Track errors with Sentry or GlitchTip](docs/how-to/error-tracking.md).
|
|
34
|
+
- `@terreno/syncdb/errorTracking` exports `initErrorTracking(options?)`, the Expo and web counterpart of the API helper. It starts `@sentry/react` on web and `@sentry/react-native` on native (the SDK import is a platform file, so a web bundle never contains `@sentry/react-native`). Web reads the DSN from the runtime config Pier serves at `/pier-config.js` (`window.__PIER_CONFIG__.public.EXPO_PUBLIC_SENTRY_DSN`) before `EXPO_PUBLIC_SENTRY_DSN`; native reads `EXPO_PUBLIC_SENTRY_DSN` only. It turns personal data and tracing off, redacts credentials from events, and does nothing without a DSN. `captureApiError` and `isExternalTrackingDisabled` honor the server's `disableExternalErrorTracking`, and an unhandled `ApiError` carrying it is dropped. `@sentry/react` and `@sentry/react-native` are optional peer dependencies. See [Track errors with Sentry or GlitchTip](docs/how-to/error-tracking.md).
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
|
|
38
|
+
- `@terreno/test`: `authAsUser` now accepts a served app's URL (a string) as well as an Express app, and keeps one loopback server per agent. Previously a URL threw `The "options" argument must be of type object`, and two concurrent streaming requests on one agent dropped the second when the first finished.
|
|
39
|
+
|
|
23
40
|
## [58.2.0] - 2026-11-24
|
|
24
41
|
|
|
25
42
|
### Added
|
package/package.json
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
"url": "https://github.com/TerrenoLabs/terreno/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@terreno/api": "58.
|
|
7
|
+
"@terreno/api": "58.3.1",
|
|
8
8
|
"express": "^5.2.1",
|
|
9
9
|
"luxon": "^3.7.2"
|
|
10
10
|
},
|
|
11
11
|
"description": "In-app product update announcements plugin for @terreno/api — part of Terreno, the batteries-included TypeScript framework for universal apps.",
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@biomejs/biome": "2.5.13",
|
|
14
|
-
"@terreno/test": "58.
|
|
14
|
+
"@terreno/test": "58.3.1",
|
|
15
15
|
"@types/bun": "^1.4.0",
|
|
16
16
|
"@types/express": "^5.0.6",
|
|
17
17
|
"@types/supertest": "^7.2.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"typecheck": "tsc -p tsconfig.typecheck.json"
|
|
56
56
|
},
|
|
57
57
|
"types": "dist/index.d.ts",
|
|
58
|
-
"version": "58.
|
|
58
|
+
"version": "58.3.1"
|
|
59
59
|
}
|