# Changelog

All notable changes to `laravel-view-models` will be documented in this file

## 1.6.0 - 2024-03-13

### What's Changed

* Update broken shield badge by @erikn69 in https://github.com/spatie/laravel-view-models/pull/51
* Laravel 11.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-view-models/pull/52

### New Contributors

* @erikn69 made their first contribution in https://github.com/spatie/laravel-view-models/pull/51

**Full Changelog**: https://github.com/spatie/laravel-view-models/compare/1.5.4...1.6.0

## 1.5.4 - 2023-02-01

### What's Changed

- Laravel 10.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-view-models/pull/50

### New Contributors

- @laravel-shift made their first contribution in https://github.com/spatie/laravel-view-models/pull/50

**Full Changelog**: https://github.com/spatie/laravel-view-models/compare/1.5.3...1.5.4

## 1.5.3 - 2023-01-30

### What's Changed

- Update README.md in https://github.com/spatie/laravel-view-models/pull/45
- Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-view-models/pull/46
- Convert all tests to Pest by @alexmanase in https://github.com/spatie/laravel-view-models/pull/47
- Implement Snake Case Mapping for ViewModel Properties and Methods by @gjinali in https://github.com/spatie/laravel-view-models/pull/48

### New Contributors

- @alexmanase made their first contribution in https://github.com/spatie/laravel-view-models/pull/47
- @gjinali made their first contribution in https://github.com/spatie/laravel-view-models/pull/48

**Full Changelog**: https://github.com/spatie/laravel-view-models/compare/1.5.2...1.5.3

## 1.5.2 - 2022-02-23

## What's Changed

- Always use default ViewModels namespace as a prefix by @jdrieghe in https://github.com/spatie/laravel-view-models/pull/43

## New Contributors

- @jdrieghe made their first contribution in https://github.com/spatie/laravel-view-models/pull/43

**Full Changelog**: https://github.com/spatie/laravel-view-models/compare/1.5.1...1.5.2

## 1.5.1 - 2022-01-13

## What's Changed

- Fix for Data Property duplication by @JamesFreeman in https://github.com/spatie/laravel-view-models/pull/41

**Full Changelog**: https://github.com/spatie/laravel-view-models/compare/1.5.0...1.5.1

## 1.5.1 - 2022-01-13

- Fix for Data Property duplication (#41)

## 1.5.0 - 2022-01-12

- Allow Laravel 9

## 1.4.0 - 2021-12-06

- Allow $data to be passed to view (#39)

## 1.3.2 - 2020-11-30

- add support for PHP 8

## 1.3.1 - 2020-08-09

- Add support for Laravel 8

## 1.3.0 - 2020-03-03

- Add support for Laravel 7

## 1.2.0 - 2019-09-04

- Add support or Laravel 6

## 1.1.1 - 2018-02-28

- Add support for Laravel 5.8

## 1.1.0 - 2018-09-26

- Add a `make:view-model` command

## 1.0.2 - 2018-09-12

- Properly ignore magic methods

## 1.0.1 - 2018-09-12

- Fix JSON response being wrongly encoded

## 1.0.0 - 2018-09-12

- initial release
