diff --git a/CHANGELOG.md b/CHANGELOG.md index ff6da5d..c0a9c74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,16 +6,16 @@ All notable changes to `laravel-casters` will be documented in this file ### What's Changed -- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/rawilk/laravel-casters/pull/2 -- Bump creyD/prettier_action from 3.0 to 4.2 by @dependabot in https://github.com/rawilk/laravel-casters/pull/3 -- Update syntax to take advantage of newer PHP features +- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/rawilk/laravel-casters/pull/2 +- Bump creyD/prettier_action from 3.0 to 4.2 by @dependabot in https://github.com/rawilk/laravel-casters/pull/3 +- Update syntax to take advantage of newer PHP features ### Breaking Changes -- Drop PHP 7.4 support -- Drop PHP 8.0 support -- Drop Laravel 8.0 support -- Remove Encrypted cast in favor of native laravel encryption cast +- Drop PHP 7.4 support +- Drop PHP 8.0 support +- Drop Laravel 8.0 support +- Remove Encrypted cast in favor of native laravel encryption cast **Full Changelog**: https://github.com/rawilk/laravel-casters/compare/v2.0.2...v3.0.0 @@ -23,35 +23,35 @@ All notable changes to `laravel-casters` will be documented in this file ### Fixed -- Make `Rawilk\LaravelCasters\Support\Str` compatible with base `Str` class by making `squish` method signature compatible with parent signature +- Make `Rawilk\LaravelCasters\Support\Str` compatible with base `Str` class by making `squish` method signature compatible with parent signature ## 2.0.1 - 2022-02-23 ### Updated -- Add Laravel 9.* support -- Add PHP 8.1 support +- Add Laravel 9.\* support +- Add PHP 8.1 support ### Fixed -- Handle null values correctly on Password cast in Laravel 9 +- Handle null values correctly on Password cast in Laravel 9 ## 2.0.0 - 2020-11-12 ### Breaking Changes -- Drop support for Laravel 7 +- Drop support for Laravel 7 ### Added -- Add a name cast +- Add a name cast ## 1.0.1 - 2020-09-21 ### Fixed -- Fix bug in password cast causing passwords to be re-hashed - [#1](https://github.com/rawilk/laravel-casters/issues/1). +- Fix bug in password cast causing passwords to be re-hashed - [#1](https://github.com/rawilk/laravel-casters/issues/1). ## 1.0.0 - 2020-09-18 -- initial release +- initial release diff --git a/docs/upgrade.md b/docs/upgrade.md index 3db58f2..4aca0a9 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -6,10 +6,13 @@ sort: 4 ## From v2 to v3 ### PHP Version + v3 now requires PHP 8.1 or greater, so your environment will need to be at least that version. ### Laravel Version + v3 now requires Laravel 9.0 or greater, so you will need to ensure your project is upgraded to at least version 9.0. ### Encrypted Cast + v3 Dropped the Encrypted cast in favor of using the encryption casts that come with Laravel now. You will need to make sure you changed any references from `Encrypted::class` to `'encrypted'` in your models.