From 9c78242f81685c8fff1587f5d7bceee0e45d59c5 Mon Sep 17 00:00:00 2001 From: Owen Carey <37121709+owenthcarey@users.noreply.github.com> Date: Fri, 2 Oct 2026 22:27:21 -0700 Subject: [PATCH] fix: publish the facade without its dev-dependencies, and tidy the changelog The facade's dev-dependencies on weaveffi-gen and weaveffi-abi inherited a version from the workspace, so cargo kept them in the published manifest and required weaveffi-gen on crates.io before weaveffi could publish. release-plz publishes the facade first, so the 0.24.0 release stopped there. Path-only dev-dependencies are stripped at publish time. The changelog gets a short header that describes both generators of its entries, and the missing blank line before the 0.23.0 heading. --- CHANGELOG.md | 9 +++++---- crates/weaveffi/Cargo.toml | 7 +++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d28c1428..0b049008 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,9 @@ # Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +All notable changes to WeaveFFI are documented here. The project follows +[Semantic Versioning](https://semver.org/spec/v2.0.0.html); while it's pre-1.0, +breaking changes bump the minor version. Entries from 0.24.0 on are written +by release-plz, and earlier ones by semantic-release. ## [Unreleased] @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Features - [**breaking**] ship C ABI 3 and schema 0.10 on a consolidated engine ([#51](https://github.com/weavefoundry/weaveffi/pull/51)) + ## [0.23.0](https://github.com/weavefoundry/weaveffi/compare/v0.22.0...v0.23.0) (2026-09-17) ### ⚠ BREAKING CHANGES diff --git a/crates/weaveffi/Cargo.toml b/crates/weaveffi/Cargo.toml index c50c64cb..40c3ef6e 100644 --- a/crates/weaveffi/Cargo.toml +++ b/crates/weaveffi/Cargo.toml @@ -19,12 +19,15 @@ weaveffi-macros = { workspace = true } # allocations for `{prefix}_debug_live`. Every sample enables it. leak-check = ["weaveffi-abi/leak-check"] +# Dev-dependencies are path-only (no version) so `cargo publish` strips them: +# a versioned dev-dependency must already be on crates.io when this crate is +# published, which would force `weaveffi-gen` to publish first. [dev-dependencies] # Only for the ABI-revision lockstep test; the facade never links the # generators at runtime. -weaveffi-gen = { workspace = true } +weaveffi-gen = { path = "../weaveffi-gen" } # The leak-counter test needs counting on. -weaveffi-abi = { workspace = true, features = ["leak-check"] } +weaveffi-abi = { path = "../weaveffi-abi", features = ["leak-check"] } [lints] workspace = true