-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
257 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'earwurm': minor | ||
--- | ||
|
||
Remove all `static` members in favour of exported `tokens` object. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'earwurm': minor | ||
--- | ||
|
||
Replace `fadeMs` option with `transitions` boolean. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
# Earwurm migration guide | ||
|
||
## 0.7.0 | ||
|
||
- Replaced the `fadeMs?: number` option for `Earwurm`, `Stack`, and `Sound` with a simpler `transitions?: boolean` option. | ||
- Defaults to `false`. | ||
- If opted-into, it will provide an opinionated `200ms` “fade”. | ||
- To fix: Replace all instances of `fadeMs: someNumber` with `transitions: true`. | ||
- Removed some `static` members from `Earwurm` and `Stack`. | ||
- Now exposing equivalent values on the exported `tokens` object. | ||
- To fix, simply replace any instances of: | ||
- `Earwurm.suspendAfterMs` with `tokens.suspendAfterMs`. | ||
- `Earwurm.maxStackSize` or `Stack.maxStackSize` with `tokens.maxStackSize`. | ||
|
||
## 0.6.0 | ||
|
||
For more details on the released changes, please see [🐛 Various bug fixes](https://github.com/beefchimi/earwurm/pull/50). | ||
|
||
- Rename all instances of `statechange` to `state`. | ||
- Renamed all instances of `statechange` to `state`. | ||
- Example: `manager.on('statechange', () => {})` | ||
- Replace any instances of `LibraryKeys` with the equivalent `StackIds[]`. | ||
- To fix: Simply find all instances of `statechange` and rename it to `state`. | ||
- Removed the exported `LibraryKeys` type. | ||
- Simply find-and-replace any instances of `LibraryKeys` with the equivalent `StackIds[]`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.