Skip to content

Releases: guanguans/soar-php

6.0.4

05 Apr 07:25
Compare
Choose a tag to compare

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

04 Apr 05:49
Compare
Choose a tag to compare

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

03 Apr 12:04
Compare
Choose a tag to compare

6.0.2 - 2025-04-03

Bug Fixes

  • Soar: Improve error handling in help method (6b65893)
  • config: Update database configuration and add parameters (675eadf)

Docs

  • README: Update description and translation accuracy (0f1c0a4)
  • changelog: Enhance changelog template formatting (384081d)

6.0.1

02 Apr 17:23
Compare
Choose a tag to compare

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

01 Apr 15:06
Compare
Choose a tag to compare

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

24 Mar 10:21
Compare
Choose a tag to compare

5.1.1 - 2025-03-24

Build

  • dependencies: Update PHP dependencies in composer.json

5.1.0

05 Feb 13:03
Compare
Choose a tag to compare

5.1.0 - 2025-02-05

Build

  • dependencies: Upgrade phpstan-disallowed-calls and psalm

Features

  • Concerns: Add Makeable trait for object creation

Pull Requests

  • Merge pull request #173 from guanguans/dependabot/github_actions/dependabot/fetch-metadata-2.3.0

5.0.3

16 Jan 10:44
Compare
Choose a tag to compare

5.0.3 - 2025-01-16

Code Refactoring

  • WithRunable: Simplify sudo password handling

Docs

  • README: Update badges for CI and versioning

5.0.2

16 Jan 09:42
Compare
Choose a tag to compare

5.0.2 - 2025-01-16

CI

  • formatting: Fix formatting issues in .php-cs-fixer.php, examples/soar.options.docblock.php, and src/Support/ComposerScript.php

Performance Improvements

  • Concerns: improve error handling in setSoarBinary

5.0.1

16 Jan 08:32
Compare
Choose a tag to compare

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