Skip to content

Upgrading To v1.1 From v1.0 ​

High Impact Changes ​

Medium Impact Changes ​

Low Impact Changes ​

Upgrade Guide ​

Estimated Upgrade Time: 1 Minutes

Updating Dependencies ​

Likelihood Of Impact: High

Update dependencies in the go.mod file:

go
github.com/goravel/framework v1.1.1

Update Providers ​

Likelihood Of Impact: High

Add Auth Provider in the config.app.go file:

go
"github.com/goravel/framework/auth"

"providers": []contracts.ServiceProvider{
  ...
  &mail.ServiceProvider{},
  &auth.ServiceProvider{},
  &providers.AppServiceProvider{},
  ...
}

Add Config ​

Likelihood Of Impact: High

Add file in the config directory:

  1. auth.go
  2. jwt.go

Add facades.Cache methods ​

Likelihood Of Impact: Medium

Add methods:

  1. facades.Cache.GetBool
  2. facades.Cache.GetInt
  3. facades.Cache.GetString

You need to implement the new three interfaces if you are using Adding Custom Cache Drivers.

Add facades.Auth ​

Likelihood Of Impact: Low

Add Authentication facades.Auth。

Released under the MIT License