Releases: Tiny-Essentials/Tiny-Dices
Release list
1.1.2
π¦ Dependency Updates
- Tiny-Essentials: Updated to the latest version for better resource management.
β‘ Improvements
- Economic Compilation: Dependency scripts are now compiled more efficiently, reducing overhead.
- Dead Code Elimination: Automatically removes unused code segments to keep the main project lean.
Full Changelog: 1.1.0...1.1.2
1.1.0
π Improved Documentation
-
Updated JSDoc for:
rollDice()rollDices()insertDiceElement()
-
Value lists updated for these methods.
π It is highly recommended to check the updated documentation to understand the changes before upgrading.
π§ API Modernization with Getters & Setters
We migrated multiple functions into getters and setters, making the API more natural and JavaScript-friendly.
π Refactored Properties
-
setRdChangerAmountβset rdChangerAmount -
getRdChangerAmountβget rdChangerAmount -
getStopTimeβget stopTime -
setStopTimeβset stopTime -
getBgImgβget bgImg -
setBgSkinβset bgSkin -
getBgSkinβget bgSkin -
setTextSkinβset textSkin -
getTextSkinβget textSkin -
setBorderSkinβset borderSkin -
getBorderSkinβget borderSkin -
setSelectionBgSkinβset selectionBgSkin -
getSelectionBgSkinβget selectionBgSkin -
setSelectionTextSkinβset selectionTextSkin -
getSelectionTextSkinβget selectionTextSkin
π‘ Other Changes
isDestroyedβget destroyed
β‘ Why this matters?
- Cleaner syntax:
dice.bgSkin = "dark";instead ofdice.setBgSkin("dark"); - Consistency with modern JavaScript best practices.
Full Changelog: 1.0.6...1.1.0
1.0.6
This is the first version released on Github, but I was already maintaining glitches corrections during the first versions since 1.0.0.
What's Changed
- Bump sass from 1.86.3 to 1.87.0 by @dependabot in #1
Full Changelog: https://github.com/JasminDreasond/Tiny-Dices/commits/1.0.6