Skip to content

chore: release fp-macros v0.6.0 / fp-library v0.13.1#21

Merged
nothingnesses merged 2 commits intomainfrom
release/fp-macros-v0.6.0-fp-library-v0.13.1
Mar 14, 2026
Merged

chore: release fp-macros v0.6.0 / fp-library v0.13.1#21
nothingnesses merged 2 commits intomainfrom
release/fp-macros-v0.6.0-fp-library-v0.13.1

Conversation

@nothingnesses
Copy link
Copy Markdown
Owner

Summary

  • fp-macros 0.5.0 → 0.6.0: Add #[kind] attribute macro, reject duplicate #[document_*] attributes, restrict #[document_signature] to functions/methods, remove #[document_fields] macro, fix WarningEmitter name collision
  • fp-library 0.13.0 → 0.13.1: Migrate traits to #[kind(...)] annotations, replace #[document_fields] with native doc comments, improve rustdoc links
  • Update release process with test output caching and git add . for staging

Test plan

  • cargo fmt --all — no changes
  • cargo clippy --workspace --all-features — no warnings
  • cargo doc --workspace --all-features --no-deps — builds cleanly
  • cargo test --workspace --all-features — all tests pass

- Add #[kind] attribute macro for ergonomic Kind supertrait bounds,
  replacing raw hash-based trait names (e.g. Kind_cdc7cd43dac7585f)
  with #[kind(type Of<'a, A: 'a>: 'a;)] annotations
- Add Kind variant to TraitCategory for proper Kind_* classification
- Fix WarningEmitter name collision across multiple macro invocations
  using global AtomicUsize counter
- Reject duplicate #[document_*] attributes with clear error messages,
  with compile-fail tests for each macro
- Remove #[document_fields] macro in favor of native /// doc comments
- Restrict #[document_signature] to functions and methods only
- Warn when traits use raw Kind_* supertraits instead of #[kind(...)]
@nothingnesses nothingnesses merged commit bd657bc into main Mar 14, 2026
9 checks passed
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