From cbce6073fe4407b9278ca33ac8ae9372436e823f Mon Sep 17 00:00:00 2001 From: WarningImHack3r <43064022+WarningImHack3r@users.noreply.github.com> Date: Sat, 6 Jun 2026 22:12:46 +0200 Subject: [PATCH 1/3] docs: fix explicit env vars docs version --- documentation/docs/20-core-concepts/70-environment-variables.md | 2 +- packages/kit/src/exports/public.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/docs/20-core-concepts/70-environment-variables.md b/documentation/docs/20-core-concepts/70-environment-variables.md index 54dc82ab0fb8..16b0186d2ae1 100644 --- a/documentation/docs/20-core-concepts/70-environment-variables.md +++ b/documentation/docs/20-core-concepts/70-environment-variables.md @@ -20,7 +20,7 @@ By default, every environment variable is implicitly available inside your app v ## Explicit environment variables -As of SvelteKit 2.62, you can opt into _explicit_ environment variables, in which case you instead import environment variables from these modules: +As of SvelteKit 2.63, you can opt into _explicit_ environment variables, in which case you instead import environment variables from these modules: - [`$app/env/private`]($app-env-private) - [`$app/env/public`]($app-env-public) diff --git a/packages/kit/src/exports/public.d.ts b/packages/kit/src/exports/public.d.ts index 745cf149317a..0fd73e2eff99 100644 --- a/packages/kit/src/exports/public.d.ts +++ b/packages/kit/src/exports/public.d.ts @@ -478,7 +478,7 @@ export interface KitConfig { experimental?: { /** * Whether to enable explicit environment variables using `src/env.js` or `src/env.ts`. - * @since 2.62.0 + * @since 2.63.0 * @default false */ explicitEnvironmentVariables?: boolean; From 65e5ced0450be43b04887fd288165f33f5fec724 Mon Sep 17 00:00:00 2001 From: WarningImHack3r <43064022+WarningImHack3r@users.noreply.github.com> Date: Sat, 6 Jun 2026 22:18:05 +0200 Subject: [PATCH 2/3] add changeset --- .changeset/rich-dragons-rest.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/rich-dragons-rest.md diff --git a/.changeset/rich-dragons-rest.md b/.changeset/rich-dragons-rest.md new file mode 100644 index 000000000000..dd92cb20633c --- /dev/null +++ b/.changeset/rich-dragons-rest.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': patch +--- + +docs: adjust the release version of explicit env vars From 3995c509794e896d7cb8ad41f03268d628aa5e5c Mon Sep 17 00:00:00 2001 From: WarningImHack3r <43064022+WarningImHack3r@users.noreply.github.com> Date: Sat, 6 Jun 2026 22:24:52 +0200 Subject: [PATCH 3/3] ran prepublishonly --- packages/kit/types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kit/types/index.d.ts b/packages/kit/types/index.d.ts index fa15b700a746..e9d0d3c0fb8f 100644 --- a/packages/kit/types/index.d.ts +++ b/packages/kit/types/index.d.ts @@ -452,7 +452,7 @@ declare module '@sveltejs/kit' { experimental?: { /** * Whether to enable explicit environment variables using `src/env.js` or `src/env.ts`. - * @since 2.62.0 + * @since 2.63.0 * @default false */ explicitEnvironmentVariables?: boolean;