From 192f5af1d6691c95da1f997c41d0c79858425f02 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Apr 2026 02:15:56 +0000 Subject: [PATCH] fix: add missing export-ignore entries to .gitattributes and fix CHANGELOG Agent-Logs-Url: https://github.com/voku/Stringy/sessions/43124b4b-e2a9-4d25-8472-d1f02edc4059 Co-authored-by: voku <264695+voku@users.noreply.github.com> --- .gitattributes | 3 +++ CHANGELOG.md | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index efc6de79..9c800799 100644 --- a/.gitattributes +++ b/.gitattributes @@ -12,5 +12,8 @@ /appveyor.yml export-ignore /circle.yml export-ignore /phpstan.neon export-ignore +/.deepsource.toml export-ignore +/phpcs.php_cs export-ignore +/phpunit.legacy.xml.dist export-ignore /phpunit.xml.dist export-ignore /psalm.xml export-ignore diff --git a/CHANGELOG.md b/CHANGELOG.md index 58430e5e..be80ea47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,16 @@ # Changelog ### 7.0.0 (2026-04-22) -- breaking-change: drop support for PHP 7.1 +- fix: clean up Composer distribution archive (add missing .gitattributes export-ignore entries for dev-only files) - fix "camelize()" + "upperCamelize()" for all-caps input such as "FOO BAR" and "API2URL" - fix PHP 8.4 compatibility / deprecation warnings - add proper return types and optimized nullable phpdocs for better PHP / PHPStan compatibility +- add PHP 8.1+ compatibility shim for `JsonSerializable::jsonSerialize()` return type (`JsonSerializableReturnTypeTrait`) - improve "collection()" handling for single strings, Stringy objects, and "null"; preserve keys in "CollectionStringy::createFromStrings()" - improve edge-case handling for "appendRandomString()", "at()", "offsetGet()", "lineWrap()", "lineWrapAfterWord()", and truncation-related methods - update vendor lib "voku/portable-utf8" to "~6.1.0" - modernize GitHub Actions / PHPUnit configuration and add dependency automation via Dependabot + Renovate +- support PHP 7.1+ ### 6.5.3 (2022-03-28) - "To people of Russia": There is a war in Ukraine right now. The forces of the Russian Federation are attacking civilians.