Install
Works with Drupal: ^8.7.7 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
68.25 KB
MD5: 7b8e7c80daf7c0acd30f0c8ab501b76b
SHA-1: 2fa6ccd28142dc6ec53c5b7985cff08a95e6b63c
SHA-256: 63fae047710b700f1186db462328499997f0eb3f79fd0a040a8876b33e83f9fd
Download zip
112.15 KB
MD5: d97bfcd758abca780524624a753e3b4f
SHA-1: b079a85a9168faebe6af9db7d72ba26887ee0a71
SHA-256: d8927f09868fc3f07b48430fc3fd0fb693bb3bb3728674a6286728cb9e394056
Release notes
This is the first release that supports Drupal core 9.0. (Although D9.0 has been supported in 8.x-1.x-dev for a month already).
This is the last release that supports Drupal core 8.7.
Changes since 8.x-1.0-alpha1:
Bug fixes:
- #3137188 by TR: .star-1, .star-2 etc. classes not set correctly
- #3136330 by mrweiner, init90: Don't set non-zero default value fallback for Stars Widget form
- #3136020 by mrweiner: getTargetEntity checks for incorrect value
- #3134615 by TR: Fix typing and return value in FivestarItem::getVoteOwner()
- #3134360 by TR: Add title to hidden 'Rate' button
- #2851291 by TR: Missing configuration schema for fivestar field, storage, formatter, and widgets.
- #2900863 by TR: Token or token types missing name property
New features:
- #1249398 by TR, David_Rothstein, init90: Add a hook_fivestar_widgets_alter() to allow modules to remove or change the star display styles
- #3136366 by mrweiner, TR, init90: Refactor hook_fivestar_widgets() to use Drupal 8 libraries
- #3133125 by TR: Replace theme functions with Twig templates - Rating and Percentage Formatter functions.
- #2918679 by TR, gg24, stomusic: Rating and Percentage Formatter
- #3147172 by TR: D9 compatibility
- #3134353 by TR: Add settingsSummary() to StarsFormatter and StarsWidget
- #3133123 by TR: Add "rate content" permission definition.
- #3133547 by TR: Rename getAllWidget() to getAllWidgets()
- #3133352 by TR: Rename Field plugin classes
Testing:
- #3147172 by TR: Fix PHPUnit assertion for D9 compatibility
- #3131954 by TR: Port tests to D8 - require Voting API version > 3.0-beta1 in order to avoid bug #3048085 in the 3.0-beta1 version of Voting API.
Code cleanup:
- #3151592 by TR: *-rtl.css files are eliminated in Drupal 8.
- #2897553 by TR, Webbeh: Update README.txt
- #3134280 by TR: Inject services
- #3093612 by TR, Sergiu Stici: Remove deprecated code
- #3133134 by TR: Use mb_* functions instead of Unicode::* methods
- #3133112 by TR: Move js, css, and images out of "assets" directory
- #3133146 by TR: Remove executable permission on CSS files
- #3133124 by TR: Remove D7 migrate module integration
- #3133110 by TR: Inject current_user into VoteManager
- #3133105 by TR: FivestarItem::getVoteOwner() should be protected, not private
- #3133104 by TR: Add core_version_requirement to .info.yml
- #3133101 by TR: [D8] Coding standards