@checkstack/healthcheck-http-backend 0.1.8 → 0.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,34 @@
1
1
  # @checkstack/healthcheck-http-backend
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [11d2679]
8
+ - @checkstack/healthcheck-common@0.6.0
9
+
10
+ ## 0.2.0
11
+
12
+ ### Minor Changes
13
+
14
+ - db1f56f: Add ephemeral field stripping to reduce database storage for health checks
15
+
16
+ - Added `x-ephemeral` metadata flag to `HealthResultMeta` for marking fields that should not be persisted
17
+ - All health result factory functions (`healthResultString`, `healthResultNumber`, `healthResultBoolean`, `healthResultArray`, `healthResultJSONPath`) now accept `x-ephemeral`
18
+ - Added `stripEphemeralFields()` utility to remove ephemeral fields before database storage
19
+ - Integrated ephemeral field stripping into `queue-executor.ts` for all collector results
20
+ - HTTP Request collector now explicitly marks `body` as ephemeral
21
+
22
+ This significantly reduces database storage for health checks with large response bodies, while still allowing assertions to run against the full response at execution time.
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [ac3a4cf]
27
+ - Updated dependencies [db1f56f]
28
+ - @checkstack/healthcheck-common@0.5.0
29
+ - @checkstack/common@0.6.0
30
+ - @checkstack/backend-api@0.5.1
31
+
3
32
  ## 0.1.8
4
33
 
5
34
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/healthcheck-http-backend",
3
- "version": "0.1.8",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
@@ -62,7 +62,7 @@ const requestResultSchema = healthResultSchema({
62
62
  "x-chart-label": "Response Time",
63
63
  "x-chart-unit": "ms",
64
64
  }),
65
- body: healthResultJSONPath({}),
65
+ body: healthResultJSONPath({ "x-ephemeral": true }),
66
66
  bodyLength: healthResultNumber({
67
67
  "x-chart-type": "counter",
68
68
  "x-chart-label": "Body Length",