From 6f54ea1d4217ffe1da7ea25b0e9c6265ece4c035 Mon Sep 17 00:00:00 2001 From: Hassan Abedi Date: Thu, 5 Nov 2026 18:31:24 +0100 Subject: [PATCH 1/5] Set the version to `0.3.3` --- build.zig.zon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig.zon b/build.zig.zon index 60bbe19..e2dcd7e 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,6 +1,6 @@ .{ .name = .ordered, - .version = "0.3.2", + .version = "0.3.3", .fingerprint = 0xc3121f99b0352e1b, // Changing this has security and trust implications. .minimum_zig_version = "0.17.0", .paths = .{ From f2517826834f5824f26989ddecb582ca2c376027 Mon Sep 17 00:00:00 2001 From: Hassan Abedi Date: Thu, 5 Nov 2026 18:33:25 +0100 Subject: [PATCH 2/5] WIP --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f0db79c..e0fff70 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Run the following command in the root directory of your project to download Orde zig fetch --save=ordered "https://github.com/CogitatorTech/ordered/archive/.tar.gz" ``` -Replace `` with the desired branch or release tag, like `main` (for the development version) or `v0.3.0`. +Replace `` with the desired branch or release tag, like `main` (for the development version) or `v0.3.3`. This command will download Ordered and add it to Zig's global cache and update your project's `build.zig.zon` file. ##### Zig Version Support From 8021d7d2e20e974c9f24f7272f60530ccf905569 Mon Sep 17 00:00:00 2001 From: Hassan Abedi Date: Thu, 5 Nov 2026 18:40:16 +0100 Subject: [PATCH 3/5] Fix the falling `docs.yml` workflow --- Makefile | 2 +- build.zig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f496157..fb404cd 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,7 @@ format: ## Format Zig files docs: ## Generate API documentation @echo "Generating API documentation..." - @$(ZIG) build docs + @$(ZIG) build docs --prefix . serve-docs: ## Serve the generated documentation on a local server @echo "Serving API documentation locally..." diff --git a/build.zig b/build.zig index d6583b6..0ebca0b 100644 --- a/build.zig +++ b/build.zig @@ -21,8 +21,8 @@ pub fn build(b: *std.Build) void { const docs_step = b.step("docs", "Generate API documentation"); const install_docs = b.addInstallDirectory(.{ .source_dir = lib.getEmittedDocs(), - .install_dir = .{ .custom = b.root.joinString(b.allocator, "docs/api") catch @panic("OOM") }, - .install_subdir = "", + .install_dir = .prefix, + .install_subdir = "docs/api", }); docs_step.dependOn(&install_docs.step); From 57971160301b0541abdd677bd3639f7988503a6e Mon Sep 17 00:00:00 2001 From: Hassan Abedi Date: Thu, 5 Nov 2026 19:44:33 +0100 Subject: [PATCH 4/5] WIP --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e0fff70..cd8bd86 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ [![Benchmark Results](https://img.shields.io/badge/benchmark%20results-view-507ec6?style=flat&labelColor=282c34&logo=github)](https://cogitatortech.github.io/benchmarks-ordered) [![License](https://img.shields.io/badge/license-MIT-007ec6?label=license&style=flat&labelColor=282c34&logo=open-source-initiative)](https://github.com/CogitatorTech/ordered/blob/main/LICENSE) -A sorted collection library for Zig +A fast sorted collection library for Zig From 2e62c9d432332bf4c0b86995a228f9f374dbda26 Mon Sep 17 00:00:00 2001 From: Hassan Abedi Date: Sat, 7 Nov 2026 10:57:12 +0100 Subject: [PATCH 5/5] Upgrade Zig to `0.17.1` --- Makefile | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fb404cd..d053887 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # ################################################################################ # # Configuration and Variables # ################################################################################ -ZIG_LOCAL := $(HOME)/.local/share/zig/0.17.0/zig +ZIG_LOCAL := $(HOME)/.local/share/zig/0.17.1/zig ZIG ?= $(shell test -x $(ZIG_LOCAL) && echo $(ZIG_LOCAL) || which zig) BUILD_TYPE ?= Debug BUILD_OPTS = -Doptimize=$(BUILD_TYPE) diff --git a/README.md b/README.md index cd8bd86..8610ef9 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@

Ordered

[![Tests](https://img.shields.io/github/actions/workflow/status/CogitatorTech/ordered/tests.yml?label=tests&style=flat&labelColor=282c34&logo=github)](https://github.com/CogitatorTech/ordered/actions/workflows/tests.yml) -[![Zig](https://img.shields.io/badge/zig-0.17.0-F7A41D?style=flat&labelColor=282c34&logo=zig)](https://ziglang.org/download/) +[![Zig](https://img.shields.io/badge/zig-0.17.1-F7A41D?style=flat&labelColor=282c34&logo=zig)](https://ziglang.org/download/) [![Release](https://img.shields.io/github/release/CogitatorTech/ordered.svg?label=release&style=flat&labelColor=282c34&logo=github)](https://github.com/CogitatorTech/ordered/releases/latest) [![Docs](https://img.shields.io/badge/docs-read-507ec6?style=flat&labelColor=282c34&logo=read-the-docs)](https://CogitatorTech.github.io/ordered/) [![Examples](https://img.shields.io/badge/examples-view-507ec6?style=flat&labelColor=282c34&logo=zig)](https://github.com/CogitatorTech/ordered/tree/main/examples) @@ -85,7 +85,7 @@ Zig version supported by the main releases of Ordered: | Zig | Ordered Tags | |----------|--------------| -| `0.17.0` | `v0.3.x` | +| `0.17.x` | `v0.3.x` | | `0.16.0` | `v0.2.x` | | `0.15.2` | `v0.1.0` |