Skip to content

Conversation

@florian-lefebvre
Copy link
Member

@florian-lefebvre florian-lefebvre commented Oct 13, 2025

Todo

  • experimental flag
  • public apis
    • actions
      • types
      • throw on incompatible schema version
      • runtime
    • content collections
      • types (different content typegen)
      • throw on incompatible schema version
      • runtime
    • live collections
      • types
      • throw on incompatible schema version
      • runtime
  • todos
    • error map
    • jsdoc
    • json schema upstream pr
  • cleanup
  • tests
  • docs
  • changeset
  • pr desc

Changes

Testing

Docs

@florian-lefebvre florian-lefebvre added this to the v6.0.0 milestone Oct 13, 2025
@florian-lefebvre florian-lefebvre self-assigned this Oct 13, 2025
@changeset-bot
Copy link

changeset-bot bot commented Oct 13, 2025

⚠️ No Changeset found

Latest commit: 099cd71

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@florian-lefebvre florian-lefebvre changed the title feat Oct 13, 2025
@florian-lefebvre florian-lefebvre changed the title feat: zod v Oct 13, 2025
@github-actions github-actions bot added pkg: example Related to an example package (scope) pkg: astro Related to the core `astro` package (scope) docs pr labels Oct 13, 2025
"astro": "^5.14.4",
"sharp": "^0.34.3"
"sharp": "^0.34.3",
"zod": "^4.0.0"
Copy link
Member Author

Choose a reason for hiding this comment

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

To be removed

@riderx
Copy link

riderx commented Oct 22, 2025

hey @florian-lefebvre if you need any help on that please share, i'm currently stuck with zod issue on build. i need zod 4 for my project but it fail as astro use v3

@florian-lefebvre
Copy link
Member Author

It may very well be possible we won't support zod 4 in Astro 6, we're still discussing it.

@riderx
Copy link

riderx commented Oct 22, 2025

@florian-lefebvre any chance you update to v4 but still use v3 zod/v3 internally to allow us to use it in our project without breaking the build?
Right now, if I'm on my website, which uses Astro, and I update to v4 my build breaks in astro internal, which is quite annoying.

@florian-lefebvre
Copy link
Member Author

That's a good idea but we can't yet because of a bug in an upstream library: StefanTerdell/zod-to-json-schema#179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs pr pkg: astro Related to the core `astro` package (scope) pkg: example Related to an example package (scope)

3 participants