Skip to content

Releases: Tiny-Essentials/Tiny-Dices

1.1.2

Choose a tag to compare

@JasminDreasond JasminDreasond released this 01 May 01:57

πŸ“¦ 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

Choose a tag to compare

@JasminDreasond JasminDreasond released this 09 Sep 18:20

πŸ“– 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 of dice.setBgSkin("dark");
  • Consistency with modern JavaScript best practices.

Full Changelog: 1.0.6...1.1.0

1.0.6

Choose a tag to compare

@JasminDreasond JasminDreasond released this 25 Apr 01:07

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

Full Changelog: https://github.com/JasminDreasond/Tiny-Dices/commits/1.0.6