Release v0.0.6 — security hardening, macro fixes, and comprehensive testing - #64
Open
sebastienrousseau wants to merge 8 commits into
Open
Release v0.0.6 — security hardening, macro fixes, and comprehensive testing#64sebastienrousseau wants to merge 8 commits into
sebastienrousseau wants to merge 8 commits into
Conversation
- Override global -fuse-ld=lld linker flag with -fuse-ld=bfd in .cargo/config.toml since lld is not available on all systems - Bump version to 0.0.6 and add tempfile to dev-dependencies - Fix test race conditions caused by parallel tests calling set_current_dir (process-global state) by adding DIR_MUTEX - Remove unnecessary set_current_dir from tests using absolute paths - Clean up unused imports (run_cli, serde_json) and unused variables Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove 60+ generated quote HTML files (docs/2024_*.html), CNAME, humans.txt, robots.txt, and index.html. These are build artifacts that should be regenerated from source rather than tracked in git. Update sitemap.xml accordingly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…d tests - Remove 4 unused dependencies (openssl, anyhow, serde_yaml, toml) to reduce compile time and binary size - Remove undeclared `bench` feature gate from lib.rs (zero warnings) - Add comprehensive macro tests (35 tests) and main integration tests (11 tests) - Add CI/CD pipeline with zero-warning policy, cross-platform test matrix, security audit, and coverage enforcement - Add nightly jobs for dependency monitoring and regression detection - Add Makefile for local CI reproduction - Add performance benchmark suite for hot paths - Fix benchmark compilation errors (unused import, closure borrow issue) - Add example HTML output file Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… review Security fixes: - Add path traversal validation in quotes.rs to prevent directory traversal attacks - Add filename validation in html.rs to reject unsafe filenames with traversal sequences - Add template path validation to verify template exists before reading - Move log files from current directory to ./docs/logs/ for safer file operations Macro fixes: - Rewrite wiserone_min/max macros with recursive pattern to handle multiple values - Replace broken wiserone! macro (referenced non-existent parse!) with Quote struct creator - Fix wiserone_assert! to properly handle complex expressions using $cond:expr Code quality: - Replace unsafe unwrap() chain in sitemap.rs with safe optional handling - Update tests to verify macro fixes work with multiple values - Update test_html.rs to expect new log file location All 89 tests pass with RUSTFLAGS="-Dwarnings" (CI-compliant). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Updates: - clap: 4.5.57 -> 4.5.58 - clap_builder: 4.5.57 -> 4.5.58 - clap_lex: 0.7.7 -> 1.0.0 - env_filter: 0.1.4 -> 1.0.0 - env_logger: 0.11.8 -> 0.11.9 - predicates: 3.1.3 -> 3.1.4 - predicates-core: 1.0.9 -> 1.0.10 - predicates-tree: 1.0.12 -> 1.0.13 All GitHub-reported vulnerabilities are already fixed on this branch: - bytes: 1.11.1 (patched) - mio: 1.1.1 (patched) - time: 0.3.47 (patched) - tokio: 1.49.0 (patched) - openssl: not used in this branch cargo audit reports 0 vulnerabilities. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
sebastienrousseau
force-pushed
the
feat/v0.0.6
branch
from
February 18, 2026 10:46
0f82d31 to
70a68d5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepare wiserone v0.0.6 for release with security hardening, macro regression fixes, dependency cleanup, and comprehensive quality improvements.
Security Hardening (NEW)
quotes.rsto reject paths with..sequenceshtml.rsto prevent directory traversal in output filenames./docs/logs/for safer file operations.unwrap()chains with proper error handling insitemap.rsMacro Regression Fixes (NEW)
parse!) with useful Quote struct creator$cond:exprpatternSecurity & Dependencies
Code Quality
benchfeature gate from lib.rs — zero compiler warningsRUSTFLAGS="-Dwarnings"(CI-compliant)Testing
CI/CD Pipeline
Benchmarks & Examples
Test plan
cargo test)RUSTFLAGS="-Dwarnings")cargo check --benches)cargo audit— 0 vulnerabilities)Security Notes
All 6 GitHub Dependabot alerts are resolved on this branch:
🤖 Generated with Claude Code