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
* #179 feat: add stable-only latest package policy
Support string-based `Package.Latest` policies with `never`, `stable`, and
`always`, while keeping legacy boolean values temporarily compatible.
- make `stable` publish `latest` only for stable versions
- keep `always` behavior for stable and preview packages
- map legacy booleans to `always`/`never` with TODO markers for major-version removal
- update schema, tests, examples, and docs to use the new policy model
- deprecate boolean `Package.Latest` values in CHANGELOG
* #179 feat: Improve Package.Latest policy test coverage
Cover the whitespace-only Package.Latest fallback path in
GetNovaResolvedProjectPackageSettings and keep the latest-policy tests
deduplicated by reusing the shared package test support helper.
- add coverage for whitespace-only Package.Latest values
- replace the local metadata test builder with shared test support
- keep latest-policy focused tests and full repo validation green
* #179 fix: the Code Health failure in tests/PackageLatestPolicy.Tests.ps1 by replacing the duplicated
metadata-list tests with one parameterized test that covers the same always, stable, and legacy-boolean
scenarios. That brought the file’s Code Health back to 10.0.
<td>Whether to create companion <code>latest</code> artifacts for each selected type.</td>
401
-
<td>When <code>true</code>, Nova keeps the normal versioned artifact and adds a second file
402
-
such as <code>MyModule.latest.nupkg</code>.
399
+
<td><code>"never"</code></td>
400
+
<td>Controls whether Nova creates companion <code>latest</code> artifacts for each selected type.</td>
401
+
<td>Use <code>"stable"</code> to update <code>latest</code> only for stable versions, <code>"always"</code> for both stable and preview versions, or <code>"never"</code> to disable the floating alias.
403
402
</td>
404
403
</tr>
405
404
<tr>
@@ -650,15 +649,15 @@ <h3>Create both NuGet and Zip artifacts, plus latest aliases</h3>
650
649
<pre><code>{
651
650
"Package": {
652
651
"Types": ["NuGet", "Zip"],
653
-
"Latest": true,
652
+
"Latest": "stable",
654
653
"OutputDirectory": {
655
654
"Path": "artifacts/packages",
656
655
"Clean": true
657
656
}
658
657
}
659
658
}</code></pre>
660
-
<p>This creates four files when both package types are selected: versioned and<code>latest</code>
661
-
variants for each format.</p>
659
+
<p>This creates four files for stable versions when both package types are selected: versioned and
660
+
<code>latest</code>variants for each format.</p>
662
661
663
662
<h3>Use named raw repositories with shared defaults</h3>
0 commit comments