fix: ensure Netlify ambient types work#16255
Merged
Merged
Conversation
|
Install the latest version of pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/1b40c5d0188798e6b649314e26b9ff12fed264d2Open in |
🦋 Changeset detectedLatest commit: 1b40c5d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
teemingc
commented
Jul 7, 2026
Comment on lines
-54
to
-55
| "@netlify/node-cookies": "^0.1.0", | ||
| "@netlify/types": "^2.3.0", |
Member
Author
There was a problem hiding this comment.
These two deps have been unused by us for a while now so they're just orphans here
teemingc
commented
Jul 7, 2026
Comment on lines
+50
to
+51
| '@netlify/dev': ^4.18.9 | ||
| '@netlify/edge-functions': ^3.0.8 |
Member
Author
There was a problem hiding this comment.
Bumped these versions so that they don't pull in duplicate packages from version discrepancies with @netlify/functions
elliott-with-the-longest-name-on-github
approved these changes
Jul 7, 2026
Rich-Harris
pushed a commit
that referenced
this pull request
Jul 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.7 ### Major Changes - breaking: change `form.error` type from `any` to `App.Error | undefined` ([#16245](#16245)) - feat: allow adapters to provide additional Vite plugins ([#16206](#16206)) - breaking: move tracing out of the experimental namespace and remove the instrumentation flag ([#16260](#16260)) - breaking: remove `$app/stores` ([#15499](#15499)) - breaking: disallow `*.remote.ts/js` files unless `experimental.remoteFunctions` is enabled ([#16247](#16247)) - breaking: remove param files in folder in favor of `params.js/ts` file ([#16189](#16189)) ### Patch Changes - fix: defer `query.refresh()` in server commands until after the command body completes ([#16225](#16225)) - fix: resolve service worker and `tsconfig.json` based on Vite `root` setting ([#16229](#16229)) - fix: populate `$app/env/*` dynamic variables in contexts that don't run the dev server, such as `vite-node` ([#16223](#16223)) - fix: no longer throw "An impossible situation occurred" when a server-only module is imported by both server and client code ([#16257](#16257)) - fix: set `define` values on `globalThis` when running Vitest ([#16246](#16246)) - fix: serve `.ico` files with `image/x-icon` Content-Type ([#16234](#16234)) - fix: make `paths.origin` type looser ([#16215](#16215)) - fix: avoid client build warning about externalising `node:async_hooks` ([#16244](#16244)) - fix: allow reserved words (e.g. `delete`, `class`) as remote function export names ([#16264](#16264)) ## @sveltejs/adapter-netlify@7.0.0-next.2 ### Patch Changes - fix: ensure types for `platform.context` work ([#16255](#16255)) - Updated dependencies [[`ba78a0b`](ba78a0b), [`a248c9b`](a248c9b), [`7596981`](7596981), [`be72ed9`](be72ed9), [`a5bd7e2`](a5bd7e2), [`dec671f`](dec671f), [`82f3867`](82f3867), [`97eb324`](97eb324), [`e2a9ac0`](e2a9ac0), [`309bfb4`](309bfb4), [`522a86b`](522a86b), [`0ff547f`](0ff547f), [`3d4ff91`](3d4ff91), [`c925f2a`](c925f2a), [`7daf445`](7daf445)]: - @sveltejs/kit@3.0.0-next.7 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@netlify/functionsshould be a dep because we use it in the ambient types we ship. Similar to the Cloudflare worker types we use in the Cloudflare adapter. When it's a dev dep, the package is missing for users and the type will beanyPlease don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm testand lint the project withpnpm lintandpnpm checkChangesets
pnpm changesetand following the prompts. Changesets that add features should beminorand those that fix bugs should bepatch. Please prefix changeset messages withfeat:,fix:, orchore:.Edits