Because there are many breaking changes an upgrade is not that easy. There are many edge cases this guide does not cover. We accept PRs to improve this guide.
If you're using the default settings you can upgrade without any problems.
- By default the
CsrfTokenReplacerwill be applied before caching the request. For most users, this will be harmless - The
flushmethod has been removed, useclearinstead - The
Flushcommand has been removed. UseClearCommandinstead
As of Laravel 5.8 defining cache time in seconds is supported. All mentions of response cache time should be changed from minutes to seconds:
- If you've published to config file, change
cache_lifetime_in_minutestocache_lifetime_in_seconds - If you're using the
responseCachemiddleware, change the optional time parameter to seconds (value * 60) - If you're extending
CacheResponse,ResponseCacheRepository,BaseCacheProfileorCacheResponseyou should check the relevant methods