8000 Upgrade v1.13.4 by hwbrzzl · Pull Request #54 · goravel/docs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Upgrade v1.13.4 #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ This project is made possible by everyone who contributes. To contribute, please
<a href="https://github.com/ahmed3mar" target="_blank"><img src="https://avatars.githubusercontent.com/u/12982325?v=4" width="48" height="48"></a>
<a href="https://github.com/flc1125" target="_blank"><img src="https://avatars.githubusercontent.com/u/14297703?v=4" width="48" height="48"></a>
<a href="https://github.com/zzpwestlife" target="_blank"><img src="https://avatars.githubusercontent.com/u/12382180?v=4" width="48" height="48"></a>
<a href="https://github.com/juantarrel" target="_blank"><img src="https://avatars.githubusercontent.com/u/7213379?v=4" width="48" height="48"></a>

## Sponsor

Expand Down
67 changes: 55 additions & 12 deletions upgrade/v1.13.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
- [Add Cloudinary Driver For Filesystem](#add-cloudinary-driver-for-filesystem)
- [Add New Chain Methods For Log](#add-new-chain-methods-for-log)

### v1.13.4

- [The Service Startup Supports Environment Variables](#the-service-startup-supports-environment-variables)

## Breaking Changes 🛠

- [Remove The Global HTTP Middleware Loaded By Default](#_5-remove-the-global-http-middleware-loaded-by-default)
Expand All @@ -32,15 +36,22 @@

### Bug Fixes 🐛

- [Fix The Problem Of facades.Auth().User()](#fix-the-problem-of-facades-auth-user)
- [Fix The Problem Of Custom .env Path Does Not Take Effect In Some Cases](#fix-the-problem-of-custom-env-path-does-not-take-effect-in-some-cases)
- [Fix The Problem Of Token Expires Immediately When ttl == 0 Is Set In JWT](#fix-the-problem-of-token-expires-immediately-when-ttl-0-is-set-in-jwt)
- [Fix facades.Auth().User()](#fix-facades-auth-user)
- [Fix Custom .env Path Does Not Take Effect In Some Cases](#fix-custom-env-path-does-not-take-effect-in-some-cases)
- [Fix Token Expires Immediately When ttl == 0 Is Set In JWT](#fix-token-expires-immediately-when-ttl-0-is-set-in-jwt)

#### v1.13.2

- [Fix The Problem Of facades.Storage().Url() Returns Wrong Path Under Windows](#fix-the-problem-of-facades-storage-url-returns-wrong-path-under-windows)
- [Fix The Problem Of Abnormal Connection When The Postgres Password Is Empty](#fix-the-problem-of-abnormal-connection-when-the-postgres-password-is-empty)
- [Fix The Problem Of The With Method Is Invalid When Using The Cursor Method Of Orm](#fix-the-problem-of-the-with-method-is-invalid-when-using-the-cursor-method-of-orm)
- [Fix facades.Storage().Url() Returns Wrong Path Under Windows](#fix-facades-storage-url-returns-wrong-path-under-windows)
- [Fix Abnormal Connection When The Postgres Password Is Empty](#fix-abnormal-connection-when-the-postgres-password-is-empty)
- [Fix The With Method Is Invalid When Using The Cursor Method Of Orm](#fix-the-with-method-is-invalid-when-using-the-cursor-method-of-orm)

#### v1.13.4

- [Fix The Validation Module Cant Verify The Route Params](#fix-the-validation-module-cant-verify-the-route-params)
- [Fix The Fiber Driver Cant Return File](#fix-the-fiber-driver-cant-return-file)
- [Fix The Global Middleware Of Fiber Driver Panic](#fix-the-global-middleware-of-fiber-driver-panic)
- [Fix The ContentType Setting of Fiber Driver Is Different From Gin Driver](#fix-the-contenttype-setting-of-fiber-driver-is-different-from-gin-driver)

## Upgrade Guide

Expand Down Expand Up @@ -333,40 +344,72 @@ Version: v1.13.1

[For Detail](../the-basics/logging.md#chain-methods)

### Fix The Problem Of facades.Auth().User()
### Fix facades.Auth().User()

Version: v1.13.1

1. Fix the problem that no error throws if the user didn't exist when using the `facades.Auth().User(ctx, &user)` method.

2. Fix the problem that `user` can be found when the primary key isn't `int`;

### Fix The Problem Of Custom .env Path Does Not Take Effect In Some Cases
### Fix Custom .env Path Does Not Take Effect In Some Cases

Version: v1.13.1

Fix the problem that custom .env path does not take effect in some cases.

### Fix The Problem Of Token Expires Immediately When ttl == 0 Is Set In JWT
### Fix Token Expires Immediately When ttl == 0 Is Set In JWT

Version: v1.13.1

Expect the token to never expire when `ttl == 0`.

### Fix The Problem Of facades.Storage().Url() Returns Wrong Path Under Windows
### Fix facades.Storage().Url() Returns Wrong Path Under Windows

Version: v1.13.2

[Issue #263](https://github.com/goravel/goravel/issues/263)

### Fix The Problem Of Abnormal Connection When The Postgres Password Is Empty
### Fix Abnormal Connection When The Postgres Password Is Empty

Version: v1.13.2

[Issue #270](https://github.com/goravel/goravel/issues/270)

### Fix The Problem Of The With Method Is Invalid When Using The Cursor Method Of Orm
### Fix The With Method Is Invalid When Using The Cursor Method Of Orm

Version: v1.13.2

[Issue #253](https://github.com/goravel/goravel/issues/253)

### The Service Startup Supports Environment Variables

Version: v1.13.4

[Issue #265](https://github.com/goravel/goravel/issues/265)

### Fix The Validation Module Cant Verify The Route Params

goravel/gin: v1.1.6

goravel/fiber: v1.1.11

[Issue #294](https://github.com/goravel/goravel/issues/294)

### Fix The Fiber Driver Cant Return File

goravel/fiber: v1.1.11

[Issue #299](https://github.com/goravel/goravel/issues/299)

### Fix The Global Middleware Of Fiber Driver Panic

goravel/fiber: v1.1.11

[Issue #300](https://github.com/goravel/goravel/issues/300)

### Fix The ContentType Setting Of Fiber Driver Is Different From Gin Driver

goravel/fiber: v1.1.11

[Issue #296](https://github.com/goravel/goravel/issues/296)
1 change: 1 addition & 0 deletions zh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Goravel 是一个功能完备、具有良好扩展能力的 Web 应用程序框
<a href="https://github.com/ahmed3mar" target="_blank"><img src="https://avatars.githubusercontent.com/u/12982325?v=4" width="48" height="48"></a>
<a href="https://github.com/flc1125" target="_blank"><img src="https://avatars.githubusercontent.com/u/14297703?v=4" width="48" height="48"></a>
<a href="https://github.com/zzpwestlife" target="_blank"><img src="https://avatars.githubusercontent.com/u/12382180?v=4" width="48" height="48"></a>
<a href="https://github.com/juantarrel" target="_blank"><img src="https://avatars.githubusercontent.com/u/7213379?v=4" width="48" height="48"></a>

## 打赏

Expand Down
43 changes: 43 additions & 0 deletions zh/upgrade/v1.13.md
403A
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
- [Filesystem 模块新增 Cloudinary 驱动](#filesystem-模块新增-cloudinary-驱动)
- [Log 新增链式方法](#log-新增链式方法)

#### v1.13.4

- [服务启动支持环境变量](#服务启动支持环境变量)

### 破坏性变化 🛠

- [移除默认加载的 HTTP 全局中间件](#_5-移除默认加载的-http-全局中间件)
Expand All @@ -42,6 +46,13 @@
- [修复 Postgres 密码为空时连接异常的问题](#修复-postgres-密码为空时连接异常的问题)
- [修复使用 Orm Cursor 方法时 With 方法无效的问题](#修复使用-orm-cursor-方法时-with-方法无效的问题)

#### v1.13.4

- [修复 validation 无法校验路由参数的问题](#修复-validation-无法校验路由参数的问题)
- [修复 Fiber 驱动无法返回文件的问题](#修复-fiber-驱动无法返回文件的问题)
- [修复 Fiber 驱动全局中间件 panic 的问题](#修复-fiber-全局中间件-panic-的问题)
- [修复 Fiber 驱动的 ContentType 设置与 Gin 驱动不同的问题](#修复-fiber-驱动的-contenttype-设置与-gin-驱动不同的问题)

## 升级指南

请根据本节内容,一步步进行框架升级。
Expand Down Expand Up @@ -368,3 +379,35 @@ Version: v1.13.2
Version: v1.13.2

[Issue #253](https://github.com/goravel/goravel/issues/253)

### 服务启动支持环境变量

Version: v1.13.4

[Issue #265](https://github.com/goravel/goravel/issues/265)

### 修复 validation 无法校验路由参数的问题

goravel/gin: v1.1.6

goravel/fiber: v1.1.11

[Issue #294](https://github.com/goravel/goravel/issues/294)

### 修复 Fiber 驱动无法返回文件的问题

goravel/fiber: v1.1.11

[Issue #299](https://github.com/goravel/goravel/issues/299)

### 修复 Fiber 驱动全局中间件 panic 的问题

goravel/fiber: v1.1.11

[Issue #300](https://github.com/goravel/goravel/issues/300)

### 修复 Fiber 驱动的 ContentType 设置与 Gin 驱动不同的问题

goravel/fiber: v1.1.11

[Issue #296](https://github.com/goravel/goravel/issues/296)
0