From 6ef33171f706789d5840a57cd91642c6ab7548ae Mon Sep 17 00:00:00 2001 From: Dean Sharon Date: Wed, 26 Aug 2026 17:45:46 +0300 Subject: [PATCH] =?UTF-8?q?docs(changelog):=20correct=20from=5Frules=20ent?= =?UTF-8?q?ry=20=E2=80=94=20removed,=20not=20deprecated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `mds::LintConfig::from_rules` was removed in commit 339df37 (PR #308); it was never present in a published release. The [Unreleased] Deprecated entry was wrong on both counts. Move it to Removed, rewrite it as a removal notice, and drop the migration instructions — there is nothing to migrate from since no published version ever exposed the function. Co-Authored-By: Claude --- CHANGELOG.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a58dfadd..69a698fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1071,18 +1071,13 @@ directly via `ModuleCache::with_fs`. the v0.5.0 tag (see #304 for the enumerated list with line numbers and the behavior each test pins). -- **`mds::LintConfig::from_rules` is deprecated in favor of `LintConfig::from_rules_checked` (#224).** - The replacement returns both the config and an unknowns report in a single `#[must_use]` - call, making it structurally impossible to silently skip unknown-rule detection. - `from_rules` still accepts any rule name without error; unknown names have no effect. - - Migration: change `LintConfig::from_rules(map)` to `LintConfig::from_rules_checked(map)` - and handle the `Option` second return value. No removal is scheduled - before v1.0.0; this function will remain available throughout the v0.x series (contrast - `apply_fixes` above, which is scheduled for removal at v0.5.0). - ### Removed +- **`mds::LintConfig::from_rules` removed (#308).** This function was not present in + any published release: `crates/mds-core/src/lint/config.rs` did not exist at `v0.3.0`. + `LintConfig::from_rules_checked` (#224) is the current API for building a `LintConfig` + from a rule name map. + - **`packages/mds/src/index.ts` removed.** This file was not listed in the package `exports` map (which resolves only `./dist/node.js` and `./dist/browser.js`), so no supported import path from `@mdscript/mds` is affected. The internal backend interfaces