v5.0.0
Rune mode enabled ⚡
It wasn't easy or quick, but finally it's here!
Breaking changes from v4💥
- svelte 5 only
- drop dispatching custom events through
createEventDispatcher. Callback methods are expected instead. Previous event names has now added prefixonand are properly capitalized. This is a list of event to callback mapping:changechanged toonChangefocuschanged toonFocusblurchanged toonBlurcreateoptionchanged toonCreateOptioncreateFailchanged toonCreateFailenterKeychanged toonEnterKeyfetchchanged toonFetchfetchErrorchanged toonFetchErrorinvalidValuechanged toonInvalidValue
- drop support for
svelte-use-formvalidation library (remove triggeringinputevent on<select>element) - replace slots with snippets
- remove
svelte-tiny-virtual-listdependency, provide own implementation - remove
vlHeightproperty, related to removal of virtual list dependency, use--max-heightcss property instead - do not automatically set
multipleproperty ifnameincluded "[]" meaning multiple items when submitting form.
New:
- add
i18n.aria_removeItemLabelfunction to avoid svelte compiler warning - add
emitValuesproperty to emit values instead of objects - add
htmlrenderer since default one escapes following HTML entities:<,>,&,'and" - add properties for additional CSS styling:
controlClassfor.sv-controldropdownClassfor.sv_dropdownoptionClassfor.sv-item--wrap.in-dropdownelements