What's new in Laravel v5.8
summary
Laravel 5.8 adds concrete features: hasOneThrough lets a model skip the intermediate relation and fetch the end model directly; policy auto-discovery finds policies by convention (or via a closure) so forgotten registrations stop silently denying actions; API tokens now support sha256 hashing and demo shows hashed storage and one-time display; custom pivot models fire create/detach events (Telescope shows MembershipCreated); cache locks gain an owner token preventing accidental releases; Redis blocking pops cut ping rates while still processing jobs immediately.
AI-written summary · about
