Skip to content

Update zod-documentation extension#28231

Merged
raycastbot merged 3 commits into
raycast:mainfrom
ezzylan:ext/zod-documentation
May 22, 2026
Merged

Update zod-documentation extension#28231
raycastbot merged 3 commits into
raycast:mainfrom
ezzylan:ext/zod-documentation

Conversation

@ezzylan

@ezzylan ezzylan commented May 21, 2026

Copy link
Copy Markdown
Contributor

Description

  • Updated the Zod documentation extension to include Zod 4
  • Added the ability to toggle between Zod 4 and 3

Screencast

zod-4-docs

Checklist

- update package lock
- Merge branch \'contributions/merge-1779393754064\'
- Pull contributions
- Merge branch \'contributions/merge-1779393703277\'
- Pull contributions
- Merge branch \'contributions/merge-1779393586186\'
- Pull contributions
- feat: add Zod 4 docs
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: zod-documentation Issues related to the zod-documentation extension platform: macOS labels May 21, 2026
@raycastbot

raycastbot commented May 21, 2026

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @danieldeichfuss you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

📋 Quick checkout commands
BRANCH="ext/zod-documentation"
FORK_URL="https://github.com/ezzylan/raycast-extensions.git"
EXTENSION_NAME="zod-documentation"
REPO_NAME="raycast-extensions"

git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

@ezzylan
ezzylan marked this pull request as ready for review May 21, 2026 20:08
@greptile-apps

greptile-apps Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR updates the Zod documentation extension to support both Zod 4 and Zod 3, adds a version dropdown to toggle between them, and migrates the ESLint config to the v9 flat format.

  • Adds Zod 4 doc data alongside existing Zod 3 data, with a flattenDocs(zodVersion) dispatcher that correctly routes to per-version URL builders (Zod 4 uses the current zod.dev domain; Zod 3 uses the v3 subdomain).
  • Introduces a ZodVersionDropdown in the list's search bar accessory driven by local React state, fixing the earlier module-level snapshot issue.
  • Removes the unused @raycast/utils dependency and replaces the legacy .eslintrc.json with an ESLint v9 flat config.

Confidence Score: 5/5

Safe to merge after the changelog date placeholder is corrected.

The core logic changes are correct — version-specific URLs are hardcoded per function rather than computed from a shared snapshot, so switching between Zod 3 and Zod 4 produces the right links. The only change needed is a one-word fix to the changelog date.

CHANGELOG.md — uses a hardcoded date instead of the {PR_MERGE_DATE} placeholder.

Important Files Changed

Filename Overview
extensions/zod-documentation/CHANGELOG.md New entry uses a hardcoded date (2026-05-22) instead of the required {PR_MERGE_DATE} placeholder.
extensions/zod-documentation/src/flatten-docs.ts URL construction correctly hardcodes per-version base URLs; zodVersion is properly passed as a parameter rather than captured at module load time.
extensions/zod-documentation/src/search-documentation.tsx Clean implementation of the Zod version dropdown and list; passes zodVersion as a parameter to flattenDocs correctly.
extensions/zod-documentation/package.json Unused @raycast/utils dependency removed; only @raycast/api remains as a production dependency.
extensions/zod-documentation/eslint.config.js Migrated from legacy .eslintrc.json to ESLint v9 flat config with correct defineConfig import from eslint/config.
Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 1
extensions/zod-documentation/CHANGELOG.md:3
The new changelog entry uses a hardcoded date instead of the `{PR_MERGE_DATE}` placeholder. Per the Raycast changelog convention, new entries should use `{PR_MERGE_DATE}`, which is automatically populated when the PR is merged.

```suggestion
## [Zod 4] - {PR_MERGE_DATE}
```

Reviews (3): Last reviewed commit: "Update CHANGELOG.md, add platforms field..." | Re-trigger Greptile

Comment thread extensions/zod-documentation/src/flatten-docs.ts Outdated
Comment thread extensions/zod-documentation/package.json Outdated
@0xdhrv 0xdhrv self-assigned this May 22, 2026

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved ✅

@raycastbot
raycastbot merged commit dfb8006 into raycast:main May 22, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Published to the Raycast Store:
https://raycast.com/danieldeichfuss/zod-documentation

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

raycastbot added a commit that referenced this pull request May 22, 2026
* Update scheduler extension

