Releases: TheDragonCode/support
Releases · TheDragonCode/support
v6.1.0
What's Changed
- Added
Str::trim,Str::ltrimandStr::rtrimmethods by @andrey-helldar in #243 - Actualize
Arr::of()methods by @andrey-helldar in #244 - Actualize
Str::of()methods by @andrey-helldar in #245 - Fixed bug with checking instance heirs by @andrey-helldar in #246
Full Changelog: v6.0.1...v6.1.0
v6.0.1
What's Changed
- Refactored
Instance::ofmethod by @andrey-helldar in #242
Full Changelog: v6.0.0...v6.0.1
v6.0.0
Fixed
- PHP Deprecated: trim(): Passing null to parameter 1 ($string) of type string is deprecated by @andrey-helldar
Changed
Call::callbackmethod became public by @andrey-helldar in #229- Support for PHP 8.0 and above by @andrey-helldar
- Removed deprecated facades (
ArrayableandStringable) by @andrey-helldar - Project structure have been changed by @andrey-helldar
- Renamed
Arr::toArray()method withArr::resolve()by @andrey-helldar - All
convertToStringmethods renamed totoStringby @andrey-helldar - Directory::delete and Directory::ensureDelete methods can now accept an array of paths by @andrey-helldar
File::deleteandFile::ensureDeletemethods arevoidnow by @andrey-helldarStr::removeSpacesmethod was renamed toStr::squishby @andrey-helldarVersionhelper has been simplified by @andrey-helldar
Added
- Added tests to
Url::isby @andrey-helldar in #228 - Added
Call::valuemethod by @andrey-helldar in #230 - Added
Arr::firstmethod by @andrey-helldar in #231 - Added
Arr::lastmethod by @andrey-helldar in #232 - Added
Arr::of()->get()method by @andrey-helldar in #233 - Added
Str::of()->when()method by @andrey-helldar in #234 - Added
Str::between()method by @andrey-helldar in #235 - Added
Arr::of()->when()method by @andrey-helldar in #236 - Added
Arr::splicemethod by @andrey-helldar in #237 - Added the ability to return default values from
Arr::of()->when()andStr::of()->when()by @andrey-helldar in #238 - Added
Str::mapandStr::of()->map()methods by @andrey-helldar - Added
Str::explodeandStr::of()->explode()methods by @andrey-helldar - Added a new
Versionhelper by @andrey-helldar - Added
Str::prependandStr::appendmethods by @andrey-helldar - Added
Str::replacemethod and renamed the previous one toStr::replaceFormatby @andrey-helldar - Added
Arr::mapIntomethod by @andrey-helldar - Added symfony 6 support by @andrey-helldar
- Added new class:
Pathwithbasename,dirname,extensionandfilenamemethods by @andrey-helldar - Added
File::loadmethod by @andrey-helldar - Added
Arr::ofFilemethod by @andrey-helldar
Removed
Arr::store,Arr::storeAsArrayandArr::storeAsJsonmethods removed by @andrey-helldar
Full Changelog: v5.8.1...v6.0.0
v6.0.0-rc2
Fixed
- PHP Deprecated: trim(): Passing null to parameter 1 ($string) of type string is deprecated.
Changed
Versionhelper has been simplified.
Added
- Added new class:
Pathwithbasename,dirname,extensionandfilenamemethods. - Added
File::loadmethod. - Added
Arr::ofFilemethod.
Removed
Arr::store,Arr::storeAsArrayandArr::storeAsJsonmethods removed.
v6.0.0-rc1
Changes
- Support for PHP 8.0 and above.
- Removed deprecated facades (
ArrayableandStringable). - Project structure have been changed.
- Renamed
Arr::toArray()method withArr::resolve(). - All
convertToStringmethods renamed totoString. - Directory::delete and Directory::ensureDelete methods can now accept an array of paths.
File::deleteandFile::ensureDeletemethods arevoidnow.Str::removeSpacesmethod was renamed toStr::squish.
Added
- Added
Str::mapandStr::of()->map()methods. - Added
Str::explodeandStr::of()->explode()methods. - Added a new
Versionhelper. - Added
Str::prependandStr::appendmethods. - Added
Str::replacemethod and renamed the previous one toStr::replaceFormat. - Added
Arr::mapIntomethod - Added symfony 6 support.
v5.8.1
v5.8.0
v5.7.3
Bump `voku/portable-ascii`
v5.7.2
Full Changelog: v5.7.1...v5.7.2
v5.7.1
Full Changelog: v5.7.0...v5.7.1