Skip to content

[ci] release#36

Merged
marcomuser merged 2 commits intomainfrom
changeset-release/main
Sep 28, 2025
Merged

[ci] release#36
marcomuser merged 2 commits intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

conformal@2.1.0

Minor Changes

  • #35 3224bd7 Thanks @marcomuser! - Add coerce functions

    • Add coerceString, coerceNumber, coerceBigint, coerceBoolean, coerceDate, coerceFile, coerceArray functions
    • These utilities help convert form input values to their expected types
    • Essential for building custom schema implementations (like zod preproccessors or valibot transforms)
  • #35 3224bd7 Thanks @marcomuser! - Deprecate zod utilities

    • Mark conformal/zod utilities as deprecated
    • Zod's z.preprocess returns a ZodPipe which doesn't allow method chaining, making these utilities less useful than expected
    • Zod utilities will be removed in the next major release
    • Users can migrate to using z.preprocess with the new coerce functions directly:
    import * as z from "zod";
    import { coerceNumber } from "conformal";
    
    z.preprocess(coerceNumber, z.number().min(5));
  • #35 3224bd7 Thanks @marcomuser! - Add valibot schemas

    • Add conformal/valibot subpath with valibot utilities
    • Provides string, number, boolean, date, bigint, picklist, file, array schemas
    • Uses conformal's coerce functions for automatic form input preprocessing
    • Fully compatible with valibot and can be mixed with regular valibot schemas
    • Marked as experimental - API may change

Patch Changes

@marcomuser marcomuser merged commit 546cf77 into main Sep 28, 2025
1 check passed
@marcomuser marcomuser deleted the changeset-release/main branch September 28, 2025 11:22
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.

1 participant