Skip to content

Releases: jonasgeiler/svelte-tiny-virtual-list

v4.0.0-rc.2

26 Aug 19:51
v4.0.0-rc.2
e7721f1

Choose a tag to compare

v4.0.0-rc.2 Pre-release
Pre-release

About

The third release candidate for v4.0.0 is here!
It contains many improvements that I found by looking at the code for way too long. I ended up changing quite a lot, which technically shouldn't happen between two release candidates, but I don't have any other release options at the moment 😅

Most importantly, I have deprecated the children snippet, and you should useitem instead, similar to how the slot was called in v3.0.0 and earlier versions.
The same applies to the onListItemsUpdate callback, where you should use onItemsUpdated instead, inspired by the naming of the event from v3.0.0 and earlier versions.
These two changes are backwards compatible, so you may see a TypeScript warning, but everything will remain functional until a potential v5.0.0 in the future, where deprecated APIs will be removed.
So I still recommend changing it!

I've hopefully also fixed the typings. This should help with errors, warnings, and the general development experience.

I promise that I won't change much more, if anything, until the final v4.0.0 release :D

What's Changed

  • ⚠️ Deprecation of children snippet. Use item instead!
  • ⚠️ Deprecation of onListItemsUpdate callback. Use onItemsUpdated instead!
  • Improve component typings
  • Add svelte-check tool to verify typings
  • Improve performance and simplify SizeAndPositionManager
  • Bring back some old types that existed in v3.0.0
  • Actually export the correct types
  • Stop using $state for bind:this
  • Change height default to '100%'
  • Get rid of Element.scroll(...) legacy fallback since older browsers are not supported anymore anyways
  • refactor: get rid of ListProps and ListState classes by putting it directly in component by @jonasgeiler in #105

Full Changelog: v4.0.0-rc.1...v4.0.0-rc.2

Sponsors

Thank you to my first ever GitHub Sponsor, Jakob Kruse (@jakob-kruse)!!! 💖
Do you also want to appear here? Sponsor me!

v4.0.0-rc.1

05 Jul 22:50
v4.0.0-rc.1
e4fbfbf

Choose a tag to compare

v4.0.0-rc.1 Pre-release
Pre-release

About

Here's the second release candidate for v4.0.0!
This release mostly contains changes that make maintenance easier, but there were also some automatic code modifications done by Biome.js/ESLint.
The minimum Node.js version has also been bumped up to v20.17.0, but I expect minimal impact.

Additionally, we now publish build provenance statements! You can verify if a version was built and published from a verified party, by looking at the box on the bottom of the npm page, or running npm audit signatures.

While probably less useful, we also upload the packaged library to GitHub Releases now. You can find the .tgz file down below!

What's Changed

  • Add funding link to package.json
  • Shorten index.js exports
  • Use Number.isNaN() instead of isNaN()
  • Make callbacks return, and expect returning of, void instead of null/any
  • Bump minimum Node.js version requirement to v20.17.0
  • Reformat code

Full Changelog: v3.0.1...v4.0.0-rc.1

Sponsors

Thank you to my first ever GitHub Sponsor, Jakob Kruse (@jakob-kruse)!!! 💖
Do you also want to appear here? Sponsor me!

v3.0.1

05 Jul 22:21
v3.0.1
6546485

Choose a tag to compare

About

We accidentally published v4.0.0-rc.1 under the latest tag on npmjs.com.
This is a quick release to roll the latest tag back to the v3.0.0 state - no actual changes were made.

What's Changed

Full Changelog: v3.0.0...v3.0.1

Sponsors

Thank you to my first ever GitHub Sponsor, Jakob Kruse (@jakob-kruse)!!! 💖
Do you also want to appear here? Sponsor me!

v4.0.0-rc.0

03 Jul 04:17
v4.0.0-rc.0
da2d228

Choose a tag to compare

v4.0.0-rc.0 Pre-release
Pre-release

About

Here's the first release candidate for v4.0.0!
There will probably NOT be many more changes until the full v4.0.0 release, but maybe I will fix some hijinks beforehand.
Just wanted to publish a version before I go to sleep.

Try out this release candidate using the next npm tag:

npm install svelte-tiny-virtual-list@next
# or
yarn add svelte-tiny-virtual-list@next
# or
pnpm install svelte-tiny-virtual-list@next

What's Changed

