Skip to content

Releases: theofidry/cpu-core-counter

1.2.0

30 Aug 16:14
8520451
Compare
Choose a tag to compare

Features

Fixes

  • Do not use --all for nproc by default (#133)

1.1.0

07 Feb 09:45
f92996c
Compare
Choose a tag to compare

Features

  • Introduce more Windows specific finders (#112)

1.0.0

22 Oct 17:19
85193c0
Compare
Choose a tag to compare

No changes since 0.5.1! Easy upgrade!

0.5.1

24 Dec 12:36
b58e5a3
Compare
Choose a tag to compare

Features

0.5.0

17 Dec 09:32
040127e
Compare
Choose a tag to compare

Features

  • fcd320c [BC Break] Rename Exec namespace into Executor (#91)
  • b830f3c [BC Break] Inject ProcessExecutor to the finders (#89)
  • 040127e [BC Break] Make OnlyOn & SkippedOnWindows finders more generic and extend them to OS families (#94)

Misc

  • bc4d88b Make ProcOpenBasedFinderTest extend ProcOpenBasedFinderTestCase (#90)
  • a29d68f Move checking if proc_open function exists to the executor (#92)
  • f6b95e1 Remove unnecessary code for NProcFinder (#93)

0.4.1

16 Dec 22:05
79261cc
Compare
Choose a tag to compare
  • 79261cc Use 'static' instead of 'self' method call to process command result (#88)

0.4.0

10 Dec 21:29
666cb04
Compare
Choose a tag to compare

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

08 Dec 11:56
b7efb38
Compare
Choose a tag to compare

Bugfixes

  • 8f1d94f Register the Windows finder before Nproc (#71)
  • b7efb38 Fix compatibility for PHP 7.2 (#72)

0.3.0

08 Dec 09:01
408e7cf
Compare
Choose a tag to compare

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

04 Dec 19:08
c528907
Compare
Choose a tag to compare

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