Install

Works with Drupal: ^10.3 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 53.85 KB
MD5: fadc758e70faec6728d75b889099736a
SHA-1: 4fa4379204d8b969b788eef9e9679ff0bf4d3c9a
SHA-256: 436b13f7e4ab2afc8da065639872f6b757c06f9fcc217c7196e285b9e6b8fca7
Download zip 98.68 KB
MD5: dae4fd1c3466d70a7c66230d701649e2
SHA-1: 47c70878358b3a09c57fdb03ea1af4b7db7b4f70
SHA-256: de6781dd861e0741c9047626e38d1f748d470324a9dbada3d937b2bdc43d0368

Release notes

Purpose

We are working towards a stable release of the 4.0.x series, consider this release a very early alpha that you likely do not want to use in production. We would appreciate testing and feedback from anyone already using the 4.0.x dev release.

We will work on making sure there's compatibility between the 8.x-3.x series and this one where possible and that an upgrade path is provided.

Given that I'm a new maintainer of Voting API I'm also being cautious with this alpha release because I've not actually sat down and reviewed all the changes to the 4.0.x branch, but I will be doing that now that there's something 'stable' to diff against.

Remember that alpha releases are supposed to be used internally for testing etc.

Description

Stable development snapshot for the 4.0.x series

Contributors (13)

TR, darthsteven, eelkeblok, elaman, guido_s, ivnish, kevin.dutra, loze, mroycroft, pifagor, steven jones, tr, urvashi_vora

Changelog

Issues: 32 issues resolved.

Changes since 8.x-3.0-beta6 (compare):

Bug

  • #3500528 by tr, ivnish: Remove default_argument_skip_url from views
  • #3501808 by tr: Remove config schema for the votingapi_widgets module
  • #3508988 by tr: Average function not protected against the case of 0 votes
  • #3510555 by loze: Incorrect variable type returned from Vote->getCreatedTime()
  • fix: #3153550 Vote entity unnecessarily re-implements features provided by base class
  • fix: #3614670 Logic bug in \Drupal\votingapi\VoteResultFunctionManager::recalculateResults

Feature

  • #3508990 by tr: Add some new VoteResultFunction plugins
  • #2907696 by tr, pifagor, mroycroft, kevin.dutra: Unable to see any voting data when creating a View based on the Vote entity
  • #3510658 by ivnish: Add Drupal 6 migrations

Misc

  • Turn on D11 testing for issues.
  • Minor PHPCS fixes
  • Increase core requirements for voting_tokens submodule to be consistent with main votingapi.
  • Update .gitlab-ci.yml file now that D11 is the default on GitLab CI
  • phpcs:ignore Drupal.Semantics.FunctionT.NotLiteralString
  • phpcs
  • phpcs
  • More phpcs
  • phpcs
  • phpcs:ignoreFile votingapi.api.php
  • Comments in test cases

Task

  • #3467358 by TR: Update Drush commands for Drush 12
  • #3467373 by TR: New parameter added to \Drupal\Core\Form\ConfigFormBase::__construct
  • #3467376 by TR: Add declare(strict_types=1) to all tests
  • #3467379 by TR: [10.3] Convert VoteResultFunction plugins and discovery to attributes
  • #3467380 by TR: Don't use t() in tests
  • #3467381 by TR: cspell changes
  • #3467382 by TR: phpcs: list(...) is forbidden
  • #3467383 by TR, urvashi_vora: Dependency injection in Drush commands
  • #3467356 by TR: Drop D9 support
  • #3470119 by TR: Implement autowiring on Drush commands
  • #3470413 by TR: Add typing to VoteResultFunction plugins and manager
  • #3486471 by tr: Remove phpcs.xml.dist
  • #3486539 by tr: Remove annotations from VoteResultFunction plugins
  • #3486522 by tr: Remove obsolete update hooks
  • #3486537 by tr: Use TranslatableMarkup instead of t() in Entity classes
  • #3486539 by tr: Follow up to remove annotations from VoteResultFunction plugins. Previous commit missed the test module plugin.
  • #3486477 by tr: Support for object oriented hook implementations using autowired services
  • #3501313 by tr: Add validation constraints to config schema
  • #3509022 by tr: Add phpstan.neon to ignore some phpstan warnings
  • #3509000 by tr: Strict typing and fluent interface for Vote entity
  • #3512103 by tr: [10.2] Drupal\Core\Database\Connection::nextId(), the {sequences} table and schema are deprecated
  • #3511838 by tr: Use injected entity query in storage classes
  • task: #3614375 Fix Gitlab CI pipeline failures
Created by: steven jones
Created on: 4 Aug 2026 at 06:09 UTC
Last updated: 4 Aug 2026 at 06:09 UTC
Unsupported

Other releases