Skip to content
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.5.14] - 2026-07-20

### Fixed

- Queries are now bounded in how many stored entries they may scan, so a selective filter matching fewer events than its `limit` no longer scans the entire database. Fixes severe CPU and major page-fault load on large databases; the `query_scan_multiplier` config knob (default 20, 0 disables) controls the bound (#160)

## [0.5.13] - 2026-07-16

### Added
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.{
.name = .wisp,
.version = "0.5.13",
.version = "0.5.14",
.fingerprint = 0xc4bdec9fe6401a8d,
.dependencies = .{
// websocket.zig: client for spider outbound connections and the epoll
Expand Down
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ pub fn main(init: std.process.Init) !void {
return error.InvalidSyncMode;
};

std.log.info("Wisp v0.5.13 starting", .{});
std.log.info("Wisp v0.5.14 starting", .{});
std.log.info("Listening on {s}:{d}", .{ config.host, config.port });
std.log.info("Storage: {s} (sync={s})", .{ config.storage_path, @tagName(sync_mode) });

Expand Down
2 changes: 1 addition & 1 deletion src/nip11.zig
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn write(config: *const Config, nip86: *const Nip86Handler, w: anytype) !voi

try w.writeAll(",\"supported_nips\":[1,2,9,11,13,16,33,40,42,45,50,51,65,70,77,86]");
try w.writeAll(",\"software\":\"https://github.com/privkeyio/wisp\"");
try w.writeAll(",\"version\":\"0.5.13\"");
try w.writeAll(",\"version\":\"0.5.14\"");

try w.writeAll(",\"limitation\":{");
try w.print("\"max_message_length\":{d}", .{config.max_message_size});
Expand Down
Loading