Skip to content

Commit 57b3c3e

Browse files
committed
chore: release v2.0.7
1 parent 2716934 commit 57b3c3e

19 files changed

Lines changed: 63 additions & 35 deletions

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
1010

1111
| Version | Date | Type | Key Theme |
1212
|---------|------|------|-----------|
13+
| [2.0.7] | 2026-06-10 | Patch | String extension compatibility restoration, English-default documentation site, and canonical package homepage metadata [View](./changelogs/v2.0.7.md) |
1314
| [2.0.6] | 2026-06-09 | Patch | Direct runtime and development dependencies pinned to exact versions for deterministic consumer installs [View](./changelogs/v2.0.6.md) |
1415
| [2.0.5] | 2026-06-04 | Patch | License metadata and package distribution updated to Apache-2.0 [View](./changelogs/v2.0.5.md) |
1516
| [2.0.4] | 2026-06-03 | Patch | Explicit String extension installation, v1 compatibility guard coverage, and documentation alignment [View](./changelogs/v2.0.4.md) |
@@ -44,6 +45,16 @@ All notable changes to this project will be documented in this file.
4445

4546
---
4647

48+
## [2.0.7] — 2026-06-10
49+
50+
### Changes
51+
52+
- Restored v1-style direct string DSL chains through the root entry while keeping String extension descriptors non-enumerable, conflict-aware, and uninstallable.
53+
- Published the English-default Rspress documentation site with Chinese docs under `/zh/` and 58-page content/link parity across both languages.
54+
- Updated README and package homepage metadata to `https://vextjs.github.io/schema-dsl`.
55+
56+
---
57+
4758
## [2.0.5] — 2026-06-04
4859

4960
### Changes
@@ -152,7 +163,8 @@ All notable changes to this project will be documented in this file.
152163
- [Detailed Changelogs](./changelogs/)
153164
- [Contributing Guide](./CONTRIBUTING.md)
154165

155-
[Unreleased]: https://github.com/vextjs/schema-dsl/compare/v2.0.6...HEAD
166+
[Unreleased]: https://github.com/vextjs/schema-dsl/compare/v2.0.7...HEAD
167+
[2.0.7]: https://github.com/vextjs/schema-dsl/compare/v2.0.6...v2.0.7
156168
[2.0.6]: https://github.com/vextjs/schema-dsl/compare/v2.0.5...v2.0.6
157169
[2.0.5]: https://github.com/vextjs/schema-dsl/compare/v2.0.4...v2.0.5
158170
[2.0.4]: https://github.com/vextjs/schema-dsl/compare/v2.0.3...v2.0.4

changelogs/unreleased.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11
# Unreleased
22

3-
## 2026-06-10
4-
- **[Docs Site]** Added Rspress i18n structure with English as the default documentation language, moved existing Chinese docs under `/zh/`, and completed full 58-page English/Chinese documentation parity.
5-
- **[Docs Site]** Reworked the English documentation from summary-style pages into content-level parity with the Chinese source docs, including matching sections, code blocks, tables, examples, and internal anchors across all 58 pages.
6-
- **[Docs Site]** Tightened bilingual documentation link/reference parity by fixing README anchors, page TOCs, English home routing, issue links, and external tool references, then verified Markdown, built HTML, and external URLs across three zero-issue review rounds.
7-
- **[Docs/Profile]** 修复提交前复审发现的文档/Profile 残留:同步测试基线为 75 files / 1105 tests,修正 String 扩展相关目录锚点、文档版本/更新时间与重复步骤/编号。
8-
9-
## 2026-06-09
10-
- **[Runtime]** 恢复 root entry 默认安装 String 扩展,兼容 v1.1.x 直接字符串链式调用;安装器改为不可枚举 descriptor、同名冲突检测与可卸载恢复。
11-
- **[Runtime]** 收窄 legacy `_dslExtensionsInstalled` 接管条件,避免外部同名 `String.prototype` 方法因遗留 marker 被静默覆盖。
12-
- **[Tests]** 补充 root entry 默认安装、String 扩展不可枚举、外部冲突保护与 legacy marker 冲突回归用例。
13-
- **[Docs]** 统一 String 扩展文档口径:JavaScript 默认可直接字符串链式调用,介意全局原型扩展时可主动卸载后使用 `dsl()` 包裹,并补充导入阶段同名冲突排障。
14-
- **[Docs]** 同步文档站许可证页脚、文档索引统计与故障排查导航,并修正 API 参考标题 typo。
15-
- **[Profile]** 同步 schema-dsl Profile 中的版本、文档数量、`ValidationErrorItem` 返回结构、v1 参考路径与 String 扩展默认安装约束。
3+
- No unreleased changes.

