Skip to content

Conversation

@G4brym
Copy link
Member

@G4brym G4brym commented Nov 11, 2025

You can try out the pre-release using this command: npm i https://pkg.pr.new/cloudflare/chanfana@291
Migration guide here: https://github.com/cloudflare/chanfana/blob/next/docs/migration-to-chanfana-3.md

Changelog:

  • upgrade to zod v4
  • improved type hint on lifecycle method for auto endpoints
  • Update auto-endpoint, now correctly handles Zod 4 optional fields with defaults, preventing partial updates from resetting non-provided fields to their default values

@G4brym G4brym changed the title DRAFT: Chanfana 3.0.0 (zod v4) Pre-Release: Chanfana 3.0.0 (zod v4) Nov 11, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 11, 2025

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/chanfana@291

commit: 53736ac

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants