2026-06-23
- #827 (minor) - SvelteKit on Cloudflare now works with the standard varlockVitePlugin() — it auto-detects the @sveltejs/adapter-cloudflare adapter (configured in svelte.config.js or inline in vite.config) and injects the Workers env loader automatically. The same import now works across all deploy targets. varlockSvelteKitCloudflarePlugin is deprecated; install @varlock/cloudflare-integration alongside the vite plugin for Cloudflare deploys.
2026-06-03
- #656 (patch) - add @encryptInjectedEnv and @disableProcessEnvInjection root decorators for encrypted deployments
2026-05-24
- #708 - set __VARLOCK_ENV on failure so ENV proxy can initialize with partial data
- #708 - styled html error page for varlock load failures in dev mode
2026-05-06
- #690 - fix cloudflare + tanstack start + vite 6/7/8 compatibility
2026-05-02
- #681 - Add --summary-stderr/--summary-file flags to varlock load and fullResult option to execSyncVarlock
2026-04-29
- Bump to avoid conflict with accidental 1.0.0 publish (long time ago)
2026-04-29
- Updated dependency
varlockv1.0.0
-
#542
02e82d0- Fix Vitest workspace projects in monorepos: when running Vitest from the monorepo root using theprojectsconfig, varlock now correctly resolves.env.schemaand.envfiles from each child package's directory instead of only looking in the monorepo root. -
Updated dependencies [
2022ef7,74752a3,0ea6641,6ab2d31,01c9a6a,1a4b0cf,02e82d0,0c27ed1]:- varlock@0.7.2
-
#527
e67ee2f- Improve invalid config handling in CLI and Vite integrationvarlock load --format json-fullnow outputs partial JSON (witherrorsfield) even when validation fails, enabling consumers to access sources and valid config items- Vite plugin gracefully handles invalid config in dev mode: shows error page and automatically recovers when the config is fixed
- Vite build output now includes specific error details when config validation fails
-
Updated dependencies [
0d25aa5,004e181,e67ee2f]:- varlock@0.7.1
-
#480
39d88a9- New@varlock/cloudflare-integrationpackage for Cloudflare WorkersvarlockCloudflareVitePlugin()— Vite plugin that reads secrets from Cloudflare bindings at runtime instead of bundling them into worker codevarlock-wranglerCLI — drop-in wrangler replacement that uploads non-sensitive values as vars and sensitive values as secrets on deploy; injects env into miniflare via Unix named pipe in dev; watches .env files for changes; generates correct Env types@varlock/cloudflare-integration/init— standalone init module for non-Vite workers Refactors@varlock/vite-integrationto remove Cloudflare-specific logic and add generic extension points (ssrEntryCode,ssrEdgeRuntime,ssrEntryModuleIds) for platform integrations.
-
Updated dependencies [
ba61adb,6fe325d,76c17f8,7f32751]:- varlock@0.7.0
-
#459
763b4fc- detect cloudflare/worker-entry as additional entry point -
#453
bb1c075- Add support for configuring the default env file load path viapackage.json.You can now set a
varlock.loadPathkey in yourpackage.jsonto configure the default path used when loading.envfiles:{ "varlock": { "loadPath": "./envs/" } }This is useful when you store your
.envfiles in a custom directory (e.g., when using Vite'senvDiroption). The CLI--pathflag continues to override this setting when provided.The Vite integration will also now show a warning if
envDiris set in your Vite config, with instructions to usevarlock.loadPathinpackage.jsoninstead. -
Updated dependencies [
bb1c075]:- varlock@0.6.3
-
#402
f1873ec- Fix ENV.* static replacement being skipped for Vite dev module IDs with query suffixes (e.g.?tsr-split=componentfrom TanStack Router split routes). The file extension is now extracted from the path portion of the ID only, ignoring any query string or hash fragment. -
Updated dependencies [
4d436ff,ca51993]:- varlock@0.5.0
- Updated dependencies [
e30ec1f]:- varlock@0.4.0
- Updated dependencies [
1a42d3f,6b64a4f,98fccd6,9d8302f,2af0b2f,2d15354,ccff56b,2af0b2f]:- varlock@0.3.0
- Updated dependencies [
c872e71,fe893e2,15b9c81,e5c7d24,bcba478,558360a,50c4ad4,c0d9942]:- varlock@0.2.0
-
#163
8d31513- fix issue with executable path when running directly instead of via package manager -
Updated dependencies [
b6fc6dd,8d31513]:- varlock@0.0.15
- Updated dependencies [
9d9c8de]:- varlock@0.0.13
-
#132
330bd92- fix logic around setting process.env and handling empty/undefined vals -
Updated dependencies [
330bd92]:- varlock@0.0.11
- Updated dependencies [
17206e8]:- varlock@0.0.10
- #116
9e8b40a- - make Vite plugin work for SSR scenarios, injecting code and resolved env (in some cases)- detect Cloudflare Vite plugin
- make compatible with React Router 7
- simplify astro integration to rely on vite integration more
- Updated dependencies [
9e8b40a,86c02bf]:- varlock@0.0.9
-
#101
48d1c4d- new astro integration, based on vite integration -
Updated dependencies [
48d1c4d,d657b50]:- varlock@0.0.7