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