@terreno/test 58.0.2 → 58.0.4
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 +31 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,37 @@ 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.0.4] - 2026-11-11
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- The admin consent form list loads again. `ConsentFormList` sorts by `-created` (and by its Title, Type, Version, Active, and Order columns), but `ConsentApp`'s `/consent-forms` router did not declare those as `sortFields`, so every list request returned 400 `sort-field-not-allowed`. Both `/consent-forms` and `/consent-responses` now allow sorting by the fields their admin metadata marks sortable; other fields are still rejected.
|
|
28
|
+
|
|
29
|
+
## [58.0.3] - 2026-11-11
|
|
30
|
+
|
|
31
|
+
Upgrade note: [`mcp-server/src/docs/upgrades/58.0.3.md`](mcp-server/src/docs/upgrades/58.0.3.md).
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
|
|
35
|
+
- `fix-code-scanning-alerts` skill: clears every open CodeQL alert on one PR. Fixes close on the master rescan; reviewed false positives go in `.github/code-scanning/dismissals.json` and a workflow dismisses them after merge. CodeQL now also scans pull requests and ignores test files. See `docs/how-to/fix-code-scanning-alerts.md`.
|
|
36
|
+
- **@terreno/syncdb:** `registerTerrenoDevClientDispatch`, `registerTerrenoDevStorage`, and `registerTerrenoDevCommand` for `terreno-mcp-local` dev tooling.
|
|
37
|
+
- **@terreno/mcp-server:** `read_logs` sources `network` and `native`; `dispatch_client_action`, storage read/write, and dev command list/invoke; CDP network capture with header redaction.
|
|
38
|
+
|
|
39
|
+
### Changed
|
|
40
|
+
|
|
41
|
+
- Package tests run as concurrent `bun test --shard` processes through `scripts/test-shards.ts` (half the cores by default, `TERRENO_TEST_SHARDS` to override), and `test:coverage` merges the shards' LCOV. CircleCI now pins Bun 1.4.4, the same version as the local toolchain.
|
|
42
|
+
|
|
43
|
+
### Fixed
|
|
44
|
+
|
|
45
|
+
- `Avatar` no longer freezes release builds when its image fails to load. The image error handler passed the native error event to `console.warn`, and with Sentry enabled the app hung while turning that event into a breadcrumb. It now logs only the error message.
|
|
46
|
+
- Mongo filters built from request values reject non-string input with 400 instead of running it as a query operator: AI request explorer `model`, observability review `status`, review batch `promptName`, experiment `datasetId`, trace list filters, push-token `platform`, and `loadDocOr404` ids (404). Sync conflict reloads and tombstone lookups match `_id` with `$eq`.
|
|
47
|
+
- Nested-path helpers in `populate`, RBAC field views, and MCP `excludeFields` skip `__proto__`, `constructor`, and `prototype`, so a crafted path can no longer touch `Object.prototype`.
|
|
48
|
+
- Removed polynomial-time regexes from bearer-header parsing, trailing-slash trimming (syncdb, ui `ListDetailLayout`, jobs Cloud Tasks runner, admin route paths), prompt references, judge score ranges, AI JSON fence stripping, and the MCP import parser.
|
|
49
|
+
- Dataset schema validation stops at the first error (`allErrors` off) to bound work on untrusted input.
|
|
50
|
+
- `isTestUser` in `@terreno/ui` matches `nang.io` and `example.com` as the email domain or a subdomain, not as a substring, and always returns a boolean.
|
|
51
|
+
- MCP OAuth metadata responses set an explicit JSON content type.
|
|
52
|
+
- The example app's AI session id comes from `expo-crypto` `randomUUID` instead of `Math.random`.
|
|
53
|
+
|
|
23
54
|
## [58.0.2] - 2026-11-09
|
|
24
55
|
|
|
25
56
|
### Fixed
|
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@biomejs/biome": "2.5.13",
|
|
25
25
|
"@reduxjs/toolkit": "^2.11.1",
|
|
26
|
-
"@terreno/ui": "58.0.
|
|
26
|
+
"@terreno/ui": "58.0.4",
|
|
27
27
|
"@testing-library/react-native": "^13.2.0",
|
|
28
28
|
"@types/bun": "^1.4.0",
|
|
29
29
|
"@types/express": "^5.0.6",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"main": "dist/index.js",
|
|
66
66
|
"name": "@terreno/test",
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@terreno/ui": "58.0.
|
|
68
|
+
"@terreno/ui": "58.0.4",
|
|
69
69
|
"@testing-library/react-native": "^13.2.0",
|
|
70
70
|
"mongoose": "^8.0.0 || ^9.0.0",
|
|
71
71
|
"react": "19.3.0",
|
|
@@ -104,12 +104,12 @@
|
|
|
104
104
|
"lint": "biome check ./src ./e2e",
|
|
105
105
|
"lint:fix": "biome check --write ./src ./e2e",
|
|
106
106
|
"smoke": "bun e2e/smoke.ts",
|
|
107
|
-
"test": "bun test",
|
|
108
|
-
"test:agent": "AGENT=1 bun test --only-failures",
|
|
109
|
-
"test:ci": "bun test",
|
|
107
|
+
"test": "bun ../scripts/test-shards.ts",
|
|
108
|
+
"test:agent": "AGENT=1 bun ../scripts/test-shards.ts -- --only-failures",
|
|
109
|
+
"test:ci": "bun ../scripts/test-shards.ts",
|
|
110
110
|
"test:coverage": "bun run ../scripts/check-coverage.ts",
|
|
111
111
|
"typecheck": "tsc -p tsconfig.typecheck.json"
|
|
112
112
|
},
|
|
113
113
|
"types": "dist/index.d.ts",
|
|
114
|
-
"version": "58.0.
|
|
114
|
+
"version": "58.0.4"
|
|
115
115
|
}
|