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.4 From v1.3

  • High Impact Changes
  • Low Impact Changes
  • Upgrade Guide
    • Updating Dependencies
    • Optimize Grpc Module
    • Optimize Route Register
    • Add http.Context Method
    • Add Request Method

High Impact Changes

  • Optimize Grpc Module
  • Optimize Route Register

Low Impact Changes

  • Add http.Context Method
  • Add Request Method

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.4.0

Optimize Grpc Module

Likelihood Of Impact: High

  1. Add app/grpc/kernel.go file;
  2. Add app/grpc/interceptors folder;
  3. Add config/grpc.go file;
  4. Add routes/grpc.go file;
  5. Add register interceptor logic in app/providers/grpc_service_provider.go;
  6. Remove grpc_host in config/app.go;

For Detail

Optimize Route Register

Likelihood Of Impact: High

Move routes.Web() to Boot() from Register() in app/providers/route_service_provider.go;

Add http.Context Method

Likelihood Of Impact: Low

Add ctx.Context() Method.

For Detail

Add Request Method

Likelihood Of Impact: Low

Add ctx.Request().AbortWithStatusJson method.

For Detail

Edit this page