Skip to content

[Changesets] Versioned release#559

Open
varlock-bot wants to merge 1 commit intomainfrom
changeset-release/main
Open

[Changesets] Versioned release#559
varlock-bot wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@varlock-bot
Copy link
Copy Markdown
Contributor

@varlock-bot varlock-bot commented Apr 6, 2026

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

varlock@0.8.0

Minor Changes

  • #560 0ea6641 - Add varlock explain ITEM_KEY command and override indicators in varlock load output.

    Override indicators: When a config item's value comes from a process.env override rather than its file-based definitions, varlock load now shows a yellow indicator on that item. This helps users understand why their resolver functions (e.g. op()) are not being called.

    varlock explain command: Shows detailed information about how a single config item is resolved, including all definitions and sources in priority order, which source is active, whether a process.env override is in effect (and what would be used without it), decorators, type info, and documentation links.

Patch Changes

  • #534 74752a3 - Add version mismatch detection between standalone binary and local node_modules install

    When running the standalone binary (installed via homebrew/curl), varlock now checks if a different version is installed in the project's node_modules. If a version mismatch is detected, a warning is displayed suggesting users update the binary or use the locally installed version instead. This helps prevent confusing errors caused by running mismatched versions.

  • #553 6ab2d31 - Fix diamond dependency handling when the same schema is imported via multiple paths. Previously, duplicate imports caused plugin init decorators to run twice ("Instance already initialized" error). Now, duplicate imports create lightweight ImportAliasSource nodes that appear at the correct precedence position without re-initializing the source. This correctly handles different importKeys subsets across import sites and preserves override semantics matching non-deduplicated behavior. Also adds type field to serialized source entries for easier filtering.

  • #558 01c9a6a - Fix plugin resolution failure in monorepo workspaces where .git and the lockfile coexist in the same directory.

    detectWorkspaceInfo() was checking for a .git directory after moving to the parent, so in the standard monorepo layout (monorepo-root/.git + monorepo-root/bun.lock) the root was never scanned and the lockfile was never found. Moving the .git boundary check to before moving up ensures the git-root directory is always scanned first.

  • #547 1a4b0cf - Fix binary resolution in monorepos when cwd differs from the package root.

    When importing varlock/auto-load (e.g. from a playwright.config.ts in a monorepo sub-package), VS Code and similar tools may set process.cwd() to the workspace root rather than the sub-package directory. This caused execSyncVarlock to search for the varlock binary starting at the workspace root and fail to find it when it was only installed in a sub-package's node_modules/.bin.

    Two fixes are applied:

    1. execSyncVarlock now accepts a callerDir option. When provided, the binary search walks up from callerDir before falling back to process.cwd(). auto-load.ts passes import.meta.dirname so the search always starts from inside the varlock package itself, which is already in the correct sub-package's node_modules.

    2. The walk-up logic no longer throws immediately when it finds a node_modules/.bin directory that does not contain varlock. It now continues walking up, allowing the search to find varlock installed at a higher or lower level of a monorepo.

  • #542 02e82d0 - Fix Vitest workspace projects in monorepos: when running Vitest from the monorepo root using the projects config, varlock now correctly resolves .env.schema and .env files from each child package's directory instead of only looking in the monorepo root.

  • #550 0c27ed1 - Fix @generateTypes not creating variables when using a custom path with varlock typegen --path <file>

    When a schema file with an environment-qualifier-like name (e.g. .env.infra.schema) was passed as the explicit entry point via --path, its variables were being excluded from type generation. The filename was parsed such that infra was treated as an environment name (applyForEnv='infra'), causing the data source to be marked as environment-specific and all its variables to be filtered out.

    The fix ensures that a file loaded as the root entry point (no parent data source) is never treated as environment-specific, even if its filename contains an environment qualifier.

@varlock/astro-integration@0.2.8

Patch Changes

@varlock/cloudflare-integration@0.0.2

Patch Changes

@varlock/expo-integration@0.0.2

Patch Changes

@varlock/nextjs-integration@0.3.3

Patch Changes

  • #553 6ab2d31 - Fix diamond dependency handling when the same schema is imported via multiple paths. Previously, duplicate imports caused plugin init decorators to run twice ("Instance already initialized" error). Now, duplicate imports create lightweight ImportAliasSource nodes that appear at the correct precedence position without re-initializing the source. This correctly handles different importKeys subsets across import sites and preserves override semantics matching non-deduplicated behavior. Also adds type field to serialized source entries for easier filtering.

  • Updated dependencies [74752a3, 0ea6641, 6ab2d31, 01c9a6a, 1a4b0cf, 02e82d0, 0c27ed1]:

    • varlock@0.8.0

