Releases: PSModule/Template-PSModule
Release list
0.0.10
🩹 [Patch]: Refactor TestData JSON formatting in Process-PSModule.yml (#28)
This pull request updates the way test environment variables are passed to the workflow in .github/workflows/Process-PSModule.yml. The main change is to the formatting and encoding of the TestData field, specifically for how variables are referenced.
Workflow variable handling:
- Changed the
TestDatafield to referenceTEST_VARIABLEusing"${{ vars.TEST_VARIABLE }}"instead oftoJSON(vars.TEST_VARIABLE), simplifying the value assignment and making it consistent with secret referencing. - Reformatted the
TestDataJSON for improved readability by expanding it to multiple lines.
0.0.9
⚙️ [Maintenance]: Showcase both docs section landing-page conventions (index.md + folder-named) (#27)
Two example command groups demonstrate both supported ways to give a command group its documentation section landing page. IndexSection provides its landing page as index.md; NamedSection provides its landing page as a file named after the folder (NamedSection.md). Document-PSModule renders either overview page as the group's section landing page, so each group appears at Functions/<Group>/ in the navigation of the published GitHub Pages site.
- Demonstrates PSModule/Process-PSModule#372 (group overview pages become section landing pages)
- Adopts PSModule/Process-PSModule#377 (caller-provided TestData reaches module tests in consumer repositories)
New: Two command groups showcasing both landing-page conventions
IndexSection/— landing page fromindex.md, withGet-IndexSectionTest.NamedSection/— landing page from the folder-namedNamedSection.md, withGet-NamedSectionTest.
Each renders as its group's section landing page (Functions/IndexSection/ and Functions/NamedSection/) in the docs navigation.
Technical Details
- Adds
src/functions/public/IndexSection/{index.md, Get-IndexSectionTest.ps1}andsrc/functions/public/NamedSection/{NamedSection.md, Get-NamedSectionTest.ps1}; both functions mirror the existing*-PSModuleTestshape and returnHello, <Name>!. - Adds
Itblocks forGet-IndexSectionTestandGet-NamedSectionTestintests/PSModuleTest.Tests.ps1. - Generated docs place each group overview at
<Group>/index.md; the rendered site exposesFunctions/IndexSection/index.htmlandFunctions/NamedSection/index.html. - Bumps the Process-PSModule pin (
v6.1.1→v6.1.2) to adopt the fix that exposes caller-providedTestDatato the module test jobs, keeping the module test matrix green.
v0.0.8
🩹[Patch]: Update dependabot schedule and pin workflow to SHA (#14)
Dependabot now checks for updates daily with a 7-day cooldown period, reducing noise while maintaining timely security updates. The Process-PSModule workflow is pinned to a specific commit SHA with version comment for enhanced security and reproducibility.
Dependabot Configuration
Updated the schedule from weekly to daily with a cooldown of 7 days. This means Dependabot will check for updates daily but will wait 7 days after a new version is released before creating a PR, helping to avoid early adoption of potentially unstable releases.
schedule:
interval: daily
cooldown:
default-days: 7Pinned Workflows
The reusable workflow is now pinned to a specific commit SHA with version tag comment for traceability:
| Workflow | Version | Commit SHA |
|---|---|---|
PSModule/Process-PSModule |
v5.4.1 | be7d5dcbceec14855d325fdd34f2a7c2f05a7f57 |
v0.0.7
What's Changed
Other Changes
- 🩹 [Patch]: Update PSModule.md to clarify sub page description by Marius Storhaug (@MariusStorhaug) in #13
Full Changelog: v0.0.6...v0.0.7
v0.0.6
What's Changed
Other Changes
- 🩹 [Patch]: Add example of nested docs by Marius Storhaug (@MariusStorhaug) in #12
Full Changelog: v0.0.5...v0.0.6
v0.0.5
What's Changed
Other Changes
- 🩹 [Patch]: Encode all PowerShell files using UTF8 with BOM by Marius Storhaug (@MariusStorhaug) in #11
Full Changelog: v0.0.4...v0.0.5
v0.0.4
What's Changed
Other Changes
- 🩹 [Patch]: Add comment for faster testing and ensure linter environment variables are defined by Marius Storhaug (@MariusStorhaug) in #10
Full Changelog: v0.0.3...v0.0.4
v0.0.3
What's Changed
Other Changes
- PSModule v5 by Marius Storhaug (@MariusStorhaug) in #9
Full Changelog: v0.0.2...v0.0.3
v0.0.2
What's Changed
Other Changes
- Added placeholder settings for fast iteration by Marius Storhaug (@MariusStorhaug) in #8
Full Changelog: v0.0.1...v0.0.2
v0.0.1
What's Changed
Other Changes
- Dev by Marius Storhaug (@MariusStorhaug) in #1
- 🩹 [Patch]: Align with PSModule framework by Marius Storhaug (@MariusStorhaug) in #3
- 🩹 [Patch]: Align by Marius Storhaug (@MariusStorhaug) in #4
- 🩹 [Patch]: Adding nightly run workflow by Marius Storhaug (@MariusStorhaug) in #5
- 🩹 [Patch]: Enable docs on a repo generated Template-PSModule by Marius Storhaug (@MariusStorhaug) in #6
- 🩹 [Patch]: Enabled actions to verify the template is in a deployable state by Marius Storhaug (@MariusStorhaug) in #7
New Contributors
- Marius Storhaug (@MariusStorhaug) made their first contribution in #1
Full Changelog: https://github.com/PSModule/Template-PSModule/commits/v0.0.1