Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
rawilk committed Feb 15, 2023
2 parents c5acdab + d9e08b8 commit 6c51c67
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
30 changes: 15 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,52 @@ 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

## 2.0.2 - 2022-04-06

### 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
3 changes: 3 additions & 0 deletions docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 6c51c67

Please sign in to comment.