Skip to content

Commit 5b9fdef

Browse files
authored
Update CHANGLOG files to the latest (#1061)
* Update update-versions.ps1 * Escape the version string used in regex * Update CHANGELOGs * Update dates
1 parent 1a99814 commit 5b9fdef

File tree

12 files changed

+13
-12
lines changed

12 files changed

+13
-12
lines changed

Pipelines/Scripts/update-versions.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,9 @@ Get-ChildItem -Path $PackagesRoot -Filter "package.json" -Recurse | ForEach-Obje
158158

159159
# Update the CHANGELOG.md file with the new version and release date
160160
Write-Output "Patching CHANGELOG.md version to [$version$tag] - $year-$month-$day"
161+
$escapedVersion = [regex]::Escape($version)
161162
Get-ChildItem -Path $packagePath/CHANGELOG.md -Recurse | ForEach-Object {
162-
(Get-Content -Path $_ -Raw) -Replace "## \[$version(-[a-zA-Z0-9.]+)?\] - \b\d{4}\b-\b(0[1-9]|1[0-2])\b-\b(0[1-9]|[12][0-9]|3[01])\b", "## [$version$tag] - $year-$month-$day" | Set-Content -Path $_ -NoNewline
163+
(Get-Content -Path $_ -Raw) -Replace "## (\[$escapedVersion(-[a-zA-Z0-9.]+)?\] - \b\d{4}\b-\b(0[1-9]|1[0-2])\b-\b(0[1-9]|[12][0-9]|3[01])\b|Unreleased)", "## [$version$tag] - $year-$month-$day" | Set-Content -Path $_ -NoNewline
163164
}
164165
}
165166

org.mixedrealitytoolkit.audio/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

5-
## Unreleased
5+
## [3.0.5] - 2025-11-12
66

77
### Fixed
88

org.mixedrealitytoolkit.core/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

5-
## Unreleased
5+
## [3.3.0] - 2025-11-12
66

77
### Changed
88

org.mixedrealitytoolkit.diagnostics/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

5-
## Unreleased
5+
## [3.0.3] - 2025-11-12
66

77
### Fixed
88

org.mixedrealitytoolkit.extendedassets/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

5-
## Unreleased
5+
## [3.0.4] - 2025-11-12
66

77
### Fixed
88

org.mixedrealitytoolkit.input/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

5-
## Unreleased
5+
## [3.3.0] - 2025-11-12
66

77
### Added
88

org.mixedrealitytoolkit.spatialmanipulation/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

5-
## Unreleased
5+
## [3.4.0] - 2025-11-12
66

77
### Added
88

org.mixedrealitytoolkit.standardassets/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

5-
## Unreleased
5+
## [3.2.1] - 2025-11-12
66

77
### Fixed
88

org.mixedrealitytoolkit.tools/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

5-
## Unreleased
5+
## [3.0.5] - 2025-11-12
66

77
### Fixed
88

org.mixedrealitytoolkit.uxcomponents.noncanvas/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

5-
## Unreleased
5+
## [3.1.5] - 2025-11-12
66

77
### Fixed
88

0 commit comments

Comments
 (0)