Skip to content

Commit acefe87

Browse files
authored
add note that factory types have been removed
do not merge this unless laravel/framework#30867 is merged. I wanted to get this opened, though, so I wouldn't forget.
1 parent 9e8c49b commit acefe87

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

upgrade.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ If you would like to keep using the previous behavior you can override the `seri
6868

6969
> {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.
7070
71+
<a name="factory-types"></a>
72+
#### Factory Types
73+
74+
**Likelihood Of Impact: Medium**
75+
76+
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.
77+
7178
<a name="miscellaneous"></a>
7279
### Miscellaneous
7380

0 commit comments

Comments
 (0)