Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Nov 29, 2020
1 parent 5cbc337 commit 19e89b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.0](https://github.com/metonym/svelte-toggle/releases/tag/v2.0.0) - 2020-11-29

**Breaking Changes**

- Dispatched "change" event has been removed; use `on:toggle` instead
- Named "on" and "off" slots have been removed; override the default slot and destructure the `toggled` prop
- TypeScript users will need Svelte version 3.30 or greater

## [1.1.0](https://github.com/metonym/svelte-toggle/releases/tag/v1.1.0) - 2020-11-17

- add TypeScript definitions
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-toggle",
"version": "1.1.0",
"version": "2.0.0",
"license": "MIT",
"description": "Accessible toggle switch component",
"author": "Eric Liu (https://github.com/metonym)",
Expand All @@ -17,7 +17,6 @@
"prepack": "rollup -c"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^10.0.0",
"@tsconfig/svelte": "^1.0.10",
"rollup": "^2.33.2",
"rollup-plugin-svelte": "^6.1.1",
Expand Down

0 comments on commit 19e89b3

Please sign in to comment.