Context and request
Install-GoogleFont.ps1 currently declares exact dependency pins:
#Requires -Modules @{ ModuleName = 'Fonts'; RequiredVersion = '1.1.21' }
#Requires -Modules @{ ModuleName = 'Admin'; RequiredVersion = '1.1.6' }
RequiredVersion rejects newer compatible releases. A user with a newer Fonts or Admin version may therefore be unable to import GoogleFonts unless the historical exact version is also installed.
Desired outcome
Use compatible version ranges instead of exact pins so newer supported dependency releases satisfy module import requirements.
Acceptance criteria
- GoogleFonts imports when installed
Fonts and Admin versions meet or exceed its required compatible minimums.
- The function requirements use
ModuleVersion and, if a major-version compatibility boundary is needed, MaximumVersion; they do not use RequiredVersion for these published dependencies.
- The README states the supported dependency range rather than an exact historical version.
- Tests cover both the minimum supported and a newer compatible dependency version.
Related
Context and request
Install-GoogleFont.ps1currently declares exact dependency pins:RequiredVersionrejects newer compatible releases. A user with a newerFontsorAdminversion may therefore be unable to import GoogleFonts unless the historical exact version is also installed.Desired outcome
Use compatible version ranges instead of exact pins so newer supported dependency releases satisfy module import requirements.
Acceptance criteria
FontsandAdminversions meet or exceed its required compatible minimums.ModuleVersionand, if a major-version compatibility boundary is needed,MaximumVersion; they do not useRequiredVersionfor these published dependencies.Related
1.*maximum boundary.