Commit Graph

17 Commits

Author SHA1 Message Date
github-actions[bot] 6925989ad7 data: sync antd metadata (v6@6.5.0) 2026-06-27 15:57:49 +00:00
github-actions[bot] acd7275a99 data: sync antd metadata (v6@6.4.5) 2026-06-22 06:26:36 +00:00
github-actions[bot] 7ced20461f data: sync antd metadata (v6@6.4.4) 2026-06-12 11:26:30 +00:00
github-actions[bot] 6cbe2a927c data: sync antd metadata (v6@6.4.3) 2026-05-18 09:56:01 +00:00
github-actions[bot] 3255e46714 data: sync antd metadata (v6@6.4.2) 2026-05-14 15:43:49 +00:00
github-actions[bot] ea470f7ac8 data: sync antd metadata (v6@6.4.1) 2026-05-14 11:20:42 +00:00
github-actions[bot] 5dfbf911a6 data: sync antd metadata (v4@4.24.16, v5@5.29.3, v6@6.4.0) 2026-05-14 07:34:04 +00:00
github-actions[bot] 0e59e57b08 data: sync antd metadata (v4@4.24.16, v5@5.29.3, v6@6.3.7) 2026-04-27 07:28:10 +00:00
github-actions[bot] 52e2cb79af data: sync antd metadata (v4@4.24.16, v5@5.29.3, v6@6.3.6) 2026-04-17 10:55:29 +00:00
afc163 aad2fc0738 feat: add antd v3 support (#77)
* docs: add antd v3 support design spec

Design for adding antd 3.x support to enable migration assistance
and legacy project queries. Covers data extraction, command support
matrix, and enhanced v3→v4 migration knowledge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: add antd v3 support

- Add v3 data extraction with demo format compatibility
- Generate v3.json and v3.26.20.json data files
- Add v3-to-v4 migration knowledge module
- Return UNSUPPORTED_VERSION_FEATURE for token/semantic on v3
- Update spec.md with v3 support documentation

Closes #66

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address PR review comments

- Fix regex \Z anchor to $ for JS compatibility in demo extractor
- Fix v3 theming docs URL (3x.ant.design)
- Remove redundant Tree filterTreeNode migration entry
- Correct Table render description (signature unchanged)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: update design spec for v3 support

- Add language tag to code block
- Fix v3 theming docs URL to 3x.ant.design
- Update migration module path to match implementation
- Correct BackTop and Less variables migration notes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address remaining PR review comments

- Fix enMatch regex to use lookahead for zh-CN section
- Make JSX code block regex more flexible (jsx or js)
- Correct ConfigProvider migration description (introduced in v4)
- Update design doc with correct module path and migration notes
- Update snapshot for v3 Watermark component

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* test: add comprehensive v3 test coverage

- Add e2e tests for `antd migrate 3 4` command
- Add v3 error tests for token and semantic commands
- Add v3 version detection tests
- Add v3 data loading tests (components, snapshots)
- Add tests for v3-specific components (Mention, Icon, LocaleProvider)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 18:54:02 +08:00
github-actions[bot] 6021d19668 data: sync antd metadata (v6@6.3.5) 2026-03-30 09:01:16 +00: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 8256a2885d chore: remove v5.30.0-guidelines-alpha.1 snapshot
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 18:39:18 +08:00
github-actions[bot] 1dee830b05 data: sync v6 data from antd 6.3.3 2026-03-17 09:00:21 +00:00
github-actions[bot] a040def89e data: sync v5 data from antd 5.30.0-guidelines-alpha.1 2026-03-17 08:59:52 +00:00
afc163 3ce5cb13bc data: bootstrap historical per-minor snapshots for v4/v5/v6
- v4: 25 minor series (4.0.x ~ 4.24.x), extracted from each representative patch tag
- v5: 30 minor series (5.0.x ~ 5.29.x)
- v6: 4 minor series (6.0.x ~ 6.3.x)
- Update data/versions.json with all 59 minor entries
- Fix bootstrap-snapshots.ts to use git checkout -f to handle untracked file conflicts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 14:11:40 +08:00
afc163 5d8e48d504 feat: add multi-version snapshot architecture for accurate historical queries
- Add loadMetadataForVersion() to loader.ts with 3-level resolution:
  exact minor match → nearest earlier minor → fallback to latest major
- Add data/versions.json as version index (minor series → snapshot tag)
- Update all 7 command files to use loadMetadataForVersion(versionInfo.version)
- Update sync.yml to extract per-minor snapshots on each daily sync
- Add scripts/bootstrap-snapshots.ts for one-time historical backfill
- Update spec.md with multi-snapshot architecture documentation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 12:16:44 +08:00