# Changelog

All notable changes to `laravel-schemaless-attributes` will be documented in this file

## 2.3.0 - 2022-01-12

## What's Changed

- Update .gitattributes by @erikn69 in https://github.com/spatie/laravel-schemaless-attributes/pull/95
- Allow Laravel 9

**Full Changelog**: https://github.com/spatie/laravel-schemaless-attributes/compare/2.2.0...2.3.0

## 2.2.0 - 2021-12-06

## What's Changed

- add typehinting by @Nielsvanpach in https://github.com/spatie/laravel-schemaless-attributes/pull/93

## New Contributors

- @Nielsvanpach made their first contribution in https://github.com/spatie/laravel-schemaless-attributes/pull/93

**Full Changelog**: https://github.com/spatie/laravel-schemaless-attributes/compare/2.1.1...2.2.0

## 2.1.1 - 2021-11-09

- improve edge case

## 2.1.0 - 2021-11-08

- Scope retrieving models with operator by @erikn69 in https://github.com/spatie/laravel-schemaless-attributes/pull/89

## 2.0.1 - 2021-11-06

- Update README.md by @markinigor in https://github.com/spatie/laravel-schemaless-attributes/pull/82
- Document retrieving models via nested attributes by @EricBusch in https://github.com/spatie/laravel-schemaless-attributes/pull/83
- Fix the wrong trait initializer in readme by @lava83 in https://github.com/spatie/laravel-schemaless-attributes/pull/88
- Support json string on cast setter by @erikn69 in https://github.com/spatie/laravel-schemaless-attributes/pull/90

## 2.0.0 - 2021-04-09

- require PHP 8+
- use PHP 8 syntax where possible
- drop support for PHP 7
- drop support for Laravel 6
- implement `spatie/laravel-package-tools`
- implement custom class attribute casting

## 1.8.3 - 2020-11-04

- allow PHP 8.0

## 1.8.2 - 2020-09-14

- improve behaviour for isset() and empty()

## 1.8.1 - 2020-08-09

- support Laravel 8

## 1.8.0 - 2020-08-26

- add trait with multi-column support with tests (#65)

## 1.7.1 - 2020-03-18

- fix `getRawSchemalessAttributes()` must be of the type array (#60)

## 1.7.0 - 2020-03-02

- Add Laravel 7 support

## 1.6.0 - 2019-09-04

- Add Laravel 6 support

## 1.5.0 - 2019-08-21

- extend `Collection`

## 1.4.0 - 2019-02-27

- drop support for PHP 7.1

## 1.3.1 - 2019-02-01

- use Arr:: and Str:: functions

## 1.3.0 - 2018-10-29

- add array support to `set`

## 1.2.0 - 2018-09-11

- add support for wildcards

## 1.1.3 - 2018-07-11

- removed unused `spatie/string` dependency

## 1.1.2 - 2018-05-22

- implement `Arrayable`

## 1.1.1 - 2018-05-22

- return to `schemalessAttributes` macro

## 1.1.0 - 2018-05-15

- added support for setting default values

## 1.0.0 - 2018-05-11

- initial release
