Skip to content

⬆️ Update dependency arkenv to ^0.8.1 - #1021

Merged
gwennlbh merged 1 commit into
mainfrom
renovate/arkenv-0.x
Dec 29, 2025
Merged

gwennlbh merged 1 commit into
mainfrom
renovate/arkenv-0.x

Conversation

@renovate

@renovate renovate Bot commented Dec 28, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
arkenv (source) ^0.7.8 -> ^0.8.1 age confidence

Release Notes

yamcodes/arkenv (arkenv)

v0.8.1

Compare Source

Patch Changes
  • Strip undeclared keys from output by default #662 d83d746 @​yamcodes

    Environment variables not defined in your schema are now stripped from the output object by default.

    You can customize this behavior using the new onUndeclaredKey option.

    For example, assuming this is your .env file:

    MY_VAR=hello
    UNDECLARED_VAR=world

    And this is your schema:

    const env = arkenv({
      MY_VAR: type.string(),
    });
    
    console.log(env);

    Current output:

    {
      MY_VAR: "hello";
    }

    Previous output:

    {
    	MY_VAR: "hello",
    	UNDECLARED_VAR: "world"
    }

v0.8.0

Compare Source

Minor Changes
  • Coercion #569 adaada4 @​yamcodes

    Introducing Schema-Directed Coercion: now, environment variables defined as number or boolean in your schema are automatically parsed to their correct types.

    If you want to opt-out of this feature, pass config.coerce: false to createEnv() (arkenv()). Example:

    arkenv(schema, { coerce: false });

    To learn more about the new coercion system, read the docs.

    • BREAKING: The createEnv() function signature has changed to support a configuration object.
      Instead of createEnv(schema, env), use createEnv(schema, config) where config includes env (process.env by default, like before) and the newly added coerce option (true by default).
      For example, Vite users might need to update their vite.config.ts:
      const env = arkenv(Env, { env: loadEnv(mode, process.cwd(), "") });
    • BREAKING: The custom boolean morph has been removed. We now use arktype's standard boolean instead, which is coerced when used within createEnv / arkenv. This is only breaking if you specifically use boolean unrelated to createEnv / arkenv / our plugins and expect it to be coerced.
    • BREAKING: number.port is now a strict numeric refinement (0-65535). It no longer parses strings automatically outside of createEnv / arkenv. This is only breaking if you specifically use port unrelated to createEnv / arkenv / our plugins and expect it to be parsed as a number.
Patch Changes
  • Fix error formatting #582 674a2ad @​aruaycodes

    The ArkEnv error message is now formatted better, using correct spacing and removing the f prefix.

    Before:

    apps/playgrounds/node on  main [$] via 🤖 v24.11.1
    ❯ ns
    
    > node-playground@ start /Users/yamcodes/code/arkenv/apps/playgrounds/node
    > tsx --env-file .env index.ts
    
    /Users/yamcodes/code/arkenv/packages/arkenv/src/create-env.ts:49
                    throw new ArkEnvError(validatedEnv);
                          ^
    
    f [ArkEnvError]: Errors found while validating environment variables
      ZED_ENV must be present (was missing)
    
        at m (/Users/yamcodes/code/arkenv/packages/arkenv/src/create-env.ts:49:9)
        at <anonymous> (/Users/yamcodes/code/arkenv/apps/playgrounds/node/index.ts:4:13)
        at ModuleJob.run (node:internal/modules/esm/module_job:377:25)
        at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:671:26)
        at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)
    
    Node.js v24.11.1
     ELIFECYCLE  Command failed with exit code 1.
    

    After:

    apps/playgrounds/node on  improve-error-formatting [$?] via 🤖 v24.11.1
    ❯ ns
    
    > node-playground@ start /Users/yamcodes/code/arkenv/apps/playgrounds/node
    > tsx --env-file .env index.ts
    
    /Users/yamcodes/code/arkenv/packages/arkenv/src/create-env.ts:49
                    throw new ArkEnvError(validatedEnv);
                          ^
    
    ArkEnvError: Errors found while validating environment variables
      ZED_ENV must be present (was missing)
    
        at m (/Users/yamcodes/code/arkenv/packages/arkenv/src/create-env.ts:49:9)
        at <anonymous> (/Users/yamcodes/code/arkenv/apps/playgrounds/node/index.ts:4:13)
        at ModuleJob.run (node:internal/modules/esm/module_job:377:25)
        at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:671:26)
        at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)
    
    Node.js v24.11.1
     ELIFECYCLE  Command failed with exit code 1.
    