@varlock/vite-integration@0.2.10

Patch Changes

  • #542 02e82d0 - Fix Vitest workspace projects in monorepos: when running Vitest from the monorepo root using the projects config, varlock now correctly resolves .env.schema and .env files from each child package's directory instead of only looking in the monorepo root.

  • Updated dependencies [74752a3, 0ea6641, 6ab2d31, 01c9a6a, 1a4b0cf, 02e82d0, 0c27ed1]:

    • varlock@0.8.0

@varlock/1password-plugin@0.3.3

Patch Changes

  • #533 0b6b2c0 - Add support for 1Password Connect server (self-hosted)

    • New auth mode: connectHost + connectToken parameters in @initOp() for connecting to self-hosted 1Password Connect servers
    • Direct REST API integration — no op CLI or 1Password SDK required for Connect server usage
    • New opConnectToken data type for Connect server API tokens
    • Parses standard op://vault/item/[section/]field references and resolves them via the Connect API
    • Caches vault and item ID lookups within a session for efficiency
    • Clear error when opLoadEnvironment() is used with Connect (not supported by the Connect API)
    • Updated error messages and tips to include Connect server as an auth option
  • Updated dependencies [74752a3, 0ea6641, 6ab2d31, 01c9a6a, 1a4b0cf, 02e82d0, 0c27ed1]:

    • varlock@0.8.0

@varlock/aws-secrets-plugin@0.0.7

Patch Changes

@varlock/azure-key-vault-plugin@0.0.7

Patch Changes

@varlock/bitwarden-plugin@0.0.7

Patch Changes

@varlock/dashlane-plugin@0.0.2

Patch Changes

@varlock/google-secret-manager-plugin@0.2.2

Patch Changes

@varlock/hashicorp-vault-plugin@0.0.5

Patch Changes

@varlock/infisical-plugin@0.0.7

Patch Changes

@varlock/keepass-plugin@0.0.3

Patch Changes

@varlock/pass-plugin@0.0.7

Patch Changes

@varlock/passbolt-plugin@0.0.2

Patch Changes

@varlock/proton-pass-plugin@0.0.4

Patch Changes

@github-actions github-actions bot added release releases - managed by changesets core:varlock labels Apr 6, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 6, 2026

Open in StackBlitz

varlock

npm i https://pkg.pr.new/varlock@559

@varlock/astro-integration

npm i https://pkg.pr.new/@varlock/astro-integration@559

@varlock/cloudflare-integration

npm i https://pkg.pr.new/@varlock/cloudflare-integration@559

@varlock/expo-integration

npm i https://pkg.pr.new/@varlock/expo-integration@559

@varlock/nextjs-integration

npm i https://pkg.pr.new/@varlock/nextjs-integration@559

@varlock/vite-integration

npm i https://pkg.pr.new/@varlock/vite-integration@559

@varlock/1password-plugin

npm i https://pkg.pr.new/@varlock/1password-plugin@559

@varlock/aws-secrets-plugin

npm i https://pkg.pr.new/@varlock/aws-secrets-plugin@559

@varlock/azure-key-vault-plugin

npm i https://pkg.pr.new/@varlock/azure-key-vault-plugin@559

@varlock/bitwarden-plugin

npm i https://pkg.pr.new/@varlock/bitwarden-plugin@559

@varlock/dashlane-plugin

npm i https://pkg.pr.new/@varlock/dashlane-plugin@559

@varlock/google-secret-manager-plugin

npm i https://pkg.pr.new/@varlock/google-secret-manager-plugin@559

@varlock/hashicorp-vault-plugin

npm i https://pkg.pr.new/@varlock/hashicorp-vault-plugin@559

@varlock/infisical-plugin

npm i https://pkg.pr.new/@varlock/infisical-plugin@559

@varlock/keepass-plugin

npm i https://pkg.pr.new/@varlock/keepass-plugin@559

@varlock/pass-plugin

npm i https://pkg.pr.new/@varlock/pass-plugin@559

@varlock/passbolt-plugin

npm i https://pkg.pr.new/@varlock/passbolt-plugin@559

@varlock/proton-pass-plugin

npm i https://pkg.pr.new/@varlock/proton-pass-plugin@559

commit: 28c7585

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 6, 2026

Open in StackBlitz

npm i https://pkg.pr.new/varlock@559

commit: 17efe5d

@varlock-bot varlock-bot force-pushed the changeset-release/main branch from 889d8e3 to 28c7585 Compare April 7, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant