- from masonite.essentials.helpers import hashid+ from masonite.helpers import hashid- from masonite.essentials.middleware import HashIDMiddleware+ from masonite.hashid.middleware import HashIDMiddleware
Config Changes
Cache
Rename memcache driver to memcached to the config/cache.py file.
Two new providers have been created, that you will need to add them in config/providers.pyfile.
from masonite.providers import PresetsProvider, SecurityProvider, LoggingProvider#...PROVIDERS = [ FrameworkProvider, HelpersProvider, SecurityProvider,# insert here LoggingProvider,# insert here RouteProvider,#.. ValidationProvider, PresetsProvider,# insert here AuthorizationProvider, ORMProvider, AppProvider,]
Cache
Memcached driver name has been fixed. It was called Memcache as its real name is Memcached. When using this driver you will now need to access it like this: