v4.0.0 #123
jonasgeiler
announced in
Announcements
v4.0.0
#123
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Svelte 5 Support is officially here!
After a way too long wait, which I (@jonasgeiler) really apologize for, I have finally managed to get back to this project and finalize a few last things for the full
v4release. I have noticed that many people were already using thenexttag on NPM anyways.About
Since version
4.0.0-rc.2I have mainly added some bug fixes, both contributed by users and some that I have found. Apart from that, I have made some behind-the-scenes changes that should help with future development.A big thank you to everyone who helped out with their PRs! ❤️
Migration from version
4.0.0-rc.2to version4.0.0There should not have been any breaking changes since
4.0.0-rc.2.If you are using version
4.0.0-rc.2, or thenexttag, you should be able to bump your dependency tov4.0.0without any problems.package.jsonExamples:Migration from version
3.0.1to version4.0.0childrensnippet has been deprecated and will be removed in the next major version. Please use the newitemsnippet instead.Example:
<VirtualList width="100%" height={600} itemCount={data.length} itemSize={50}> - {#snippet children({ style, index })} + {#snippet item({ style, index })} <div {style}> Letter: {data[index]}, Row: #{index} </div> {/snippet} </VirtualList>onListItemsUpdatecallback has been deprecated and will be removed in the next major version. Please use the newonItemsUpdatedcallback instead.Example:
What's Changed
General
childrensnippet. Useiteminstead!onListItemsUpdatecallback. UseonItemsUpdatedinstead!SizeAndPositionManagerheightdefault to'100%'Element.scroll(...)legacy fallback since older browsers are not supported anymore anywaysvoidinstead ofnull/anyv20.17.0Dependencies
New Contributors
Full Changelog: v3.0.0...v4.0.0
Sponsors
Thank you to my GitHub Sponsors, @jakob-kruse (Jakob Kruse) and @xpcn2015 (xpcn)!!! 💖
Do you also want to appear here? Sponsor me!
This discussion was created from the release v4.0.0.
All reactions