Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/rich-dragons-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

docs: adjust the release version of explicit env vars
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/src/exports/public.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading