Releases: potatoqualitee/psmodulecache
v6.2.1
What's Changed
Full Changelog: v6.2...v6.2.1
Additional notes for Ubuntu users :
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see actions/runner-images#10636
_PowerShell Tools
PowerShell 7.4.6
PowerShell Modules
Az: 12.1.0
Microsoft.Graph: 2.25.0
Pester: 5.6.1
PSScriptAnalyzer: 1.23.0_
v6.2
What's Changed
- Bump actions/cache to v4 by @fflaten in #62
- Version 6.2 by @LaurentDardenne in #63
New Contributors
Full Changelog: v6.1...v6.2
V6.1
Now licenses are always accepted.
What's Changed
- Minor fixes by @LaurentDardenne in #57
- Fix accept licence by @LaurentDardenne in #60
Full Changelog: v6.0...v6.1
V6.0
What's Changed
- Add support for the modules dependencies. Module paths to be saved in cache are unique.
- Refactoring and bug fixes around managing multiple repositories.
- Add module name duplication checking. Previously you could call Save-Module several times for the same module.
- Update actions/cache@v3.0.11 to actions/cache@v3.3.2
- Update actions/checkout@v2.5.0 to actions/checkout@v4.1.0
- Remove unused workflows.
-
- Fix (#54). Some modules will be impossible to load under Ubuntu, in this case a warning is displayed in the workflow logs.
- Fix (#51). If there is a module with the same name in several PSRepositories, we must now prefix the module name with the name of the desired repository: PSGallery\string.
- Fix (#50). Module dependencies were not saved into a cache. Now each dependency is saved.
- Fix (#47). Documentation: specifies the use of '::' (YAML syntax)
- Fix (#45,#48). Some module packages are case-sensitive, and break the implicit (and informal) PascalCase naming rule.
On Linux, the path names passed as a parameter to the 'Cache' action must be constructed with the nuget package name and not with the name coming from the 'modules-to-cache' parameter of the 'PSModuleCache' action. - Fix the analyze of a module name.
- Fix module name handling for case-sensitive filesystems. See the 'PsModuleCache\Test-ModuleNaming' function.
- Fix module duplication when we call "Find-Module -name 'AZ' -IncludeDependencies". Example: the dependent module 'Az.Accounts v2.13.1' is duplicated 25 times.
- Fix CleanWorkFlowsHistory.yml. Deleting workflow execution history caused an exception when calling ConvertFrom-Json. If the workflow execution history contains a large number of entries (+500) and the API returns a string of several megabytes that is impossible to convert.
Breaking changes
-
Now we check the existence of at least one repository.
-
The existence of a module with the same name in several PSRepositories will cause a blocking error.
We must now prefix a name of the duplicated module with the name of the desired repository.
Previously we sorted the elements by version number then we selected the first in the list.
What's Changed
- Adding changes for the versions 5.1 and 5.2. by @LaurentDardenne in #41
- Allow action to run inside a container job by @flcdrg in #44
- Fix readme by @LaurentDardenne in #42
- Fix module name case sensitive by @LaurentDardenne in #46
- Feature module dependencies by @LaurentDardenne in #56
New Contributors
Full Changelog: v5.2...v6.0
v5.2
v5.1
5.1 RE-RELEASE WITH BUG FIX
What's Changed
- Update GITHUB_OUTPUT per GitHub's new requirement by @potatoqualitee in #36
- Fix line break issue by @potatoqualitee in #39
Warning
GitHub will deprecate all earlier versions of this Action on June 1, 2023. It is recommended that you update all of your workflows now.
Full Changelog: v5.0...v5.1
v5.0
Huge changes! Thanks to @LaurentDardenne, @adilio and @lowlydba for your contributions.
@LaurentDardenne did an entire rewrite and added features. Check out the README for more information.
What's Changed
- only cache specific module dirs by @lowlydba in #20
- Update readme to fix eg workflows link by @adilio in #21
- vNext5.0 by @LaurentDardenne in #31
- Style Updates by @potatoqualitee in #32
- Test Changes by @potatoqualitee in #34
New Contributors
- @adilio made their first contribution in #21
- @LaurentDardenne made their first contribution in #31
Full Changelog: v4.5...v5.0
v4.5
v4
Makes use of compsites within composites and if
within composite actions
v3.5
Add support for shell: pwsh, powershell
to install desired modules on both PowerShell and pwsh.