2.1.0
This release adds the ability to infer model properties from schema dumps. You can try to remove your migrations and use just the dump files. Note: Currently only dumps that have MySQL and MariaDB syntax are supported. SQLite is partially supported. And PostgreSQL is not tested.
Also this release introduces new config option called squashedMigrationsPath
. You can read more about it here.
What's Changed
Added
- feat: add return type support for
$request->user()
call by @canvural in #1136 - feat: schema dump parsing by @canvural in #1147
- feat: add support for migrations using
Schema::connection
by @canvural in #1151
Fixed
- fix: collect() returns collection which can have array-key as key type in b0a50df
- fix:
Query::whereBetween
typehint by @gitetsu in #1123 - fix: update PHPStan version and stubs by @canvural in #1144
- fix:
deleted_at
column has date type rather thanstring
by @totov in #1124
New Contributors
Full Changelog: v2.0.1...v2.1.0