Skip to content

Commit

Permalink
Update UPGRADE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdwallo committed Mar 19, 2024
1 parent 5570699 commit 029542f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ This major release introduces significant changes designed to streamline the usa

### Migration Steps

#### Dependency Versions

You should upgrade your `andrewdwallo/filament-companies` dependency to `^4.0` within your application's `composer.json` file. Then, run the `composer update` command:

composer update

#### Socialite Providers

For Socialite providers, replace the usage of the `Wallo\FilamentCompanies\Providers` class with the `Wallo\FilamentCompanies\Enums\Provider` enum.

Before:
Expand Down Expand Up @@ -53,6 +61,8 @@ Provider::Github->isEnabled(),

```

#### Socialite Features

For Socialite features, replace the usage of the `Wallo\FilamentCompanies\Socialite` class with the `Wallo\FilamentCompanies\Enums\Feature` enum.

Before:
Expand Down

0 comments on commit 029542f

Please sign in to comment.