changelogs/v2.0.7.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# v2.0.7 — String Compatibility and English Documentation Patch (2026-06-10)
2+
3+
> Patch release for the v2.0 latest line. This release restores the v1-style direct string DSL compatibility path, publishes the English-default documentation site, and fixes npm package homepage metadata.
4+
5+
---
6+
7+
## Runtime
8+
9+
- Restored root-entry default String extension installation for v1.1.x-style direct string DSL chains.
10+
- Made String extension descriptors non-enumerable and recoverable through the uninstall path.
11+
- Tightened legacy `_dslExtensionsInstalled` takeover rules so external `String.prototype` methods are not silently overwritten.
12+
13+
## Documentation
14+
15+
- Added the Rspress i18n documentation structure with English as the default language and Chinese under `/zh/`.
16+
- Completed full 58-page English/Chinese documentation parity with matching sections, examples, tables, and internal anchors.
17+
- Fixed README anchors, page TOCs, English home routing, issue links, and external references across Markdown source and built HTML.
18+
- Updated README and package homepage metadata to the canonical documentation site: `https://vextjs.github.io/schema-dsl`.
19+
20+
## Tests
21+
22+
- Added regression coverage for root-entry String extension installation, non-enumerable descriptors, external conflict protection, and legacy marker takeover.
23+
24+
## Validation
25+
26+
- `npm run prepublishOnly`
27+
- `npm pack --dry-run --json`
28+
- `npm publish --dry-run`

docs/en/add-custom-locale.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Guide to adding custom language packs
22

3-
**Version**: v2.0.6
3+
**Version**: v2.0.7
44
**Last updated**: 2026-06-10
55

66
---

docs/en/conditional-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Chained Condition API - ConditionalBuilder
22

3-
> **Version**: schema-dsl v2.0.6
3+
> **Version**: schema-dsl v2.0.7
44
> **Updated date**: 2026-06-10
55
> **Status**: ✅ Stable
66

docs/en/custom-extensions-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Custom extension guide
22

3-
> **Version**: 2.0.6
3+
> **Version**: 2.0.7
44
> **Updated date**: 2026-06-10
55
> **Purpose**: Explain the runtime extension method recommended by the current version, and how to continue to extend it in depth when maintaining the source code of schema-dsl itself.
66

docs/en/i18n.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Multilingual Configuration Guide
22

3-
**Version**: v2.0.6
3+
**Version**: v2.0.7
44
**Last updated**: 2026-06-10
55

66
---
@@ -472,4 +472,4 @@ dsl('string!')
472472
---
473473

474474
**Document generation time**: 2026-06-10
475-
**Version**: v2.0.6
475+
**Version**: v2.0.7

docs/en/markdown-exporter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,4 +401,4 @@ console.log('✅ Document has been generated');
401401
---
402402

403403
**Document update date**: 2026-06-10
404-
**Version**: v2.0.6
404+
**Version**: v2.0.7

docs/en/typescript-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TypeScript usage guide
22

3-
> **Version**: schema-dsl v2.0.6
3+
> **Version**: schema-dsl v2.0.7
44
> **Updated date**: 2026-06-10
55
> **Important**: v1.0.6 removed the global String type extension to avoid type pollution
66
@@ -590,4 +590,4 @@ dsl.config({
590590
---
591591

592592
**Updated date**: 2026-06-10
593-
**Document version**: v2.0.6
593+
**Document version**: v2.0.7

docs/en/validate-async.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,6 @@ new ValidationError(errors, data)
486486

487487
---
488488

489-
**Version**: v2.0.6
489+
**Version**: v2.0.7
490490
**Updated date**: 2026-06-10
491491
**Author**: schema-dsl Team

0 commit comments

Comments
 (0)