Releases: theofidry/cpu-core-counter
Releases · theofidry/cpu-core-counter
1.2.0
Features
- Add a new method to get the number of CPU cores to use for parallelism (#127, #129, #130, #135, #137, #136, #139, #143, #142, #140, #144)
- Improve the diagnosis of the finders to state the result returned (#134)
- Add an easier way to debug (#131)
Fixes
- Do not use --all for nproc by default (#133)
1.1.0
1.0.0
0.5.1
0.5.0
0.4.1
0.4.0
Bugfixes
- 0166da6 [BC Break] Change PopenBased finders to ProcOpenBased finders (#75)
- 6db5e45 [BC Break] Rename LinuxyNProcessorFinder to _NProcessorFinder (#78)
- f97cce1 Fix the Wmic commands (#83)
- 666cb04 Fix restricted test (#84)
Misc
- 05dde06 Add E2E tests (#74)
- bb9bc13 Execute the shell script directly on Windows instead of using make (#76)
- 4d56f0b Extract skipping or not a finder on Windows into a decorator finder (#77)
- 31903e8 Make generating names more performant (#79)
- b3d0bb5 Add tests to ensure the decorators handle dynamic names (#80)
- a949e06 Refactor nproc finder into a proc-open based finder (#81)
- 265631b Add inspection job (#73)
- f702e5c Add test case for CpuInfoFinder (#82)
0.3.1
0.3.0
Features
- df1f05d Add support for PHP 7.2 (#41)
- 72b7d5d Allow to configure nproc (#44)
- ee56c03 Add HwPhysicalFinder (#46)
- 6184d0e Add
CpuCoreCounter::getFinderAndCores()
(#50) - 4a0413c Move the dummy core finder from the test to the source directory (#51)
- 1fd5dca [BC Break] Add a way to get the logical and physical number of cores for Windows (#52)
- 7a6740d [BC Break] Introduce a diagnosis tool (#60)
- 408e7cf [BC Break] Move registry lists to the registry (#69)
- 1513193 Add NProcessor based finders (#67)
Misc
- 25dbab2 [BC Break] Rename the CpuFinder namespace to CpuCoreFinder (#39)
- 80bcfdc Move the shell_exec function check to supportsNproc() (#40)
- f7442af Install dependencies in the CI as a dedicated step (#42)
- b57c631 Add docs for Nproc (#43)
- fc1cdf5 [BC Break] Rename HwFinder to HwLogicalFinder (#45)
- 49c34df Refactor finders to leverage a common base (#47)
- 89a5259 [BC Break] Move the finders into a dedicated Finder namespace (#48)
- b2549c9 Add a base for e2e tests (#53)
- 0179408 Update gitattributes (#61)
- b52bb04 Do not inspect src for PHPStan tests (#62)
- 864d201 Add tests for ShellExec (#63)
- bcddd3b Fix PHPUnit config (#64)
- 4f1d36e Move the MakefileTest to the AutoReview namespace (#49)
- 2594740 Add documentation about the diagnosis commands (#65)
- 1bd4c79 Add BCP section (#66)
- 6106a1f Simplify some tests (#68)
0.2.0
Features
- bb5036a Introduce CPUCoreFinders (#14)
- 6b9a0cc Allow the user to register which finders to use to the CPUCoreCounter (#20)
- f01ffc5 Throw exception upon failure instead of arbitrary default value (#21)
- f5f3fa8 Re-order the default finders (#27)
- e33ff4f Introduce the NProc finder (#13)
Bugfixes
- 2c088b8 Fix handling of invalid values for the HwFinder and WindowsWmic finder (#22)
- 6b8549b Remove deprecated usage of hw.nproc (#24)
- a389a3a Simplify CpuInfoFinder (#26)
Misc
- 6d3e2af Fix license (#12)
- 5392f6a Refactor CpuCoreCounter (#15)
- fc210d1 Consolidate CPUInfo finder (#16)
- 1f1a2eb Consolidate HWFinder (#17)
- c68c749 Consolidate WindowsWmicFinder (#18)
- 854f92d Fix the CPUCoreCounter test case name (#19)
- 2114c6e Consolidate HwFinder (#23)
- f1ea48c Consolidate WindowsWmicFinder (#25)
- 7704b16 Remove unnecessary proc_open check (#28)
- bb1e417 Fix issues reported by PHPStan (#29)
- c8d6cac Add MakefileTest (#30)
- fcf6d38 Run CS fixer on 8.1 (#31)
- 7454c93 Remove unnecessary code (#32)
- aec5e16 Remove webmozart/assert dependency (#33)
- c528907 Update doc (#34)