Skip to content

Commit

Permalink
上下文添加方法:remember、unset (#372)
Browse files Browse the repository at this point in the history
* 上下文添加 remember 方法支持

* 添加初步的上下文单元测试

* 修复

* 修复连接上下文并实现单元测试

* 实现 unset 方法

* 修复样式

* 补充文档

* 补充文档2

* Update 2.0-2.1.md

Co-authored-by: Yurun <[email protected]>
  • Loading branch information
NHZEX and Yurunsoft authored Jul 2, 2022
1 parent 2a424b6 commit 3e970b7
Show file tree
Hide file tree
Showing 10 changed files with 518 additions and 266 deletions.
1 change: 1 addition & 0 deletions doc/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

* [生命周期](core/lifeCycle.md)
* [容器](core/container.md)
* [请求上下文](core/requestContext.md)
* [Partial](core/partial.md)
* [事件](components/event/index.md)
* [事件监听](components/event/index.md)
Expand Down
4 changes: 3 additions & 1 deletion doc/base/version/2.0-2.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ v2.1 版本相比 v2.0 版本不会出现非常大的不兼容更改,可以参

### v2.1.18

**发布日期:** `2022-07-01`
**发布日期:** `2022-07-02`

* 模型生成支持 MySQL、PgSQL 虚拟列

* [容器增加3个方法:set、newInstance、bindCallable](/v2.1/core/container.html)

* 请求上下文增加2个方法:remember、unset ([请求上下文](/v2.1/core/requestContext.html)[连接上下文](/v2.1/components/websocketServer/session.html)

### v2.1.17

**发布日期:** `2022-06-24`
Expand Down
Loading

0 comments on commit 3e970b7

Please sign in to comment.