Full Changelog: v3.0.1...v4.0.0-rc.1

New Contributors

Sponsors

Thank you to my first ever GitHub Sponsor, Jakob Kruse (@jakob-kruse)!!! 💖
Do you also want to appear here? Sponsor me!

v3.0.0

02 Jul 23:50
v3.0.0
36aace9

Choose a tag to compare

About

This is an intermediate major release for people that rely on v3.0.0-alpha.1 aka. the Svelte 4 edition, before I migrate fully to Svelte 5.

The dist code between v3.0.0-alpha.1 and v3.0.0 is pretty much the same, except for a non-breaking change making sure to automatically add px to the height/width properties, no matter if horizontal or vertical mode is used.
I just never did a full release for the v3.0.0-alpha.1 changes, and since I shouldn't introduce a breaking change like migrating to Svelte 5 when bumping from v3.0.0-alpha.1 to v3.0.0, I had to do a full v3 release before I can release the Svelte 5 migration with v4.

What's Changed

  • fix: made the automatic px unit work regardless of scroll direction by @jonasgeiler in 3fbad07
  • Switched to SvelteKit library template by @jonasgeiler in #42
  • chore(deps): pin dependencies by @renovate in #46
  • chore(deps): pin dependencies by @renovate in #47
  • chore(deps): pin dependencies by @renovate in #48
  • chore(deps): pin dependencies by @renovate in #49
  • chore(deps): update dependency @sveltejs/kit to v2.5.7 by @renovate in #50
  • chore(deps): update dependency @playwright/test to v1.44.1 by @renovate in #54
  • chore(deps): update dependency @sveltejs/package to v2.3.1 by @renovate in #55
  • chore(deps): update dependency @sveltejs/vite-plugin-svelte to v3.1.1 by @renovate in #56
  • chore(deps): update dependency @sveltejs/adapter-cloudflare to v4.5.0 by @renovate in #59
  • chore(deps): update dependency @playwright/test to v1.45.0 by @renovate in #60
  • chore(deps): update dependency beercss to v3.6.0 by @renovate in #61
  • chore(deps): update dependency marked-gfm-heading-id to v3.2.0 by @renovate in #62
  • chore(deps): update dependency @sveltejs/adapter-cloudflare to v4.6.1 by @renovate in #64
  • chore(deps): update dependency @playwright/test to v1.45.3 by @renovate in #67
  • chore(deps): update dependency prettier-plugin-svelte to v3.2.6 by @renovate in #65
  • chore(deps): update dependency publint to v0.2.9 by @renovate in #66
  • chore(deps): update dependency @playwright/test to v1.46.0 by @renovate in #68
  • chore(deps): update dependency svelte to v4.2.19 [security] by @renovate in #70
  • chore(deps): update dependency @sveltejs/adapter-cloudflare to v4.7.2 by @renovate in #69
  • chore(deps): update dependency svelte-check to v3.8.6 by @renovate in #71
  • chore(deps): update dependency @playwright/test to v1.47.1 by @renovate in #73
  • Fix svelte repl urls by @nukhtarov in #87

Full Changelog: v2.1.0...v3.0.0

New Contributors

Sponsors

Thank you to my first ever GitHub Sponsor, Jakob Kruse (@jakob-kruse)!!! 💖
Do you also want to appear here? Sponsor me!

v2.1.2

28 May 06:14
bab6c01

Choose a tag to compare

Forgot to fix the logo URL in the README.md file... Sorry!

Full Changelog: v2.1.1...v2.1.2

v2.1.1

28 May 06:13
bab6c01

Choose a tag to compare

Just a little patch to update all the URLs in the package.json and README.md files, since I renamed my GitHub account.
Also I included some redundant files in v2.0.0 which I removed this time.
The full v3.0.0 release is still under works, but the new website is already online if you're curious: https://svelte-tiny-virtual-list.jonasgeiler.com 🎉

Full Changelog: v2.1.0...v2.1.1

v2.1.0

20 Apr 21:44
bab6c01

Choose a tag to compare

An intermediate release to fix deprecation warnings by adding an exports field to package.json (thanks to @ryanhinkel ❤️ ).
Also some other minor changes that hopefully won't break anything.
A v3.0.0 release with proper SvelteKit support will come soon! 👀

What's Changed

New Contributors

Full Changelog: v2.0.5...v2.1.0