Releases: spatie/laravel-onboard
Releases · spatie/laravel-onboard
2.6.0
2.5.0
What's Changed
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #25
- update Onboard facade docblock by @alphaolomi in #26
- Fix inconsistent tabs/space usage in README by @arkoe in #27
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #28
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in #30
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #31
- Alternative way to add onboarding steps by @fedeisas in #34
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #33
- Bump actions/checkout from 3 to 4 by @dependabot in #32
New Contributors
- @alphaolomi made their first contribution in #26
- @arkoe made their first contribution in #27
- @fedeisas made their first contribution in #34
Full Changelog: 2.4.1...2.5.0
2.4.1
- support L10
2.4.0
2.3.0
What's Changed
- Add callable attributes support by @talelmishali in #12
New Contributors
- @talelmishali made their first contribution in #12
Full Changelog: 2.2.0...2.3.0
2.2.0
What's Changed
- Added variable name clarification by @titonova in #5
- Bump dependabot/fetch-metadata from 1.3.1 to 1.3.3 by @dependabot in #6
- Add Arrayable support by @mpociot in #11
New Contributors
- @titonova made their first contribution in #5
- @dependabot made their first contribution in #6
- @mpociot made their first contribution in #11
Full Changelog: 2.1.1...2.2.0
2.1.1
2.1.0
What's Changed
- Fix code example by @tompec in #1
- Excluding steps based on condition by @MohmmedAshraf in #3
New Contributors
- @tompec made their first contribution in #1
- @MohmmedAshraf made their first contribution in #3
Full Changelog: 2.0.0...2.1.0
2.0.0
What's changed
- 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
Upgrading from v1 to v2
- 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: 1.0.0...2.0.0
1.0.0
First release
- Compatible with https://github.com/calebporzio/onboard
- Should only need to change the namespace
Full Changelog: 0.0.2...1.0.0