Skip to content

Version Packages#204

Merged
yamcodes merged 1 commit intomainfrom
changeset-release/main
Oct 6, 2025
Merged

Version Packages#204
yamcodes merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Oct 6, 2025

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

arkenv@0.7.2

Patch Changes

  • Support array defaults using type().default() syntax #199 e50dba1 @copilot-swe-agent

    Fix to an issue where type("array[]").default(() => [...]) syntax was not accepted by createEnv due to overly restrictive type constraints. The function now accepts any string-keyed record while still maintaining type safety through ArkType's validation system.

    New Features
    • Array defaults to empty using type("string[]").default(() => []) syntax
    • Support for complex array types with defaults
    • Mixed schemas combining string-based and type-based defaults
    Example
    const env = arkenv({
      ALLOWED_ORIGINS: type("string[]").default(() => ["localhost"]),
      FEATURE_FLAGS: type("string[]").default(() => []),
      PORT: "number.port",
    });

@arkenv/vite-plugin@0.0.12

Patch Changes

Updated 1 dependency

e50dba1

  • arkenv@0.7.2

@vercel
Copy link

vercel bot commented Oct 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
arkenv Ready Ready Preview Comment Oct 6, 2025 2:53pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 6, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Note

Free review on us!

CodeRabbit is offering free reviews until Wed Oct 08 2025 to showcase some of the refinements we've made.

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot force-pushed the changeset-release/main branch from ed03f88 to f60ff12 Compare October 6, 2025 14:51
@yamcodes yamcodes merged commit cc7d0ba into main Oct 6, 2025
3 checks passed
@yamcodes yamcodes deleted the changeset-release/main branch October 6, 2025 14:57
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