From 47e68f1d5fc9396a0b9dbc7f4536a69768edd086 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 20 Apr 2026 14:39:17 +0800 Subject: Add initial CHANGELOG.md for release 0.1.6 --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 CHANGELOG.md (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..6ce4adc --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,39 @@ +# Changelogs + +### Release 0.1.6 + +`Mingling` 0.1.6 primarily focuses on optimizing the writing experience and code completion. + +#### Fixes: + +1. **\[core\]** Fixed an issue where the `Powershell` completion script could not be used. + +#### Features: + +1. **\[core\]** Added support for completion descriptions in `Powershell`. +2. **\[core\]** Added more context-based completion functions, such as `filling_argument` and `typing_argument`. For details, see [Docs.rs](https://docs.rs/mingling/0.1.6/mingling/) + +#### **BREAKING CHANGES**: + +1. **\[macros\]** The `chain!` macro no longer requires explicit type conversion when routing a type to `Chain`. +```rust +// Before +#[chain] +fn proc(_prev: SomeType) -> NextProcess { + let result = SomeResult::new(()); + result.to_chain() +} + +// Now +#[chain] +fn proc(_prev: SomeType) -> NextProcess { + let result = SomeResult::new(()); + result // No need for `to_chain()` +} +``` + +2. **\[macros\]** Moved type registration from the `chain!` and `renderer!` macros forward to the `pack!` and `derive Groupped` macros + +3. **\[core\]** **\[macros\]** Added an `async` feature, which is disabled by default. `Mingling` no longer forces a dependency on an Async Runtime. + +4. **\[picker\]** Changed the signature of `pick_or` from `(..., or: TNext)` to `(..., or: impl Into)` -- cgit