Skip to content

Commit 59fc799

Browse files
CHANGELOG 1.3.2; release.ps1 -DryRun scans even without the CHANGELOG section
1 parent 59f2826 commit 59fc799

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
All notable changes to xpp-lens (called xpp-graft up to 1.2.0). Versions follow `<Version>` in
44
`src/XppLens/XppLens.csproj`; release tags are `vX.Y.Z`.
55

6+
## 1.3.2 — unreleased
7+
8+
### Changed
9+
- `xpp_extensions` is several times faster for objects with many extension classes (measured warm: `SalesTable`
10+
9.2 s → 0.5 s, `VendTable` 5.1 s → 1.8 s): the Chain of Command details of each extension class were looked up
11+
by a column without an index, which read the whole reference table once per extension class.
12+
- `xpp_join` reads the table relations from a small index of its own instead of the whole member table (the first
13+
call of a server and every CLI call: 1.3 s → 0.65 s); the index is built once, in a few seconds.
14+
615
## 1.3.1 — 2026-10-26
716

817
### Fixed

‎release.ps1‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ if (-not $Pre) {
107107
$changelog = [IO.File]::ReadAllText((Resolve-Path 'CHANGELOG.md'))
108108
$sectionRx = "(?ms)^## $([regex]::Escape($Version))\b.*?(?=^## |\z)"
109109
$section = [regex]::Match($changelog, $sectionRx)
110-
if (-not $section.Success) { Fail "CHANGELOG.md has no '## $Version' section" }
110+
# A dry run also serves as the scan before an ordinary push to dev, so it goes on without the section.
111+
if (-not $section.Success -and $DryRun) { Write-Host " WARNING: CHANGELOG.md has no '## $Version' section (needed for the release)" -ForegroundColor Yellow }
112+
elseif (-not $section.Success) { Fail "CHANGELOG.md has no '## $Version' section" }
111113
Ok "CHANGELOG section found, tag is free, $work is up to date"
112114

113115
# ---------------------------------------------------------------- 2. version

0 commit comments

Comments
 (0)