Skip to content

Release v0.2.1 - #71

Merged
kwsantiago merged 1 commit into
mainfrom
release-v0.2.1
Aug 3, 2026
Merged

kwsantiago merged 1 commit into
mainfrom
release-v0.2.1

Conversation

@kwsantiago

@kwsantiago kwsantiago commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Version bump for v0.2.1. Ten commits have landed since v0.2.0, four of them touching shipped sources, and two of those are fail-closed fixes that consumers on the current release do not have.

Why now

src/nip17.c previously continued sealing and wrapping when the RNG draw for timestamp fuzzing failed, producing an event with an unfuzzed timestamp rather than an error. Both call sites now destroy the partial event, clear the out-parameter, free the intermediate ciphertexts and wipe the ephemeral private key.

src/key.c now lets the ESP32 RNG report failure the way every other backend does, so a degraded draw surfaces instead of being silently accepted.

Anyone consuming this library by release is on v0.2.0 without either. Consumers pinning by commit already have them.

Changes

  • CMakeLists.txt: project version to 0.2.1
  • idf_component.yml: component version to 0.2.1, so the ESP-IDF component registry matches
  • CHANGELOG.md: 0.2.1 entry covering the security fixes, the FreeRTOS task-create fix, the macOS OpenSSL and Windows CI fixes, and the QEMU smoke test

SOVERSION stays at 1: no ABI change.

Verification

Configured and built from clean, producing libnostr.so.0.2.1, which confirms the bump reaches the built artifact rather than only the manifests. Full suite run: 15 of 15 passed.

Summary by CodeRabbit

  • Documentation

    • Added changelog details for version 0.2.1, including security, build, CI, testing, and dependency documentation updates.
  • Release

    • Updated the project and component version to 0.2.1.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026 •

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The PR records version 0.2.1 in the changelog, CMake metadata, and ESP-IDF component metadata. The changelog lists security, build, CI, testing, dependency, and documentation changes.

Changes

0.2.1 Release

Layer / File(s) Summary
Version and release notes
CHANGELOG.md, CMakeLists.txt, idf_component.yml
The changelog adds 0.2.1 release notes. The CMake project and ESP-IDF component versions change from 0.2.0 to 0.2.1.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Poem

A rabbit checks the version line,
“0.2.1” now hops in time.
The changelog grows, the manifests agree,
Release notes nibble happily.
🐇 Clean metadata, ready to run.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the 0.2.1 release, which matches the version updates and changelog entry.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release-v0.2.1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CMakeLists.txt`:
- Line 62: Update the version declaration in build.zig.zon from 0.2.0 to 0.2.1
so it matches the project version in CMakeLists.txt, pkg-config metadata, and
idf_component.yml.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 126018a2-a13d-4890-bd65-350c06798196

📥 Commits

Reviewing files that changed from the base of the PR and between a41bb26 and 3e0e29c.

📒 Files selected for processing (3)
  • CHANGELOG.md
  • CMakeLists.txt
  • idf_component.yml

Comment thread CMakeLists.txt
endif()

project(libnostr-c VERSION 0.2.0 LANGUAGES C)
project(libnostr-c VERSION 0.2.1 LANGUAGES C)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Synchronize the Zig package version before releasing 0.2.1.

CMakeLists.txt, pkg-config metadata, and idf_component.yml report 0.2.1, but build.zig.zon still declares 0.2.0. Update build.zig.zon so all release metadata identifies the same version.

Proposed fix
-    .version = "0.2.0",
+    .version = "0.2.1",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@CMakeLists.txt` at line 62, Update the version declaration in build.zig.zon
from 0.2.0 to 0.2.1 so it matches the project version in CMakeLists.txt,
pkg-config metadata, and idf_component.yml.

@kwsantiago
kwsantiago merged commit 916a232 into main Aug 3, 2026
13 checks passed
@kwsantiago
kwsantiago deleted the release-v0.2.1 branch August 3, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant