From acefe87cc18cfd26bff0500ca1cebab0271f6670 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Tue, 17 Dec 2019 17:34:43 -0600 Subject: [PATCH] add note that factory types have been removed do not merge this unless https://github.com/laravel/framework/pull/30867 is merged. I wanted to get this opened, though, so I wouldn't forget. --- upgrade.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/upgrade.md b/upgrade.md index f09470245e..578e6452f0 100644 --- a/upgrade.md +++ b/upgrade.md @@ -68,6 +68,13 @@ If you would like to keep using the previous behavior you can override the `seri > {tip} This change only affects serialization of models and model collections to arrays and JSON. This change has no affect on how dates are stored in your database. + +#### Factory Types + +**Likelihood Of Impact: Medium** + +Laravel 7 removes the factory types feature. This feature has been undocumented since October 2016. If you are still using this feature, you should upgrade to factory states, which provide more flexibility. + ### Miscellaneous