GoravelGoravel
Home
Video
  • English
  • 简体中文
GitHub
Home
Video
  • English
  • 简体中文
GitHub
  • Prologue

    • Upgrade Guide

      • Upgrading To v1.15 From v1.14
      • Upgrading To v1.14 From v1.13
      • History Upgrade
    • Contribution Guide
    • Excellent Extend Packages
  • Getting Started

    • Installation
    • Configuration
    • Directory Structure
    • Compile
  • Architecture Concepts

    • Request Lifecycle
    • Service Container
    • Service Providers
    • Facades
  • The Basics

    • Routing
    • HTTP Middleware
    • Controllers
    • Requests
    • Responses
    • Views
    • Grpc
    • Session
    • Validation
    • Logging
  • Digging Deeper

    • Artisan Console
    • Cache
    • Events
    • File Storage
    • Mail
    • Queues
    • Task Scheduling
    • Localization
    • Package Development
    • Color
    • Strings
    • Helpers
  • Security

    • Authentication
    • Authorization
    • Encryption
    • Hashing
  • ORM

    • Getting Started
    • Relationships
    • Migrations
    • Seeding
    • Factories
  • Testing

    • Getting Started
    • HTTP Tests
    • Mock

Upgrading To v1.1 From v1.0

High Impact Changes

  • Updating Dependencies
  • Update Providers
  • Add Config

Medium Impact Changes

  • facades.Cache Add Methods

Low Impact Changes

  • Add facades.Auth

Upgrade Guide

Estimated Upgrade Time: 1 Minutes

Updating Dependencies

Likelihood Of Impact: High

Update dependencies in the go.mod file:

github.com/goravel/framework v1.1.1

Update Providers

Likelihood Of Impact: High

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

"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。

Edit this page