Upgrading To v1.7 From v1.6
High Impact Changes
- Add Validation Module(v1.7.0)
- Fix request template BUG(v1.7.1)
- Fix Validation module BUG(v1.7.2)
- Fix Auth module BUG(v1.7.3)
Low Impact Changes
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.7.3
Add Validation module
Likelihood Of Impact: High
Version: v1.7.0
- Add app/providers/validation_service_provider.go file;
- Add
&validation.ServiceProvider{}
,&providers.ValidationServiceProvider{},
to theproviders
item in the config/app.go file;
Fix request template BUG
Likelihood Of Impact: High
Version: v1.7.1
- Fix import path BUG of the request template that created by
go run . artisan make:request Test
;
Fix Validation module BUG
Likelihood Of Impact: High
Version: v1.7.2
- Fix the BUG that does not take effect when the
facades.Validation
module registers multiple custom Rule;
Optimize the queue name of the queue module
Likelihood Of Impact: Low
Version: v1.7.2
- Add a prefix to the queue name of the
facades.Queue
module during actual execution, in order to distinguish between multiple projects, the prefix rule: ${app_name}_queues:${queue}; - Implicit optimization, you don't need to modify any code;
Fix Auth module BUG
Likelihood Of Impact: High
Version: v1.7.3
- Fix the BUG that calling
facades.Auth.User
method returnsUnknown column
error when the primary key of user table isstring
type;