Commit Graph

11 Commits

Author SHA1 Message Date
afc163 62ebb21feb fix: repair malformed prop metadata caused by escaped pipe/bracket parsing (#122)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 18:10:11 +08:00
github-actions[bot] eb68a54bff data: sync antd metadata (v4@4.24.16, v5@5.29.3, v6@6.3.4) 2026-03-24 12:57:00 +00:00
afc163 8c92655b4b fix: remove empty author links in changelog descriptions (#31)
Contributor mentions like [@guoyunhe](https://github.com/guoyunhe) were
being stripped to [](https://github.com/guoyunhe) because the regex
only removed the @username portion, leaving an empty link shell.

Fix the extractor to match and remove the full contributor link pattern
first, then fall back to stripping bare @mentions.

Also patch all 65 existing data snapshot files (28,337 occurrences fixed)
and update affected test snapshots.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 01:09:52 -07:00
github-actions[bot] 124847fa1b data: sync antd metadata (v4@4.24.16, v5@5.29.3, v6@6.3.3) 2026-03-20 08:56:43 +00:00
github-actions[bot] 4b2306dc78 data: sync antd metadata (v4@4.24.16, v5@5.29.3, v6@6.3.3) 2026-03-19 08:57:30 +00:00
afc163 3f683f1887 data: patch doc/docZh fields into all historical snapshots
Use git-show to read markdown from each version's tag and inject
doc/docZh into the 61 existing snapshot files without full re-extraction.
Also adds scripts/patch-doc-fields.ts for future use.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 19:07:08 -07:00
github-actions[bot] b8d7e35e4e data: sync v4 data from antd 4.24.16 2026-03-17 08:59:22 +00:00
afc163 d879a4ee56 fix: improve list command with correct categories, bilingual names, and since version (#2)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 15:38:56 +08:00
afc163 78d2a944ee fix: properly filter debug demos using regex attribute match
The previous string-based check missed cases where `debug` attribute
appears after other attributes (e.g. `iframe="800" debug`). Switch to
a regex that matches `debug` anywhere within the <code> tag.

Regenerate all per-minor snapshots and latest v4/v5/v6.json with
the corrected filter applied.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 14:21:09 +08:00
afc163 0acab2adc5 data: populate real changelog from antd GitHub, fix accuracy issues
- Replace fabricated changelog entries with real data parsed from
  CHANGELOG.zh-CN.md (v4/v5/v6 branches)
  - v4: 158 versions (4.0.0–4.24.16), 1226 changes
  - v5: 170 versions (5.0.0–5.29.3), 1362 changes
  - v6: 14 versions (6.0.0–6.3.2), 188 changes

- Fix data inaccuracies in v5.json:
  - Add missing `ghost` prop to Button (deprecated since 5.22.0)
  - Remove duplicate/wrong changelog entries claiming Table `virtual`
    was added in 5.20.0 and 5.22.0 (it was added in 5.9.0)
  - Fix Input `count` changelog entry (was since 5.10.0, not 5.20.0)

- Fix changelog version routing bug in `diff.ts`: querying
  `antd changelog 6.3.2` now auto-detects major version from the
  version argument itself instead of always defaulting to v5

- Fix README: remove non-existent --no-cache flag, fix feature
  descriptions, add real CLI output examples, update version examples
  to use versions that actually exist in the bundled data

- Update tests to match real data (5.21.0 has Segmented not Button;
  use 5.99.99 for version-not-found test to ensure v5 routing)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 01:38:52 +08:00
afc163 fa6166a755 Simplify data strategy: bundle metadata in CLI, remove --no-cache
- Remove @ant-design/metadata dependency; all data is bundled in data/
- Rename sample-data/ to data/ and update package.json files field
- Remove --no-cache flag from CLI and all command implementations
- Simplify loadMetadata() to read directly from bundled JSON files
- Update spec.md to reflect bundled data strategy

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 00:09:33 +08:00