You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prepare for prerelease and enhance changelog and contributing badges (#178)
* chore: prepare develop for next prerelease
* fix: Nova's CI/CD test flow installed.
* fix: package.json is no longer used.
* Add changelog link and badge to README
Added a link to the 'Keep a Changelog' website and its badge.
* Add 'Keep a Changelog' badge to CONTRIBUTING.md
Added a badge for 'Keep a Changelog' to the contributing guidelines.
* Update CONTRIBUTING.md with additional badges
Added badges for changelog and code health to CONTRIBUTING.md
* Rearrange badges in CONTRIBUTING.md
Moved CodeScene Average Code Health badge to a new position.
* Update CONTRIBUTING.md with consolidated badges
Consolidate badge links into the contributing section.
* Refactor contributing section with badges
Updated the formatting of the contributing section and added badges for changelog, code coverage, and code health.
* Update README.md badge formatting
Reformatted README.md to improve badge layout.
* #174 fix: detect parent git repositories for nova bump (#176)
Make nova bump and Update-NovaModuleVersion resolve Git history from
parent repositories, so nested project folders infer the correct
semantic version instead of falling back to Patch with Commits: 0.
Add regression coverage for nested project bump inference and update the
changelog.
Closes#174
* chore: prepare next prerelease version
* #175 fix: require explicit override for no-git bump fallback (#177)
Stop `nova bump` and `Update-NovaModuleVersion` from silently presenting
`Patch | Commits: 0` when Git-based bump inference is unavailable.
Add `-OverrideWarning` / `--override-warning` / `-o` as the explicit opt-in
for intentional non-git Patch fallback flows, add regression coverage, and
update bump docs and changelog.
Closes#175
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
18
18
19
19
### Fixed
20
20
21
+
- Fixed `nova bump` and `Update-NovaModuleVersion` so nested project folders now reuse parent Git repository history for bump inference instead of silently falling back to `Patch`.
22
+
- Fixed `nova bump` and `Update-NovaModuleVersion` so non-git bump flows now stop with a clear override-warning requirement instead of silently presenting `Patch | Commits: 0` as if it were an inferred result.
23
+
21
24
### Security
22
25
23
26
## [2.3.0] - 2026-05-06
@@ -30,7 +33,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
30
33
- Render bold text in white across the hosted HTML documentation.
31
34
- Emphasized `<strong>` and `<b>` text now stands out more clearly when scanning docs pages.
32
35
33
-
## [2.2.0] - 2026-05-06
36
+
### Fixed
37
+
38
+
- Restore Nova-managed project test runs in CI/CD after `2.2.0` dropped the implicit `Pester` dependency.
39
+
- CI/CD environments no longer need custom logic to install `Pester` themselves before running project tests.
40
+
- Published `NovaModuleTools` manifests once again pull in `Pester 5.7.1` implicitly so existing CI/CD test flows
41
+
keep working without extra installation logic.
42
+
-`Test-NovaBuild` fails with a clear dependency error when `Pester` is not installed.
43
+
44
+
## [2.2.0] - 2026-05-06 [YANKED]
45
+
46
+
This release was yanked because it removed the implicit `Pester` dependency, before Nova's CI/CD test flow installed
47
+
`Pester` explicitly. Projects using `NovaModuleTools 2.2.0` could fail to run tests in CI/CD unless maintainers added
48
+
their own `Pester` installation step. The regression was fixed in `2.3.0`.
34
49
35
50
### Changed
36
51
@@ -85,10 +100,6 @@ Keep stable `Update-NovaModuleVersion` / `% nova bump` releases on the SemVer ma
85
100
- Regular markdown elsewhere under `docs/` no longer breaks the help-generation step.
86
101
- When PlatyPS export does not create the expected help folder, Nova now raises a stable documentation error instead
87
102
of a raw rename-path failure.
88
-
- Fix CI test dependency installation so `Pester 5.7.1` is installed explicitly instead of being pulled in implicitly
89
-
through the published `NovaModuleTools` manifest.
90
-
- Published prerelease manifests no longer force `Pester` as an install-time required module.
91
-
-`Test-NovaBuild` now fails with a clear dependency error when `Pester` is not installed.
92
103
- Fix the repository `run.ps1` quality loop after the CI installer refactor introduced new ScriptAnalyzer warnings.
93
104
- The internal CI installer helper now follows ScriptAnalyzer naming and `ShouldProcess` expectations.
94
105
-`run.ps1` no longer stops in the analyzer step because of those helper warnings.
@@ -369,4 +380,3 @@ Keep stable `Update-NovaModuleVersion` / `% nova bump` releases on the SemVer ma
WARNING: Cannot infer the version bump label from Git history because no Git repository was found for this project path. Use -OverrideWarning to continue intentionally with a Patch fallback.
197
+
198
+
What if: Performing the operation "Update module version using Patch release label" on target "project.json".
199
+
```
200
+
201
+
Shows how to opt in explicitly to the Patch fallback when a project lives outside a Git repository and Nova therefore
202
+
cannot infer the semantic label from commit history.
203
+
189
204
## PARAMETERS
190
205
191
206
### -Path
@@ -259,6 +274,30 @@ AcceptedValues: [ ]
259
274
HelpMessage: ''
260
275
```
261
276
277
+
### -OverrideWarning
278
+
279
+
Allow the version bump to continue with the explicit Patch fallback when Git-based inference is unavailable.
280
+
281
+
Use this only when you intentionally want to bump a project outside a Git repository, for example in example/template
Copy file name to clipboardExpand all lines: project.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"ProjectName": "NovaModuleTools",
3
3
"Description": "NovaModuleTools is an enterprise-focused evolution of ModuleTools, designed for large-scale PowerShell projects with a strong emphasis on structure, maintainability, and automated CI/CD pipelines.",
0 commit comments