Skip to content
Closed
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
4 changes: 4 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `lua-resty-session` will be documented in this file.

## [4.2.1] - 2026-10-22
### Changed
- perf(*): cache revocation lookups in a worker-local LRU (thanks again @Hockenba)

## [4.2.0] - 2026-08-24
### Added
- feat(*): revocation store for stateless cookie sessions (thanks @Hockenba)
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h2>Modules</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.dshm.html
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.file.html
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.file.thread.html
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.file.utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
8 changes: 7 additions & 1 deletion docs/modules/resty.session.html
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,12 @@ <h3>Fields:</h3>
<li><span class="parameter">revocation_fail_mode</span>
Behavior when the revocation store is unreachable, use <code>&quot;open&quot;</code> (treat as not revoked) or <code>&quot;closed&quot;</code> (reject the session) (defaults to <code>&quot;open&quot;</code>)
</li>
<li><span class="parameter">revocation_cache_ttl</span>
Worker-local TTL for successful revocation lookups (<code>true</code>/<code>false</code>); <code>0</code> disables (defaults to <code>5</code>) (in seconds)
</li>
<li><span class="parameter">revocation_error_cache_ttl</span>
Worker-local TTL for revocation store errors; <code>0</code> disables (defaults to <code>5</code>) (in seconds)
</li>
<li><span class="parameter">dshm</span>
Configuration for dshm storage, e.g. <code>{ prefix = &quot;sessions&quot; }</code>
</li>
Expand Down Expand Up @@ -1349,7 +1355,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.memcached.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.mysql.html
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.postgres.html
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.redis.cluster.html
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.redis.common.html
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.redis.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.redis.sentinel.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.shm.html
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2026-08-24 14:09:39 </i>
<i style="float:right;">Last updated 2026-10-22 15:43:09 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/session.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2440,7 +2440,7 @@ end


local session = {
_VERSION = "4.2.0",
_VERSION = "4.2.1",
metatable = metatable,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package = "lua-resty-session"
version = "4.2.0-1"
version = "4.2.1-1"
source = {
url = "git+https://github.com/bungle/lua-resty-session.git",
tag = "v4.2.0",
tag = "v4.2.1",
}
description = {
summary = "Session Library for OpenResty - Flexible and Secure",
Expand Down
Loading