Configuration

📅 Schedule: Branch creation - Between 09:00 PM and 11:59 PM, only on Sunday ( * 21-23 * * 7 ), Between 12:00 AM and 04:59 PM, only on Monday ( * 0-16 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions

Copy link
Copy Markdown
Contributor

Bundle Stats

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
205 46.32 MB
12.06 MB
0%

Changeset

No files were changed

View detailed bundle breakdown

Added

Asset File Size % Changed
_app/immutable/nodes/16.Cto8zi0W.js 0 B → 395.57 kB (+395.57 kB)
0 B → 140.6 kB (gzip)
-
_app/immutable/chunks/h4CZtanT.js 0 B → 61.52 kB (+61.52 kB)
0 B → 27.69 kB (gzip)
-
_app/immutable/nodes/13.COZ6NltD.js 0 B → 29.86 kB (+29.86 kB)
0 B → 10.84 kB (gzip)
-
_app/immutable/nodes/2.Dvk4OUBC.js 0 B → 20.88 kB (+20.88 kB)
0 B → 9.67 kB (gzip)
-
_app/immutable/nodes/5.DGz7S1xC.js 0 B → 10.71 kB (+10.71 kB)
0 B → 4.41 kB (gzip)
-
_app/immutable/entry/app.C-4DfJU6.js 0 B → 8.44 kB (+8.44 kB)
0 B → 2.64 kB (gzip)
-

Removed

Asset File Size % Changed
_app/immutable/nodes/16.DfxvUSlu.js 395.57 kB → 0 B (-395.57 kB)
140.6 kB → 0 B (gzip)
-100%
_app/immutable/chunks/WsqrE-bR.js 61.52 kB → 0 B (-61.52 kB)
27.69 kB → 0 B (gzip)
-100%
_app/immutable/nodes/13.C0AQ54ts.js 29.86 kB → 0 B (-29.86 kB)
10.84 kB → 0 B (gzip)
-100%
_app/immutable/nodes/2.BlYEUSEe.js 20.88 kB → 0 B (-20.88 kB)
9.67 kB → 0 B (gzip)
-100%
_app/immutable/nodes/5.DnIh4IYZ.js 10.71 kB → 0 B (-10.71 kB)
4.41 kB → 0 B (gzip)
-100%
_app/immutable/entry/app.Dic_MeXE.js 8.44 kB → 0 B (-8.44 kB)
2.64 kB → 0 B (gzip)
-100%

Bigger

No assets were bigger

Smaller

No assets were smaller

@gwennlbh
gwennlbh merged commit f848bcf into main Dec 29, 2025
@renovate
renovate Bot deleted the renovate/arkenv-0.x branch December 29, 2025 01:13
renovate Bot added a commit that referenced this pull request Sep 24, 2026
##### [vv10.1.0](https://github.com/astral-sh/setup-uv/releases/tag/v10.1.0)

##### Changes

This release adds more bheind the scene security improvements and also 2 small improvements.

##### NO\_PROXY

This action now respects `no_proxy/NO_PROXY` environment variables which were previously ignored.

##### New output `python-runtime-id`

The new output `python-runtime-id` can be used to know which python version exactly was installed if you use `activate-environment`. See [pyca/cryptography#15572 (comment)](pyca/cryptography#15572 (comment)) for details on why this can be useful.

##### 🐛 Bug fixes

- fix: respect no proxy directive [@mj0nez](https://github.com/mj0nez) ([#1037](astral-sh/setup-uv#1037))
- Use JSON + a typed wrapper instead of TS codegen [@woodruffw](https://github.com/woodruffw) ([#1025](astral-sh/setup-uv#1025))

##### 🚀 Enhancements

- Expose a Python "identity" output [@woodruffw](https://github.com/woodruffw) ([#1036](astral-sh/setup-uv#1036))
- Verify downloads with astral-sh/versions checksums [@zaniebot](https://github.com/zaniebot) ([#1033](astral-sh/setup-uv#1033))

##### 🧰 Maintenance

- chore: update known checksums for 0.12.12 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1041](astral-sh/setup-uv#1041))
- chore: update known checksums for 0.12.10/0.12.11 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1038](astral-sh/setup-uv#1038))
- chore: update known checksums for 0.12.9 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1035](astral-sh/setup-uv#1035))
- chore: update known checksums for 0.12.7/0.12.8 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1031](astral-sh/setup-uv#1031))
- chore: update known checksums for 0.12.6 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1030](astral-sh/setup-uv#1030))
- chore: update known checksums for 0.12.5 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1020](astral-sh/setup-uv#1020))
- Use self-repo syntax for all in-repo actions/reusable workflows [@woodruffw](https://github.com/woodruffw) ([#1024](astral-sh/setup-uv#1024))
- Pin one-shot tools [@woodruffw](https://github.com/woodruffw) ([#1022](astral-sh/setup-uv#1022))
- ci: remove obsolete direct push attempts [@eifinger](https://github.com/eifinger) ([#1019](astral-sh/setup-uv#1019))

##### 📚 Documentation

- docs: update version references to v10.0.1 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1018](astral-sh/setup-uv#1018))

##### ⬆️ Dependency updates

- chore(deps-dev): roll up Dependabot updates [@eifinger](https://github.com/eifinger) ([#1043](astral-sh/setup-uv#1043))
- Harden npm install defaults [@zaniebot](https://github.com/zaniebot) ([#1026](astral-sh/setup-uv#1026))
- Add dependency cooldowns [@woodruffw](https://github.com/woodruffw) ([#1021](astral-sh/setup-uv#1021))
gwennlbh pushed a commit that referenced this pull request Sep 27, 2026
##### [vv10.1.0](https://github.com/astral-sh/setup-uv/releases/tag/v10.1.0)

##### Changes

This release adds more bheind the scene security improvements and also 2 small improvements.

##### NO\_PROXY

This action now respects `no_proxy/NO_PROXY` environment variables which were previously ignored.

##### New output `python-runtime-id`

The new output `python-runtime-id` can be used to know which python version exactly was installed if you use `activate-environment`. See [pyca/cryptography#15572 (comment)](pyca/cryptography#15572 (comment)) for details on why this can be useful.

##### 🐛 Bug fixes

- fix: respect no proxy directive [@mj0nez](https://github.com/mj0nez) ([#1037](astral-sh/setup-uv#1037))
- Use JSON + a typed wrapper instead of TS codegen [@woodruffw](https://github.com/woodruffw) ([#1025](astral-sh/setup-uv#1025))

##### 🚀 Enhancements

- Expose a Python "identity" output [@woodruffw](https://github.com/woodruffw) ([#1036](astral-sh/setup-uv#1036))
- Verify downloads with astral-sh/versions checksums [@zaniebot](https://github.com/zaniebot) ([#1033](astral-sh/setup-uv#1033))

##### 🧰 Maintenance

- chore: update known checksums for 0.12.12 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1041](astral-sh/setup-uv#1041))
- chore: update known checksums for 0.12.10/0.12.11 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1038](astral-sh/setup-uv#1038))
- chore: update known checksums for 0.12.9 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1035](astral-sh/setup-uv#1035))
- chore: update known checksums for 0.12.7/0.12.8 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1031](astral-sh/setup-uv#1031))
- chore: update known checksums for 0.12.6 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1030](astral-sh/setup-uv#1030))
- chore: update known checksums for 0.12.5 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1020](astral-sh/setup-uv#1020))
- Use self-repo syntax for all in-repo actions/reusable workflows [@woodruffw](https://github.com/woodruffw) ([#1024](astral-sh/setup-uv#1024))
- Pin one-shot tools [@woodruffw](https://github.com/woodruffw) ([#1022](astral-sh/setup-uv#1022))
- ci: remove obsolete direct push attempts [@eifinger](https://github.com/eifinger) ([#1019](astral-sh/setup-uv#1019))

##### 📚 Documentation

- docs: update version references to v10.0.1 @[github-actions\[bot\]](https://github.com/apps/github-actions) ([#1018](astral-sh/setup-uv#1018))

##### ⬆️ Dependency updates

- chore(deps-dev): roll up Dependabot updates [@eifinger](https://github.com/eifinger) ([#1043](astral-sh/setup-uv#1043))
- Harden npm install defaults [@zaniebot](https://github.com/zaniebot) ([#1026](astral-sh/setup-uv#1026))
- Add dependency cooldowns [@woodruffw](https://github.com/woodruffw) ([#1021](astral-sh/setup-uv#1021))

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

This branch was successfully deployed

3 active deployments
#1021: End-to-end tests report — 6322d280 Deployed Dec 28, 2025 by renovate[bot]
#1021: Unit tests report — 6322d280 Deployed Dec 28, 2025 by renovate[bot]
#1021: App preview — 6322d280 Deployed Dec 28, 2025 by renovate[bot]
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