Skip to content

Commit

Permalink
Prepare 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-boudry committed Nov 17, 2022
1 parent c337e6f commit 270c3d0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ CHANGELOG
=========
All notable changes to this project will be documented in this file.

## [v4.2.1] - 2022-11-17

### Changed
- [Console] Fix issue #110 - Crash on environnement without `PDO/Sqlite` or with the `--deactivate-file-cache` option.
- [Console] Fix a `memory_limit` crash despite dataHandler driver if one entry with a multiplier contains more votes than `memory_limit` allows.

## [v4.2.0] - 2022-08-23
### Description
Redesign & refactor the console. And internal improvements.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If true, the string input is evalatued as path to text file.


##### **callBack:** *```?Closure```*
Callback function to execute after each registered vote.
Callback function to execute after each valid line, before vote registration.


### Return value:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ _Including above methods from public API_
* protected parseFromCondorcetElectionFormat (Closure $callBack): void
* protected parseFromDavidHillFormat (): void
* protected parseFromDebianFormat (): void
* protected parseFromVotesArguments (Closure $callBack): void
* protected parseFromVotesArguments (?Closure $callBack): void
* protected setUpParameters (Symfony\Component\Console\Input\InputInterface $input): void
* protected useDataHandler (Symfony\Component\Console\Input\InputInterface $input): ?Closure
```
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,11 @@ _Both approaches can handle up to hundreds of millions of votes (or more) on mod
| Version | PHP Requirements | State | Support
| --- | --- | --- | --- |
| 4.2 | 8.1 | Stable | ✔ _support provided_
| 4.1 | 8.1 | Old Stable | ✔ _support provided_
| 3.x | 8.1 | Old Stable | ❌ _not any support_
| 2.2 | 7.4 | Old Stable | ❌ _support requiring some bait_
| 2.0 | 7.1 | Old Stable | ❌ _support requiring some bait_
| 1.0 | 5.6 | Old Stable | ❌ _support requiring some bait_
| 0.97 | 5.5 | Old Stable | ❌ _support requiring some bait_<br>_Since v0.90, you should consider then it's a new project (api, engine)._
| 0.9x | 5.5 | Old Stable | ❌ ℹ _Since v0.90, you should consider then it's a new project (api, engine)._
| 0.14 | 5.5 | Old Stable | ❌ _ready for the museum_

_All versions require Json and Mbstring extensions. Pdo-Sqlite is recommended if you need to activate the default provided driver for bigs elections (hundred of thousands of votes or more)_
Expand Down
2 changes: 1 addition & 1 deletion src/Condorcet.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ abstract class Condorcet
final public const HOMEPAGE = 'https://github.com/julien-boudry/Condorcet';

#[PublicAPI]
final public const VERSION = '4.2.0';
final public const VERSION = '4.2.1';

#[PublicAPI]
final public const CONDORCET_BASIC_CLASS = Algo\Methods\CondorcetBasic::class;
Expand Down

0 comments on commit 270c3d0

Please sign in to comment.