You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7e9cbc3
Browse filesBrowse the repository at this point in the historyBrowse files
* chore: bump version to 0.6.0
* chore: upgrade zod from v3 to v4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
## Unreleased
2
2
3
+
### Dependencies
4
+
5
+
-**Upgrade `zod` from `^3.25.42` to `^4.3.6`** — migrated all `z.record()` calls to require explicit key schema (`z.string()`), updated test assertions for changed error message format
Copy file name to clipboardExpand all lines: src/tools/create-style-tool/CreateStyleTool.input.schema.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import { z } from 'zod';
9
9
exportconstCreateStyleInputSchema=z.object({
10
10
name: z.string().describe('Human-readable name for the style'),
11
11
style: z
12
-
.record(z.any())
12
+
.record(z.string(),z.any())
13
13
.describe(
14
14
'Complete Mapbox Style Specification object. Must include: version (8), sources, layers. Optional: sprite, glyphs, center, zoom, bearing, pitch, metadata, etc. See https://docs.mapbox.com/mapbox-gl-js/style-spec/'
0 commit comments