Version 4.3.0
Description
Require PHP 8.2
. Include a new random vote generator API. Provide some devcontainers for dev and command line usage.
Added
Public API
- New VotesRandomGenerator class providing random votes following either a reproducible or cryptographically secure scheme with many options.
- New
Election->removeAllVotes()
method. - New
Election->countRanks()
method. - Votes objects now support the ArrayAccess interface (readonly).)
Distribution
- New Devcontainer for prod. Very easy to execute as a command line application directly in Github Codespace.
Docs
- New Docs directory structure.
- New www.condorcet.io docbook replacing Github Wiki.
- Improve Api Reference docs generator.
- Ongoing efforts to improve documentation.
Internal changes
Engine
- Upgrade to
PHP 8.2
and use new features. - Add some
true
return type. - Various refactoring & cleanup.
Dev
- New Dev Container for Dev
- Migrate to PHPUnit 10