What's Changed
Added
- Add support for restoreOrCreate and createOrRestore SoftDelete macros. by @mad-briller in #1859
- chore: add
withWhereHas
method to supported Eloquent Builder methods by @akinoriakatsuka in #1853
Fixed
- Fixed issue where collections with invalid templates configured would cause a fatal error. by @mad-briller in #1863
- Fixed a case with macros registered as static methods with array syntax 42d5262
- Fixed an issue where
map
andmapWithKeys
methods of Eloquent collection returns a Eloquent collection if model is returned from the callback 097a2d2
Internal
- chore: add tests for LazyCollection flatmap by @calebdw in #1851
- Added error identifiers to Larastan's rules b3f95c4
New Contributors
- @akinoriakatsuka made their first contribution in #1853
Full Changelog: v2.9.0...v2.9.1