Conversation
a1bd21e to
1a3c9d7
Compare
301fcd2 to
2a05443
Compare
2a05443 to
72dd474
Compare
72dd474 to
edacaa3
Compare
db42d83 to
f922ab8
Compare
f922ab8 to
4b1af3d
Compare
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.
This PR was opened by the Changesets release 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/adapter-netlify@6.0.0
Major Changes
breaking:
platform.contextis now the modern Netlify Functions ([#15203](https://github.com/sveltejs/kit/pull/15203))context
Previously, this was the AWS Lambda-style
context.
If you were using this in your app (unlikely), you will need to update your code to read from new fields.
Minor Changes
feat: Migrate to the modern Netlify Functions API (#15203)
The Netlify adapter now generates "v2" Netlify Functions, which uses modern standards (ESM,
Request,Response) instead of the legacy "Lambda-compatible" or "v1" format. Under the hood, this greatly simplifies the adapter code and improves maintainability.For more details on features this unlocks for your SvelteKit app, see
https://developers.netlify.com/guides/migrating-to-the-modern-netlify-functions/.
feat: allow configuring redirects in
netlify.toml(#15203)The limitation of only being able to configure redirects via the
_redirectsfile has been removed.Patch Changes
fix: populate
App.Platformwithcontextproperty (#15203)Updated dependencies [
37293a5,5d05ca6,ed69b77,b1fc959,159aece,c690579,dc8cf2d,ace2116,0f38f49]:@sveltejs/kit@2.51.0
Minor Changes
feat: add
scrollproperty toNavigationTargetin navigation callbacks (#15248)Navigation callbacks (
beforeNavigate,onNavigate, andafterNavigate) now include scroll position information via thescrollproperty onfromandtotargets:from.scroll: The scroll position at the moment navigation was triggeredto.scroll: InbeforeNavigateandonNavigate, this is populated forpopstatenavigations (back/forward) with the scroll position that will be restored, andnullfor other navigation types. InafterNavigate, this is always the final scroll position after navigation completed.This enables use cases like animating transitions based on the target scroll position when using browser back/forward navigation.
feat:
hydratable's injected script now works with CSP (#15048)Patch Changes
fix: put preloads before styles (#15232)
fix: suppress false-positive inner content warning when children prop is forwarded to a child component (#15269)
fix:
fetchnot working when URL is same host but different thanpaths.base(#15291)fix: navigate to hash link when base element is present (#15236)
fix: avoid triggering
handleErrorwhen redirecting in a remote function (#15222)fix: include
testdirectory in generatedtsconfig.jsonalongside existingtestsentry (#15254)fix: generate
tsconfig.jsonusing the value ofkit.files.src(#15253)@sveltejs/adapter-cloudflare@7.2.7
Patch Changes
fix: error if
_routes.jsonis in the/staticpublic directory (#12821)fix: correctly handle pathnames found in the
_redirectsfile (#12821)Updated dependencies [
37293a5,5d05ca6,ed69b77,b1fc959,159aece,c690579,dc8cf2d,ace2116,0f38f49]:@sveltejs/adapter-node@5.5.3
Patch Changes
fix: validate
ORIGINenv var at startup (#15045)chore(deps): update dependency
@rollup/plugin-commonjsto v29 (#14856)Updated dependencies [
37293a5,5d05ca6,ed69b77,b1fc959,159aece,c690579,dc8cf2d,ace2116,0f38f49]:@sveltejs/enhanced-img@0.10.1
Patch Changes
import.meta.DEVwithimport.meta.env.DEVin generated code (#15285)