aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-23 01:12:01 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-23 01:12:01 +0800
commit8498a8c4826a10c8c04ad1b9c45d83fb0759121b (patch)
tree532792a6ce9d57306238a2f3489d222908afa8f5 /CHANGELOG.md
parent514357b74e66c3eb626ca51a818c816a82ffc85f (diff)
Add entry-str dedup and registry cleanup in final gen
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e9bb4d4..1fefdfb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -82,6 +82,8 @@
3. **\[macros\]** Consolidated `__dispatch_program_renderers!` and `__dispatch_program_chains!` from `macro_rules!` into the `program_final_gen` proc-macro (`mingling_macros/src/lib.rs`), removing them from `mingling_core/src/program.rs`. The `render()` and `do_chain()` match dispatch is now generated directly by the proc-macro, using a compile-time `ASYNC_ENABLED` constant (via `#[cfg(feature = "async")]`) to select the correct sync/async signature at proc-macro compilation time, replacing the previous `#[cfg]`-gated `macro_rules!` dispatch that relied on per-crate feature resolution.
+4. **\[macros\]** Added global registry cleanup at the end of `program_final_gen`, clearing all `OnceLock<Mutex<BTreeSet>>` registries after consuming them. This prevents stale state accumulation across compilation sessions.
+
#### Features:
1. **\[core\]** Added the `unpack_chain_process!` macro for ergonomically extracting the inner value from a `ChainProcess` result.