From 6a6e3a8c542638840b9e3048d7e4c8457cfadd5b Mon Sep 17 00:00:00 2001 From: roseduan Date: Mon, 21 Aug 2023 21:58:14 +0800 Subject: [PATCH] add changelog for v2.3.1 --- CHANGELOG.md | 9 +++++++++ README-CN.md | 5 +++++ README.md | 5 +++++ 3 files changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b781749..d1e9ce9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# Release 2.3.1(2023-08-21) +## 🚀 New Features +* Support key expire + * You can call `PutWithTTL` to set the expire time for a key. + +## 🎠 Community +* Thanks to @weijiew + * Add more BTree functions #264 + # Release 2.3.0(2023-08-18) ## 🚀 New Features * use BTree as the default memory data structure. diff --git a/README-CN.md b/README-CN.md index b3dba3c0..7598b141 100644 --- a/README-CN.md +++ b/README-CN.md @@ -80,6 +80,11 @@ RoseDB 存储数据的文件使用预写日志(Write Ahead Log),这些日 RoseDB 支持 Watch 功能,DB 中的 key 发生变化时你可以得到一个事件通知。 +
+ 支持 Key 的过期时间 + RoseDB 支持为 key 设置过期时间,过期后 key 将被自动删除。 +
+ ### 缺点
diff --git a/README.md b/README.md index b6fc60df..b0f394a2 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,11 @@ RoseDB log files are using the WAL(Write Ahead Log) as backend, which are append RoseDB supports key watch, you can get the notification if keys changed in db.
+
+ Support key expire + RoseDB supports key expire, you can set the expire time for keys. +
+ ### Weaknesses