Skip to content

chore(release): prepare for v0.8.0 - #120

Merged
kalwalt merged 1 commit into
devfrom
chore/release-v0.8.0
Sep 2, 2026
Merged

chore(release): prepare for v0.8.0#120
kalwalt merged 1 commit into
devfrom
chore/release-v0.8.0

Conversation

@kalwalt

@kalwalt kalwalt commented Sep 2, 2026

Copy link
Copy Markdown
Member

Summary

Release-prep for v0.8.0. This is a minor version bump (0.7.1 → 0.8.0) since it adds
a whole new feature area (the histogram/CLAHE module — calc_hist,
calc_back_project, compare_hist, equalize_hist, Clahe, with parallel + SIMD
support and WASM bindings) with no breaking changes to previously-released APIs,
matching this project's own precedent (0.6 → 0.7.0 was the last feature-sized bump;
0.7.0 → 0.7.1 was CI/Miri-only).

  • Bump version in Cargo.toml ([package] + [workspace.package]) and root
    package.json. crates/wasm/Cargo.toml inherits via version.workspace = true.
  • Regenerate crates/wasm/pkg/package.json via npm run build.
  • Fix README.md's hardcoded install-snippet version strings (still said "0.6" in
    five places — these don't update automatically with the version bump).
  • Add a note to MAINTAINERS.md's release checklist so this doesn't drift again.
  • Generate the v0.8.0 CHANGELOG.md entry via git-cliff.

Note: this PR targets dev, not main. Per CLAUDE.md's release process, the
actual release PR is a separate devmain PR opened once this lands — its head
must literally be dev (not a side branch) to avoid the SHA-divergence issue that
hit v0.7.1/#95.

Test plan

  • cargo build --workspace clean with the new version.
  • cargo test --workspace: 342 lib tests + 40 doc-tests passing.
  • npm run build (wasm dual build) succeeds, crates/wasm/pkg/package.json
    shows "version": "0.8.0".

🤖 Generated with Claude Code

- Bump version 0.7.1 -> 0.8.0 in Cargo.toml ([package] and
  [workspace.package]) and root package.json. crates/wasm/Cargo.toml
  inherits via version.workspace = true, no separate edit needed.
- Regenerate crates/wasm/pkg/package.json via npm run build.
- Fix README.md's hardcoded install-snippet version strings (still
  said "0.6" in five places, e.g. `purecv = "0.6"` - these don't
  update automatically with the version bump). crates/wasm/README.md
  had none.
- Add a note to MAINTAINERS.md's release Step 2 about checking both
  READMEs for hardcoded version strings, so this doesn't drift again.
- Generate the v0.8.0 changelog entry via git-cliff, plus the blank
  line before the previous version heading that --prepend omits.

Minor: this is a minor version bump (0.7.1 -> 0.8.0) rather than a
patch, since this release adds a whole new feature area (the
histogram/CLAHE module: calc_hist, calc_back_project, compare_hist,
equalize_hist, Clahe, with parallel + SIMD support and WASM bindings)
with no breaking changes to previously-released APIs, matching this
project's own precedent (0.6 -> 0.7.0 was the last feature-sized bump;
0.7.0 -> 0.7.1 was CI/Miri-only).

Verified: cargo build --workspace and cargo test --workspace clean
(342 lib tests + 40 doc-tests) with the new version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can turn on the rule miner and Qodo learns your standards from review history

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Prepare PureCV v0.8.0 release metadata and documentation

⚙️ Configuration changes 📝 Documentation 🕐 10-20 Minutes

Grey Divider

AI Description

• Bump Rust, npm, and generated WASM package metadata to v0.8.0.
• Add the v0.8.0 release history covering histogram and CLAHE functionality.
• Refresh installation examples and document checks preventing future version drift.
Diagram

graph TD
  M["Maintainer guide"] --> R["Release metadata"] --> C["WASM crate"] --> B["WASM build"] --> P["WASM package"]
  R --> D["Install docs"]
  H["Git history"] --> L["Changelog"]
  M --> D
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Automate release preparation
  • ➕ Synchronizes Cargo, npm, generated WASM, and documentation versions consistently
  • ➕ Reduces manual omissions in installation snippets
  • ➕ Can validate stale versions before opening a release PR
  • ➖ Requires new release tooling and maintenance
  • ➖ Generated changelog entries still need human review
  • ➖ Introducing automation during release preparation adds avoidable release risk

Recommendation: The current approach follows the repository's documented release process and is appropriate for v0.8.0. Merge this focused preparation as-is, then consider a separate release script or CI consistency check to prevent metadata and README versions from drifting in future releases.

Files changed (6) +56 / -10

Documentation (3) +52 / -6
CHANGELOG.mdAdd the v0.8.0 release notes +42/-0

Add the v0.8.0 release notes

• Adds the dated v0.8.0 changelog entry generated from conventional commits. It summarizes histogram and CLAHE features, WASM bindings, SIMD and parallel work, fixes, tests, refactoring, and documentation.

CHANGELOG.md

MAINTAINERS.mdExpand the release version checklist +5/-1

Expand the release version checklist

• Adds the root npm manifest to the required version-bump locations. It also instructs maintainers to search Rust and WASM README installation snippets for stale hardcoded versions.

MAINTAINERS.md

README.mdUpdate Rust installation examples to version 0.8 +5/-5

Update Rust installation examples to version 0.8

• Replaces stale 0.6 dependency versions with 0.8 across standard, no-std, ndarray, parallel, and SIMD installation examples.

README.md

Other (3) +4 / -4
Cargo.tomlBump crate and workspace versions to 0.8.0 +2/-2

Bump crate and workspace versions to 0.8.0

• Changes both the root package version and shared workspace package version from 0.7.1 to 0.8.0. Workspace members such as the WASM crate inherit the new version.

Cargo.toml

package.jsonRegenerate WASM package metadata for v0.8.0 +1/-1

Regenerate WASM package metadata for v0.8.0

• Updates the generated publishable WASM npm package version from 0.7.1 to 0.8.0 after rebuilding the package.

crates/wasm/pkg/package.json

package.jsonBump root npm metadata to v0.8.0 +1/-1

Bump root npm metadata to v0.8.0

• Updates the private root package version from 0.7.1 to 0.8.0, aligning npm build and publishing metadata with the Rust workspace.

package.json

@kalwalt kalwalt self-assigned this Sep 2, 2026
@kalwalt kalwalt added enhancement New feature or request new-release labels Sep 2, 2026
@kalwalt
kalwalt merged commit e03c938 into dev Sep 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request new-release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant