Releases: guanguans/soar-php
Releases · guanguans/soar-php
6.0.4
6.0.4 - 2025-04-05
Bug Fixes
- SimplifyListIndexRector: Refactor key handling logic (8b9ec75)
Builds
- composer.json: Update composer command aliases (8fdce34)
Continuous Integrations
- config: Update changelog configuration options (aaffea5)
- workflow: Add secrets check workflow (82849c9)
Documents
- readme: Remove soar help section from README (7e8e07a)
6.0.3
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)
Code Refactoring
- scripts: Rename dump-soar-yaml-config to dump-soar-config (43c72cf)
- tests: Update version and compilation details (aa3dc02)
Docs
- README: Update example commands for Soar usage (b66dee3)
6.0.2
6.0.1
6.0.1 - 2025-04-03
Bug Fixes
- AddHasOptionsDocCommentRector: Update doc comments to use '//' for descriptions
- rector: Handle null key in refactor method
Build
- dependencies: Restore ext-ctype and ext-mbstring requirements
CI
- support: Add checkSoarBinary script to validate executable files
- workflows: Add workflow_dispatch to all workflow files
Code Refactoring
- core: Replace create() with make() in multiple files
- options: Rename onlyDsns method to onlyDsn
Tests
- fixtures: Remove obsolete Soar.php and update .gitignore
- phpunit: Update PHPUnit configuration and add HelpersTest
6.0.0
6.0.0 - 2025-04-01
Bug Fixes
- Update Composer scripts and remove documentation clutter
- ConcreteMagic: Correct static instantiation in __set_state
- concerns: Use JSON_THROW_ON_ERROR in arrayScores method
- tests: Refine parameter checks and improve code clarity
Build
- dependencies: Refactor dependency exclusions and requirements
CI
- baselines: Add new baseline files for error tracking
- composer: Update dev-master branch alias to 6.x-dev
- config: Remove disallowed.function.neon and clean loader
- config: Update .gitattributes and remove psalm workflow
- issue-template: Add bug report and config templates
- workflows: Upgrade PHP version to 8.0 in workflows and docs
Code Refactoring
- Remove array_reduce_with_keys function and simplify code
- Remove unused escape_argument function calls
- Replace str_camel with IlluminateSupportStr methods
- Replace setReportType with withReportType methods
- Rename and update rector classes for clarity
- Concerns: Simplify __call method options handling
- HasOptions: Rename remove methods to except
- HasOptions: Rename parameter in magic __call method
- HasOptions: Rename 'withOptions' to 'mergeOptions'
- HasOptions: Simplify DSN construction logic
- HasOptions: Rename key to name in option methods
- OS: Simplify OS class methods and remove stale properties
- WithRunable: Simplify type hints in run methods
- WithRunable: Simplify process creation logic
- WithRunable: Simplify run and createProcess methods
- composer: Update PHP and package requirements
- concerns: Simplify process handling in WithRunable trait
- option-management: Remove add option methods
- options: Rename merge methods to with for clarity
- options: Improve option normalization logic
- options: Simplify normalization of options handling
- options: Enhance configuration structure and defaults
- options: Improve delimiter handling in scores method
- options: Change methods to private visibility
- support: Rename dump scripts and improve config handling
- tests: Remove obsolete options.full.php reference
Docs
- README: Update version option methods in examples
Features
- HasOptions: Add addr construction for DSN missing addr
- HasOptions: Add HasOptionsDocCommentRector for generating doc comments
- HasOptions: Add flushOptions method to reset options
- config: Add soar options configuration and scripts
- hasOptions: Implement ArrayAccess methods for options
- rectors: Add SimplifyArrayKeyRector for array key simplification
Performance Improvements
- core: Upgrade PHPStan level and type hints in codebase
Tests
- HasOptions: Refactor option tests and add new cases
- HasSoarBinary: Add tests for invalid binary file scenarios
- WithRunnableTest: Improve error message and refactor tests
- tests: Add snapshot assertion for version output
- tests: Add static analysis suppressions in test files
5.1.1
5.1.0
5.0.3
5.0.2
5.0.1
5.0.1 - 2025-01-16
CI
- composer-updater: Fix PHPStan errors and update dependencies
Code Refactoring
- escape-arg: Refactor EscapeArg class
Features
- ConcreteMagic: add serialization and unserialization methods
Performance Improvements
- HasSoarBinary: Improve error handling
- commit: Improve performance by optimizing code
- concerns: optimize arrayScores performance
Tests
- commit: Add test files and update PHPUnit configuration