Repository navigation
v0.8.4
Added
WorkspaceContext::enter($workspace, $refresh)andleave(), an explicit enter/leave alongside the scopedrun(). Entries nest, andleave()with nothing entered throwsLogicException.run()is now enter, try, finally leave, with unchanged behaviour. This lets a tenant switch task (spatie/laravel-multitenancy) hold the workspace context across a job or command (#136).
Upgrading
- An app with its own
WorkspaceContextimplementation must addenter()andleave().
What's Changed
- Add enter and leave to the workspace context, with run built on them by @jaspertey in #136
- Release 0.8.4 by @jaspertey in #137
Full Changelog: v0.8.3...v0.8.4