Changelog
All notable changes to this project will be documented in this file.
6.2.0 - 2025-05-23
✨ Features
- soar: Add callback parameter to scores, help, and version (2cbad1e)
Pull Requests
- Merge pull request #174 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-2.4.0
6.1.0 - 2025-05-08
✨ Features
- HasOptions: Add ‘get’ method support for dynamic options (f9fe254)
📖 Documents
- contributors: Update contributor profiles and files (9110b6a)
💅 Code Refactorings
- docs: Update installation command and change method visibility (835876e)
📦 Builds
- Concerns: Update todo comment in ConcreteScores trait (df804b2)
- config: Update .editorconfig and .gitattributes files (c5a5c3d)
- deps: Update package versions and improve composer script (0fc5a35)
6.0.4 - 2025-04-05
🐞 Bug Fixes
- SimplifyListIndexRector: Refactor key handling logic (8b9ec75)
📖 Documents
- readme: Remove soar help section from README (7e8e07a)
📦 Builds
- composer.json: Update composer command aliases (8fdce34)
🤖 Continuous Integrations
- config: Update changelog configuration options (aaffea5)
- workflow: Add secrets check workflow (82849c9)
6.0.3 - 2025-04-04
🐞 Bug Fixes
- options: Correct host and port handling in DSN normalization (55e707b)
- tests: Correct option normalization and query syntax (cda80f6)
📖 Documents
- README: Update example commands for Soar usage (b66dee3)
💅 Code Refactorings
- scripts: Rename dump-soar-yaml-config to dump-soar-config (43c72cf)
- tests: Update version and compilation details (aa3dc02)
6.0.2 - 2025-04-03
🐞 Bug Fixes
- Soar: Improve error handling in help method (6b65893)
- config: Update database configuration and add parameters (675eadf)
📖 Documents
- README: Update description and translation accuracy (0f1c0a4)
- changelog: Enhance changelog template formatting (384081d)
6.0.1 - 2025-04-03
🐞 Bug Fixes
- AddHasOptionsDocCommentRector: Update doc comments to use ‘//’ for descriptions (b2931b9)
- rector: Handle null key in refactor method (c42d81a)
💅 Code Refactorings
- core: Replace create() with make() in multiple files (f3ea1d2)
- options: Rename onlyDsns method to onlyDsn (a459b8e)
✅ Tests
- fixtures: Remove obsolete Soar.php and update .gitignore (26d8c9b)
- phpunit: Update PHPUnit configuration and add HelpersTest (f1afb0c)
📦 Builds
- dependencies: Restore ext-ctype and ext-mbstring requirements (9c109ea)
🤖 Continuous Integrations
- support: Add checkSoarBinary script to validate executable files (904933d)
- workflows: Add workflow_dispatch to all workflow files (d5817f2)
6.0.0 - 2025-04-01
✨ Features
- HasOptions: Add addr construction for DSN missing addr (56f411c)
- HasOptions: Add HasOptionsDocCommentRector for generating doc comments (5a82fae)
- HasOptions: Add flushOptions method to reset options (551103e)
- config: Add soar options configuration and scripts (5ebb40f)
- hasOptions: Implement ArrayAccess methods for options (9fd1a16)
- rectors: Add SimplifyArrayKeyRector for array key simplification (9691a8b)
🐞 Bug Fixes
- Update Composer scripts and remove documentation clutter (6b81205)
- ConcreteMagic: Correct static instantiation in __set_state (a1c795d)
- concerns: Use JSON_THROW_ON_ERROR in arrayScores method (3c094a0)
- tests: Refine parameter checks and improve code clarity (8e1a1d6)
📖 Documents
- README: Update version option methods in examples (4c36da5)
💅 Code Refactorings
- Remove array_reduce_with_keys function and simplify code (786aeb2)
- Remove unused escape_argument function calls (62beb5e)
- Replace str_camel with IlluminateSupportStr methods (4e5257e)
- Replace setReportType with withReportType methods (153fff0)
- Rename and update rector classes for clarity (66c0bd0)
- Concerns: Simplify __call method options handling (c7ff596)
- HasOptions: Rename remove methods to except (0850e26)
- HasOptions: Rename parameter in magic __call method (961a7fe)
- HasOptions: Rename ‘withOptions’ to ‘mergeOptions’ (219249b)
- HasOptions: Simplify DSN construction logic (fb6ae67)
- HasOptions: Rename key to name in option methods (febfebc)
- OS: Simplify OS class methods and remove stale properties (7015975)
- WithRunable: Simplify type hints in run methods (3d96f3a)
- WithRunable: Simplify process creation logic (6753348)
- WithRunable: Simplify run and createProcess methods (a2731a3)
- composer: Update PHP and package requirements (c9fcd32)
- concerns: Simplify process handling in WithRunable trait (da51782)
- option-management: Remove add option methods (b62e04c)
- options: Rename merge methods to with for clarity (b43d4c9)
- options: Improve option normalization logic (a5dc6a5)
- options: Simplify normalization of options handling (310a26f)
- options: Enhance configuration structure and defaults (5323bc9)
- options: Improve delimiter handling in scores method (b2fda32)
- options: Change methods to private visibility (6863f9f)
- support: Rename dump scripts and improve config handling (5a80f62)
- tests: Remove obsolete options.full.php reference (ccf4123)
- core: Upgrade PHPStan level and type hints in codebase (5fba139)
✅ Tests
- HasOptions: Refactor option tests and add new cases (63b9e41)
- HasSoarBinary: Add tests for invalid binary file scenarios (5b18333)
- WithRunnableTest: Improve error message and refactor tests (7e5024b)
- tests: Add snapshot assertion for version output (559777f)
- tests: Add static analysis suppressions in test files (b6bcdf8)
📦 Builds
- dependencies: Refactor dependency exclusions and requirements (a99bc4d)
🤖 Continuous Integrations
- baselines: Add new baseline files for error tracking (52e5932)
- composer: Update dev-master branch alias to 6.x-dev (8ab10ef)
- config: Remove disallowed.function.neon and clean loader (3203690)
- config: Update .gitattributes and remove psalm workflow (85a6069)
- issue-template: Add bug report and config templates (be6ac88)
- workflows: Upgrade PHP version to 8.0 in workflows and docs (0af6eaa)
5.1.1 - 2025-03-24
📦 Builds
- dependencies: Update PHP dependencies in composer.json (b2b39b9)
5.1.0 - 2025-02-05
✨ Features
- Concerns: Add Makeable trait for object creation (bdd8329)
📦 Builds
- dependencies: Upgrade phpstan-disallowed-calls and psalm (425c45a)
Pull Requests
- Merge pull request #173 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-2.3.0
5.0.3 - 2025-01-16
📖 Documents
- README: Update badges for CI and versioning (4af0217)
💅 Code Refactorings
- WithRunable: Simplify sudo password handling (4d2a7ca)
5.0.2 - 2025-01-16
- Concerns: improve error handling in setSoarBinary (7ca9c9d)
🤖 Continuous Integrations
- formatting: Fix formatting issues in .php-cs-fixer.php, examples/soar.options.docblock.php, and src/Support/ComposerScript.php (cb13eec)
5.0.1 - 2025-01-16
✨ Features
- ConcreteMagic: add serialization and unserialization methods (281ea2c)
💅 Code Refactorings
- escape-arg: Refactor EscapeArg class (4b13e60)
- HasSoarBinary: Improve error handling (c055edd)
- commit: Improve performance by optimizing code (cd60705)
- concerns: optimize arrayScores performance (6886207)
✅ Tests
- commit: Add test files and update PHPUnit configuration (2f72539)
🤖 Continuous Integrations
- composer-updater: Fix PHPStan errors and update dependencies (d34f96f)
5.0.0 - 2025-01-16
✨ Features
- upgrade: Upgrade PHP version to 7.4 (c1fdecb)
📦 Builds
- Update .gitignore, add .php-cs-fixer-dist.php, and modify composer.json, phpstan.neon, phpunit.xml.dist, psalm.xml.dist, rector.php (3ce0cde)
🤖 Continuous Integrations
- apply rector (54e7c79)
- apply php-cs-fixer (666e9ee)
- apply php-cs-fixer (cb41001)
- chglog: update filters and title maps in .chglog/config.yml (296486f)
4.2.6 - 2025-01-15
🤖 Continuous Integrations
- composer: Update dependencies (8f15583)
Pull Requests
- Merge pull request #171 from guanguans/dependabot/github_actions/codecov/codecov-action-5
4.2.5 - 2024-10-11
4.2.4 - 2024-08-16
✅ Tests
- benchmarks: Adjust iterations in SoarBench and benchmark settings (ebdc8b6)
4.2.3 - 2024-07-16
🐞 Bug Fixes
- HasSudoPassword: Improve formatting of setSudoPassword method (c16a715)
4.2.2 - 2024-07-16
📦 Builds
- composer.json: update composer-git-hooks and rector versions (1ea79b5)
🤖 Continuous Integrations
- release: Add StaticClosureRector and update rules (7d23e06)
Pull Requests
- Merge pull request #170 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-2.2.0
4.2.1 - 2024-06-11
Pull Requests
- Merge pull request #169 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-2.1.0
4.2.0 - 2024-04-23
✨ Features
- composer-updater: add dry-run option (d27174a)
💅 Code Refactorings
- HasSoarBinary: rename getDefaultSoarBinary to defaultSoarBinary (6e66c0f)
- debug: improve debug info handling (ab5a04b)
Pull Requests
- Merge pull request #165 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-2.0.0
- Merge pull request #168 from guanguans/dependabot/github_actions/codecov/codecov-action-4.3.0
- Merge pull request #167 from guanguans/dependabot/github_actions/codecov/codecov-action-4.2.0
- Merge pull request #166 from guanguans/dependabot/github_actions/codecov/codecov-action-4.1.1
- Merge pull request #164 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-1.7.0
- Merge pull request #163 from guanguans/dependabot/github_actions/codecov/codecov-action-4.1.0
- Merge pull request #162 from guanguans/dependabot/github_actions/codecov/codecov-action-4.0.2
4.1.0 - 2024-02-22
💅 Code Refactorings
- src: Improve __debugInfo method (46c38c7)
Pull Requests
- Merge pull request #160 from guanguans/dependabot/github_actions/codecov/codecov-action-4.0.1
- Merge pull request #161 from guanguans/dependabot/composer/rector/rector-tw-0.19or-tw-1.0
- Merge pull request #158 from guanguans/dependabot/github_actions/codecov/codecov-action-3.1.6
4.0.3 - 2024-01-29
🐞 Bug Fixes
- HasSudoPassword: Update shouldApplySudoPassword condition (4de799b)
💅 Code Refactorings
- config: update PHPUnit set and add new rule (56fea1d)
Pull Requests
- Merge pull request #156 from guanguans/dependabot/github_actions/actions/cache-4
- Merge pull request #157 from guanguans/dependabot/github_actions/codecov/codecov-action-3.1.5
4.0.2 - 2024-01-16
✨ Features
- composer: add dump-soar command (c55c14a)
📖 Documents
- Update README.md and README-zh_CN.md (7f6209a)
💅 Code Refactorings
- concerns: improve magic methods (361cc04)
4.0.1 - 2024-01-16
✅ Tests
4.0.0 - 2024-01-15
💅 Code Refactorings
- rename SoarPath -> SoarBinary (434846c)
- WithRunable: remove deprecated exec method (5819542)
3.5.0 - 2024-01-15
💅 Code Refactorings
- monorepo-builder: update release workers (b721225)
Pull Requests
- Merge pull request #155 from guanguans/dependabot/composer/rector/rector-tw-0.18or-tw-0.19
- Merge pull request #154 from guanguans/dependabot/github_actions/actions/stale-9
- Merge pull request #153 from guanguans/dependabot/github_actions/actions/labeler-5
- Merge pull request #152 from guanguans/dependabot/github_actions/stefanzweifel/git-auto-commit-action-5
3.4.4 - 2023-09-15
🐞 Bug Fixes
- HasOptions: handle callable values in normalizeOption (2a4215d)
💅 Code Refactorings
- coding-style: remove UnSpreadOperatorRector (e896c23)
Pull Requests
- Merge pull request #151 from guanguans/dependabot/github_actions/actions/checkout-4
3.4.3 - 2023-08-22
🐞 Bug Fixes
- phpstan: Ignore errors in Soar.php (5b308b5)
Pull Requests
- Merge pull request #149 from guanguans/dependabot/composer/rector/rector-tw-0.17or-tw-0.18
3.4.2 - 2023-07-30
🐞 Bug Fixes
- concerns: deprecate exec method (a22f52e)
3.4.1 - 2023-07-24
🐞 Bug Fixes
- Concerns: Fix InvalidOptionException in ConcreteMagic trait (8377e5c)
💅 Code Refactorings
- WithRunable: simplify process tapper logic (df9f828)
3.4.0 - 2023-07-23
✨ Features
- bin: Add support for Linux ARM64 architecture (4b2c1aa)
- monorepo-builder: Add monorepo-builder configuration (6ecedc0)
🐞 Bug Fixes
- concerns: Update Soar path for Linux ARM64 (51e136f)
- path: update Soar path for linux-amd64 (f8ee9f4)
v3.3.4 - 2023-07-16
💅 Code Refactorings
- HasOptions: update onlyOptions method (a7ce8a3)
v3.3.3 - 2023-07-16
✨ Features
- lint: Add json-lint and yaml-lint checks (94dbeed)
🐞 Bug Fixes
- HasSoarPath: Add getEscapedSoarPath method (ec38dfe)
💅 Code Refactorings
- HasOptions: change access modifiers of methods (22bf483)
- HasOptions: rename method getSerializedEscapedNormalizedOptions to getHydratedEscapedNormalizedOptions (b2b10b7)
v3.3.2 - 2023-07-15
🐞 Bug Fixes
- workflows: update php-cs-fixer workflow (e6fd9f6)
💅 Code Refactorings
- HasOptions: update getSerializedEscapedNormalizedOptions method (231149d)
- rector: remove unused imports and update rules (37513d6)
v3.3.1 - 2023-07-14
✨ Features
- tests: Add new test file for SudoPassword (7bab1d4)
📖 Documents
- README.md: add section for fatal error and its fix (55def24)
💅 Code Refactorings
- HasSudoPassword: improve escaping of sudo password (89fff21)
v3.3.0 - 2023-07-14
✨ Features
- HasSudoPassword: Add new trait (6e3434c)
💅 Code Refactorings
- concerns: update getEscapeSudoPassword method (9ba70bc)
- concerns: update shouldApplySudoPassword logic (d205948)
- sudo: move sudo password related methods to trait (c7daecd)
Pull Requests
- Merge pull request #148 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-1.6.0
v3.2.7 - 2023-06-17
v3.2.6 - 2023-06-16
Pull Requests
- Merge pull request #146 from guanguans/dependabot/composer/rector/rector-tw-0.16or-tw-0.17
- Merge pull request #147 from guanguans/dependabot/composer/dms/phpunit-arraysubset-asserts-tw-0.4or-tw-0.5
v3.2.5 - 2023-05-27
v3.2.4 - 2023-05-26
v3.2.3 - 2023-05-26
Pull Requests
- Merge pull request #145 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-1.5.1
- Merge pull request #144 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-1.5.0
v3.2.2 - 2023-05-22
v3.2.1 - 2023-05-21
v3.2.0 - 2023-05-21
v3.1.1 - 2023-05-19
v3.1.0 - 2023-05-19
Pull Requests
- Merge pull request #142 from guanguans/dependabot/composer/rector/rector-tw-0.15.7or-tw-0.16.0
- Merge pull request #138 from guanguans/dependabot/github_actions/actions/stale-8
- Merge pull request #143 from guanguans/dependabot/github_actions/codecov/codecov-action-3.1.4
- Merge pull request #141 from guanguans/dependabot/github_actions/codecov/codecov-action-3.1.3
- Merge pull request #140 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-1.4.0
- Merge pull request #139 from guanguans/dependabot/github_actions/codecov/codecov-action-3.1.2
- Merge pull request #137 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-1.3.6
v3.0.7 - 2023-01-17
v3.0.6 - 2023-01-16
v3.0.5 - 2023-01-15
v3.0.4 - 2023-01-14
v3.0.3 - 2023-01-14
v3.0.2 - 2023-01-13
v3.0.1 - 2023-01-12
v3.0.0 - 2023-01-12
v2.7.8 - 2023-01-10
v2.7.7 - 2023-01-10
v2.7.6 - 2023-01-10
v2.7.5 - 2023-01-10
v2.7.4 - 2023-01-10
v2.7.3 - 2023-01-09
v2.7.2 - 2023-01-08
v2.7.1 - 2023-01-06
v2.7.0 - 2023-01-05
v2.6.2 - 2023-01-05
Pull Requests
- Merge pull request #136 from guanguans/dependabot/github_actions/actions/stale-7
- Merge pull request #135 from guanguans/dependabot/composer/vimeo/psalm-tw-4.0or-tw-5.0
- Merge pull request #134 from guanguans/dependabot/github_actions/actions/stale-6
- Merge pull request #133 from guanguans/dependabot/github_actions/codecov/codecov-action-3.1.1
v2.6.1 - 2022-05-25
v2.6.0 - 2022-04-29
Pull Requests
- Merge pull request #132 from guanguans/process
v2.5.8 - 2022-04-28
Pull Requests
- Merge pull request #131 from guanguans/dependabot/github_actions/codecov/codecov-action-3.1.0
v2.5.7 - 2022-04-19
v2.5.6 - 2022-04-19
v2.5.5 - 2022-04-17
v2.5.4 - 2022-04-16
v2.5.3 - 2022-04-16
Pull Requests
- Merge pull request #130 from guanguans/dependabot/github_actions/codecov/codecov-action-3.0.0
- Merge pull request #129 from guanguans/dependabot/github_actions/actions/cache-3
v2.5.2 - 2022-04-11
v2.5.1 - 2022-04-11
v2.5.0 - 2022-04-11
v2.4.1 - 2022-04-11
v2.4.0 - 2022-04-10
v2.3.0 - 2022-03-27
v2.2.7 - 2021-11-30
v2.2.6 - 2021-09-28
v2.2.5 - 2021-09-28
v2.2.4 - 2021-09-27
📖 Documents
- update .all-contributorsrc [skip ci] (d382662)
- update README-EN.md [skip ci] (d6f4a1b)
- update README.md [skip ci] (721c5f9)
- update .all-contributorsrc [skip ci] (63a91ae)
- update README-EN.md [skip ci] (ec34f47)
- update README.md [skip ci] (965c07b)
Pull Requests
- Merge pull request #42 from guanguans/all-contributors/add-Aexus
- Merge pull request #41 from guanguans/all-contributors/add-zhonghaibin
- Merge pull request #40 from guanguans/dependabot/composer/vimeo/psalm-tw-3.11or-tw-4.0
- Merge pull request #39 from guanguans/analysis-nNPjG0
- Merge pull request #38 from zhonghaibin/master
v2.2.3 - 2021-07-07
v2.2.2 - 2021-07-06
v2.2.1 - 2021-06-14
v2.2.0 - 2021-06-14
v2.1.1 - 2021-04-29
📖 Documents
- Remove config file init (73bc7a9)
- Delete
Services/SoarService.php
(a3290e1)
📦 Builds
v2.1.0 - 2021-04-25
📖 Documents
✅ Tests
🤖 Continuous Integrations
- Add php-cs-fixer、psalm、cghooks (1ba0932)
v2.0.4 - 2021-01-27
Pull Requests
- Merge pull request #37 from guanguans/analysis-9magdl
- Merge pull request #35 from guanguans/analysis-vQY5br
v2.0.3 - 2020-11-07
Pull Requests
- Merge pull request #22 from guanguans/imgbot
v2.0.2 - 2020-04-11
Pull Requests
- Merge pull request #20 from guanguans/analysis-5Z3GP2
v2.0.1 - 2020-02-03
v2.0.0 - 2020-01-21
📖 Documents
v1.1.5 - 2019-08-29
v1.1.4 - 2019-08-29
v1.1.3 - 2019-08-24
📖 Documents
v1.1.2 - 2019-07-06
v1.1.1 - 2019-07-05
v1.1.0 - 2019-07-05
v1.0.1 - 2019-07-04
v1.0.0 - 2019-07-04