Skip to content

v2.0.0-beta.8

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Jun 20:32
· 33 commits to beta since this release

2.0.0-beta.8 (2024-06-08)

⭐ New Features

  • moved to type only props + proper attribute types (624a243)

This involved some convoluted workarounds, but it should mostly work.

  • Components are know able to take the attributes of html attributes
    they extend without error.

  • Components which can be passed attributes to different parts of them
    (i.e. wrapper attributes via wraper-attr-name) now have these correctly
    typed, so autosuggestion should work.

  • The AdditionalAttributes interface has been added which you can extend
    to more easily allow more attributes. The package no longer auto extends them, except
    for a few specific attributes.

  • All components now use type only defineProps, so the previous workaround
    to get around this problem has been dropped and types should be more
    accurate, since before they were limited.

🐛 Fixes

  • fixed .gitignore (915ff9c)

  • added vue-ignore to eslint's known jsdoc tags (e102285)

  • moved vue from devDeps to deps (7ff807b)

  • added missing playground vite config and dev script (b2e2d8a)

  • fixed missing components import (2707d83)