Releases: wbotelhos/raty
Releases · wbotelhos/raty
v4.3.0
v4.2.0
Update
- Drops Jasmine and Karma in favor of Jest and JSDOM; #242 by bukhtiyarov-a-v
- Updates the README; #245 by Jaskaran-Techno
- Drops jQuery from tests and so from the entire project; #246 by bukhtiyarov-a-v
- Fixes error when
half
option istrue
; #249 by fono09
Bugfix
v4.1.0
v4.0.0
Break Change
- The jQuery dependency was dropped, so the syntax to start Raty was changed, check the UPGRADE.md;
- The global configuration
$.raty.option = 'value'
was removed; - The callback
click
,mouseover
, andmouseout
now has thethis
scope being theRaty
class instance and the following arguments:score, element, the event
; - The callback
number
,readOnly
,score
,scoreName
,target
, andpath
, now has thethis
scope being theRaty
class instance and the single argument:element
; - The functions now are called from the
Raty
instance; - When
click
function is called, we don't really have an original event, so instead to receive a fake eventnew Event('click')
, anundefined
value is provided.
Update
- The read-only function now uses
pointerEvents
over unbind the listeners;
v3.1.1
v3.1.0
v3.0.0
Break Change
- Function
destroy
was removed; - Function
reload
was removed; - Function
set
was removed; - Functions now is accessed via
element.data('raty').FUNCTION_NAME()
; - Option
cancel
was renamed tocancelButton
;
Bugfix
- When using
single
options the click was not turning the star on; #155 by henrikhannemose