All notable changes to laravel-onboard
will be documented in this file.
- Add Laravel 11 support by @alexanderkroneis in spatie#35
Full Changelog: https://github.com/spatie/laravel-onboard/compare/2.5.0...2.6.0
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in spatie#25
- update Onboard facade docblock by @alphaolomi in spatie#26
- Fix inconsistent tabs/space usage in README by @arkoe in spatie#27
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in spatie#28
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in spatie#30
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in spatie#31
- Alternative way to add onboarding steps by @fedeisas in spatie#34
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in spatie#33
- Bump actions/checkout from 3 to 4 by @dependabot in spatie#32
- @alphaolomi made their first contribution in spatie#26
- @arkoe made their first contribution in spatie#27
- @fedeisas made their first contribution in spatie#34
Full Changelog: https://github.com/spatie/laravel-onboard/compare/2.4.1...2.5.0
- support L10
- Allow steps to be limited to specific classes by @RhysLees in spatie#15
- @RhysLees made their first contribution in spatie#15
Full Changelog: https://github.com/spatie/laravel-onboard/compare/2.3.0...2.4.0
- Add callable attributes support by @talelmishali in spatie#12
- @talelmishali made their first contribution in spatie#12
Full Changelog: https://github.com/spatie/laravel-onboard/compare/2.2.0...2.3.0
- Added variable name clarification by @titonova in spatie#5
- Bump dependabot/fetch-metadata from 1.3.1 to 1.3.3 by @dependabot in spatie#6
- Add Arrayable support by @mpociot in spatie#11
- @titonova made their first contribution in spatie#5
- @dependabot made their first contribution in spatie#6
- @mpociot made their first contribution in spatie#11
Full Changelog: https://github.com/spatie/laravel-onboard/compare/2.1.1...2.2.0
- Update binding method by @tompec in spatie#4
Full Changelog: https://github.com/spatie/laravel-onboard/compare/2.1.0...2.1.1
- Fix code example by @tompec in spatie#1
- Excluding steps based on condition by @MohmmedAshraf in spatie#3
- @tompec made their first contribution in spatie#1
- @MohmmedAshraf made their first contribution in spatie#3
Full Changelog: https://github.com/spatie/laravel-onboard/compare/2.0.0...2.1.0
- You can now add onboarding to any model using the trait & interface
- Added dependency injection to the
completeIf
callback - The
completeIf
callback is now cached usingspatie/once
to only run once per request - Added a
percentageCompleted
method
- Support for PHP 7.4 has been dropped
- Support for Laravel 7 and 8 has been dropped
- The
\Spatie\Onboard\OnboardFacade
has been moved to\Spatie\Onboard\Facades\Onboard
- The
\Spatie\Onboard\GetsOnboarded
trait has been moved to\Spatie\Onboard\Concerns\GetsOnboarded
- You should add the new
\Spatie\Onboard\Concerns\Onboardable
interface to yourUser
model - The
$user
parameter in thecompleteIf
callback has been renamed to$model
and it now supports dependency injection
Full Changelog: https://github.com/spatie/laravel-onboard/compare/1.0.0...2.0.0
- Compatible with https://github.com/calebporzio/onboard
- Should only need to change the namespace
Full Changelog: https://github.com/spatie/laravel-onboard/compare/0.0.2...1.0.0
Experimental release
Full Changelog: https://github.com/spatie/laravel-onboard/compare/0.0.1...0.0.2