Skip to content

docs: fix explicit env vars docs version#15968

Merged
Rich-Harris merged 3 commits into
sveltejs:mainfrom
WarningImHack3r:docs/fix-env-vars-version
Jun 7, 2026
Merged

docs: fix explicit env vars docs version#15968
Rich-Harris merged 3 commits into
sveltejs:mainfrom
WarningImHack3r:docs/fix-env-vars-version

Conversation

@WarningImHack3r

@WarningImHack3r WarningImHack3r commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

#15934 was created before Kit 2.62 got released, thus its docs updates naturally indicated 2.62 as a target version. However, 2.62 got released before merging this PR (or not including it). As a result, the "since version" is erroneous.

This PR fixes this by bumping the numbers everywhere the original PR set them to 2.63, which actually includes the change.


Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.

Tests

  • Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

  • Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

@changeset-bot

changeset-bot Bot commented Jun 6, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3995c50

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Rich-Harris Rich-Harris left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@Rich-Harris Rich-Harris merged commit a31fdc6 into sveltejs:main Jun 7, 2026
45 of 47 checks passed
This was referenced Jun 7, 2026
Rich-Harris pushed a commit that referenced this pull request Jun 8, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) 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
## @sveltejs/kit@2.63.1

### Patch Changes


- fix: use SSE for `query.live`
([#15957](#15957))


- fix: use forward slashes in the generated `env.d.ts` import path on
Windows ([#15977](#15977))


- fix: allow `$app/environment` with a warning when
`explicitEnvironmentVariables` is enabled
([#15980](#15980))


- fix: avoid importing Vite while validating explicit environment
variables ([#15953](#15953))


- docs: adjust the release version of explicit env vars
([#15968](#15968))


- fix: ensure `version` is defined when importing from `$app/env` with
explicit environment variables
([#15971](#15971))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
'@sveltejs/kit': patch
---

docs: adjust the release version of explicit env vars

@teemingc teemingc Jun 8, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that I don’t think we need a changeset for doc changes in the future

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn’t sure as I changed parts of the package
Noted!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I used to think the same. I think we omit it if it there are no new changes to how the user interacts with the framework or how their app runs.

Rich-Harris pushed a commit that referenced this pull request Jun 8, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) 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 version-3, this PR
will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`version-3` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `version-3`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @sveltejs/kit@3.0.0-next.2

### Patch Changes


- fix: use SSE for `query.live`
([#15957](#15957))


- fix: use forward slashes in the generated `env.d.ts` import path on
Windows ([#15977](#15977))


- fix: avoid importing Vite while validating explicit environment
variables ([#15953](#15953))


- docs: adjust the release version of explicit env vars
([#15968](#15968))


- fix: ensure `version` is defined when importing from `$app/env` with
explicit environment variables
([#15971](#15971))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

3 participants