Skip to content

Commit

Permalink
v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kadiryazici committed Dec 19, 2022
1 parent 1f81226 commit bf26657
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# 0.5.0
### Features
- Now `itemDefaults` prop accepts a function that has `item` passed as parameter, for type safety `createItemDefaults` is updated as well.

### Breaking Changes
- Now instead of passing `meta` to render slot `#render="meta"` it passed whole item data `#render="{ meta, disabled, onSelect }"`. This will be helpful for detecting disabled state etc.

<br>

# 0.4.1
### Improvements
- Now instead of creating a renderer function on every render, SelectableItems now returns render function from setup and renderer function is created only once per component. This will increase performance a bit but not recognizable.

<br>

# 0.4.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-selectable-items",
"version": "0.4.1",
"version": "0.5.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/types/index.d.ts",
Expand Down

0 comments on commit bf26657

Please sign in to comment.