Conversation
…timizing standard error mapping
🦋 Changeset detectedLatest commit: d92e75d The changes in this PR will be included in the next version bump. This PR includes no changesetsWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
arkenv
@arkenv/build
@arkenv/bun-plugin
@arkenv/core
@arkenv/fumadocs-ui
@arkenv/nextjs
@arkenv/nuxt
@arkenv/standard
@arkenv/vite-plugin
commit: |
Open
…pre-coercion model (#1193) Fixes #1178 Unifies the coercion execution model between the default `arkenv` and `arkenv/standard` entry points. Uses a pre-coercion flow that shallow-copies the env object and applies coercion prior to validation against the unmodified schema. ### Changes - Replace ArkType's `.pipe()` coercion wrapper with pre-coercion flow using `findCoercionPaths` + `applyCoercion` directly in `packages/arkenv/src/arktype/index.ts` - Delete the redundant wrapper file `packages/arkenv/src/arktype/coercion/coerce.ts` and its re-export - Update `coerce.test.ts` unit tests to use a local helper mapping the pre-coercion flow - Update coercion documentation, FAQ, Standard Schema docs, and ADR-0002
Contributor
📦 Bundle Size Report
✅ All size limits passed! |
…s in CONTRIBUTING.md
Version Packages (alpha)
…dation error types
… build-time configuration
…and-formatting (v1) Unify error normalization and formatting
Version Packages (alpha)
# Conflicts: # apps/www/content/docs/nextjs/layouts/simple.mdx
This PR was opened by the [Changesets release](https://github.com/changesets/action) 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 v1, this PR will be updated.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ `v1` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `v1`.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ # Releases ## @arkenv/bun-plugin@1.0.0-alpha.3 ### Major Changes - #### Move `arkenv` to peer dependencies in framework plugins _[`#1202`](#1202) [`763270c`](763270c) [@yamcodes](https://github.com/yamcodes)_ Framework plugins no longer declare `arkenv` as a regular dependency. `arkenv` is now declared as a `peerDependency` with a caret range (`^1.0.0`), ensuring a single shared instance across all plugins and the host application. This change prevents duplicate instances of `arkenv` in `node_modules`, which could break ArkType structural typing and schema validation at runtime. Plugins affected: - `@arkenv/nextjs` - `@arkenv/nuxt` - `@arkenv/vite-plugin` - `@arkenv/bun-plugin` Before: ```bash npm install @arkenv/nextjs ``` After: ```bash npm install arkenv @arkenv/nextjs ``` **BREAKING CHANGE:** Users must now install `arkenv` alongside the plugin. Previously, `arkenv` was automatically pulled in as a regular dependency. ## @arkenv/nextjs@1.0.0-alpha.3 ### Major Changes - #### Move `arkenv` to peer dependencies in framework plugins _[`#1202`](#1202) [`763270c`](763270c) [@yamcodes](https://github.com/yamcodes)_ Framework plugins no longer declare `arkenv` as a regular dependency. `arkenv` is now declared as a `peerDependency` with a caret range (`^1.0.0`), ensuring a single shared instance across all plugins and the host application. This change prevents duplicate instances of `arkenv` in `node_modules`, which could break ArkType structural typing and schema validation at runtime. Plugins affected: - `@arkenv/nextjs` - `@arkenv/nuxt` - `@arkenv/vite-plugin` - `@arkenv/bun-plugin` Before: ```bash npm install @arkenv/nextjs ``` After: ```bash npm install arkenv @arkenv/nextjs ``` **BREAKING CHANGE:** Users must now install `arkenv` alongside the plugin. Previously, `arkenv` was automatically pulled in as a regular dependency. ## @arkenv/nuxt@1.0.0-alpha.1 ### Major Changes - #### Move `arkenv` to peer dependencies in framework plugins _[`#1202`](#1202) [`763270c`](763270c) [@yamcodes](https://github.com/yamcodes)_ Framework plugins no longer declare `arkenv` as a regular dependency. `arkenv` is now declared as a `peerDependency` with a caret range (`^1.0.0`), ensuring a single shared instance across all plugins and the host application. This change prevents duplicate instances of `arkenv` in `node_modules`, which could break ArkType structural typing and schema validation at runtime. Plugins affected: - `@arkenv/nextjs` - `@arkenv/nuxt` - `@arkenv/vite-plugin` - `@arkenv/bun-plugin` Before: ```bash npm install @arkenv/nextjs ``` After: ```bash npm install arkenv @arkenv/nextjs ``` **BREAKING CHANGE:** Users must now install `arkenv` alongside the plugin. Previously, `arkenv` was automatically pulled in as a regular dependency. ## @arkenv/vite-plugin@1.0.0-alpha.3 ### Major Changes - #### Move `arkenv` to peer dependencies in framework plugins _[`#1202`](#1202) [`763270c`](763270c) [@yamcodes](https://github.com/yamcodes)_ Framework plugins no longer declare `arkenv` as a regular dependency. `arkenv` is now declared as a `peerDependency` with a caret range (`^1.0.0`), ensuring a single shared instance across all plugins and the host application. This change prevents duplicate instances of `arkenv` in `node_modules`, which could break ArkType structural typing and schema validation at runtime. Plugins affected: - `@arkenv/nextjs` - `@arkenv/nuxt` - `@arkenv/vite-plugin` - `@arkenv/bun-plugin` Before: ```bash npm install @arkenv/nextjs ``` After: ```bash npm install arkenv @arkenv/nextjs ``` **BREAKING CHANGE:** Users must now install `arkenv` alongside the plugin. Previously, `arkenv` was automatically pulled in as a regular dependency. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
closes #1199 --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…e architecture documentation
…ges/arkenv as the CLI entry point
Version Packages (alpha)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://arkenv-v1.vercel.app