Skip to content

Releases: TheBlindHawk/Roulette

v/3.1.0

11 Apr 11:38
f8bbe90
Compare
Choose a tag to compare

Version Updates

  • added AsyncRollByIndex to roll the roulette on a value promise (ex: while waiting for an axios response)

v/3.0.2

02 Apr 11:54
9a988e9
Compare
Choose a tag to compare

Version updates

  • mostly minor fixes in order to adapt before uploading the react and vue libraries

v/3.0.1

21 Feb 10:42
Compare
Choose a tag to compare

Version updates

fixes

  • Image width and height is not set when adding a custom image causing it to overflow

features

  • You can now add your own custom images on top of the roulette instead of plain text!

v/3.0.0

21 Feb 10:35
652d401
Compare
Choose a tag to compare

Version Updates:

Version 3 has some major changes in the constructor, as well as newly added features.
Any previously existing feature is still accessible, and upgrading to version 3 should be as easy as changing the way you pass your information.

additional features

  • further editable down to each section
  • (untested) add React compatibility without losing JS and TS compatibility

breaking changes

  • complete refactoring of the constructor to ease detailed customization
  • update the folder structure in a more future-proof way that eases the addition of brand new features
  • removing all development libraries (currently only relies on d3-selection)
  • Removing most unnecessary/repetitive functions
  • Example: you can now roll() with empty input to do what was previously rollRandom()

v/2.2.1

17 Aug 03:36
1ee2977
Compare
Choose a tag to compare

Version Updates

  • outdated development libraries updated

v/2.1.2

21 Feb 05:47
ddc82fb
Compare
Choose a tag to compare

Version Updates

  • The Roulette sound's volume can now be customized

v/2.1.1

13 Jan 03:07
c0114e3
Compare
Choose a tag to compare

Version Updates

  • major fixes to the README file
  • added option to change text font and data from constructor

v/2.1.0

27 Dec 08:57
1e65fa7
Compare
Choose a tag to compare

Version Updates

  • WARN Use the contructor to change the audio directory (audio_dir has been removed)
  • WARN roulette functions will now thow an error when passing unprocessable data
  • The sound can now be changed to only play once
  • The roulette and arrow can now be rotated to different positions
  • The last roll is now passed to the onstart() and onstop() functions
  • npm code is now uglified (github code will remain accessible)

v/2.0.1

05 Dec 09:35
acdf578
Compare
Choose a tag to compare

Version 2.0.1

  • Updated and fixed the README
  • added error messages where needed
  • added new ready made arrow: 'thin'

Version 2.0.0

28 Nov 05:36
5eb784c
Compare
Choose a tag to compare
  1. changed the code to typescript, added linters and testers
  2. roulette chan be shaped as a doughnut or changed into a custom image
  3. you can customize the arrow more easily using an element or string
  4. you can decide for how log the roulette will keep rolling
  5. the slowdown now has a more "natural" feel to it
  6. the arrow no longer needs to land precisely at the center of the roll
  7. declaration changed from Roulette() to Roulette({}) now using an object