- Add Node types and refresh scheduler lockfile
- set RefreshStatus on all command calls
- fix(scheduler): add missing code changes
- fix: add missing BACKGROUND_REFRESH_STATUS to STORAGE_KEYS
- Pull contributions
- feat: add background refresh status alert to scheduled command form
- Document Raycast 2.0 draft fix
- Fix Raycast drafts for scheduled command creation
- Refresh scheduler lockfile for updated lint stack
- Refactor scheduler configuration UI
- Update CODEOWNERs (dfb8006)
- Update zod-documentation extension (#28231)
- Merge branch \'contributions/merge-1779423090011\' into updates
- Pull contributions
- Merge branch \'contributions/merge-1779421935382\' into updates
- Pull contributions
- Document Raycast 2.0 draft fix
- Fix Raycast drafts for scheduled command creation
- Refresh scheduler lockfile for updated lint stack
- Refactor scheduler configuration UI
- Update scheduler dependencies
- fix(scheduler) fix 15, 30, and 60 minute schedules
- Merge branch \'contributions/merge-1772724036961\'
- Pull contributions
- Fix "once" commands not being disabled after successful execution
- Fix execution of view-based commands scheduled in background
- Merge contributions, downgrade eslint to v9 for peer dep compat
- Pull contributions
- Bump dependencies
- Fix storage race conditions, add data normalization and auto-disable
- update npm dependencies
- set RefreshStatus on all command calls
- update dependencies
- fix(scheduler): add missing code changes
- package-lock.json update
- fix: add missing BACKGROUND_REFRESH_STATUS to STORAGE_KEYS
- Pull contributions
- update changelog
- docs: update CHANGELOG for background refresh alert feature
- feat: add background refresh status alert to scheduled command form

* Update CHANGELOG.md

---------

Co-authored-by: Charles Symons <dev@realitymanagement.com>
Co-authored-by: raycastbot <bot@raycast.com>
almatkai pushed a commit to almatkai/raymes-extensions that referenced this pull request Jul 13, 2026
* Update zod-documentation extension

- update package lock
- Merge branch \'contributions/merge-1779393754064\'
- Pull contributions
- Merge branch \'contributions/merge-1779393703277\'
- Pull contributions
- Merge branch \'contributions/merge-1779393586186\'
- Pull contributions
- feat: add Zod 4 docs

* fix: broken zod 3 links

* Update CHANGELOG.md, add platforms field and optimise images

---------

Co-authored-by: raycastbot <bot@raycast.com>
almatkai pushed a commit to almatkai/raymes-extensions that referenced this pull request Jul 13, 2026
* Update scheduler extension

- Add Node types and refresh scheduler lockfile
- set RefreshStatus on all command calls
- fix(scheduler): add missing code changes
- fix: add missing BACKGROUND_REFRESH_STATUS to STORAGE_KEYS
- Pull contributions
- feat: add background refresh status alert to scheduled command form
- Document Raycast 2.0 draft fix
- Fix Raycast drafts for scheduled command creation
- Refresh scheduler lockfile for updated lint stack
- Refactor scheduler configuration UI
- Update CODEOWNERs (dfb8006)
- Update zod-documentation extension (raycast#28231)
- Merge branch \'contributions/merge-1779423090011\' into updates
- Pull contributions
- Merge branch \'contributions/merge-1779421935382\' into updates
- Pull contributions
- Document Raycast 2.0 draft fix
- Fix Raycast drafts for scheduled command creation
- Refresh scheduler lockfile for updated lint stack
- Refactor scheduler configuration UI
- Update scheduler dependencies
- fix(scheduler) fix 15, 30, and 60 minute schedules
- Merge branch \'contributions/merge-1772724036961\'
- Pull contributions
- Fix "once" commands not being disabled after successful execution
- Fix execution of view-based commands scheduled in background
- Merge contributions, downgrade eslint to v9 for peer dep compat
- Pull contributions
- Bump dependencies
- Fix storage race conditions, add data normalization and auto-disable
- update npm dependencies
- set RefreshStatus on all command calls
- update dependencies
- fix(scheduler): add missing code changes
- package-lock.json update
- fix: add missing BACKGROUND_REFRESH_STATUS to STORAGE_KEYS
- Pull contributions
- update changelog
- docs: update CHANGELOG for background refresh alert feature
- feat: add background refresh status alert to scheduled command form

* Update CHANGELOG.md

---------

Co-authored-by: Charles Symons <dev@realitymanagement.com>
Co-authored-by: raycastbot <bot@raycast.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: zod-documentation Issues related to the zod-documentation extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants