Releases: EvotecIT/PSPublishModule
Releases · EvotecIT/PSPublishModule
v2.0.16
v2.0.15
What's Changed
- Update BuildModule.yml by @SamErde in #27
- Improve error handling
- Improve DLL handling
- Add new options for binary cmdlet scanning
- Fixes detecting cmdlets in binary modules for PS 5.1
- Other small improvements
New Contributors
Full Changelog: v2.0.14...v2.0.15
v2.0.14
What's Changed
- Adding cmdlet detection by @PrzemyslawKlys in #25
- Add custom and builtin place holders replacement functionality by @PrzemyslawKlys in #26
Full Changelog: v2.0.13...v2.0.14
v2.0.13
What's new
- When using
New-ConfigurtionManifest
and usingCmdletsToExport
it would not export them in PSM1 file. This is now fixed - Moved function to separate file to improve visibility
Full Changelog: v2.0.12...v2.0.13
v2.0.12
What's new
- Always publish to Github with PreReleaseTag if it's set
- Added support for HelpOut module to be used for help generation (platyPS will stay default for now)
- Added support for
NETIgnoreLibraryOnLoad
inNew-ConfigurationBuild
to allow for ignoring libraries on load (for example C/C++ dlls) - Added support for
NETBinaryModule
inNew-ConfigurationBuild
to allow for building binary modules (C#) and doing Import-Module in PSM1 for them - Improves detection of used functions/aliases in module (now it's more accurate)
- When using
New-ConfigurationArtefact
with Script artefact type and removal of comments it would break the whole script. This is now fixed - Fixes case where during binary module building the DLL would not be used at all
- Improvement to
TargetFramework
andTargetFrameworks
support when using C# projects.TargetFrameworkVersion
is not supported. - Added support for
NETHandleAssemblyWithSameName
inNew-ConfigurationBuild
to allow for handling of assemblies with same name (for example Newtonsoft.Json) - Improved loading of libraries to use foreach instead of loading one by one
- Removed dependency on
PlatyPS
/HelpOut
. Now it's optional and can be used if needed. HelpOut does have some issues that I hope will be solved sooner or later - Improved creating empty PSM1 file when Public/Private folders have no files or are not present
- Added
NETProjectPath
toNew-ConfigurationBuild
to allow for specifying path to project file (csproj) when building binary modules - Improve
New-ConfigurationManifest
allowing to defineFunctionsToExport
andCmdletsToExport
andAliasesToExport
to allow for more control over exported functions/cmdlets/aliases (by default Aliaeses/Functions are exported but you can overwrite them)
Full Changelog: v2.0.12...v2.0.12
v2.0.11
What's new
- Fix for broken script generation if
New-ConfigurationCommand
is used
Full Changelog: v2.0.10...v2.0.11
v2.0.10
v2.0.9
What's new
- Added usage of OpenAuthenticode from @jborean93 to allow for signing of modules on Linux/MacOS
- The module is not automatically installed, you need to install it yourself
- May need to be updated, as haven't really tested it
Full Changelog: v2.0.8...v2.0.9
v2.0.8
What's new
- Improve error handling
- Added
NETExcludeMainLibrary
to not include Initialize library if no logic is required - Added
NETExcludeLibraryFilter
to allow for excluding libraries from being copied on build - Added
PreScriptMergePath
andPostScriptMergePath
to allow for files implementation instead of direct code inNew-ConfigurationArtefact
- This supplements using
PreScriptMerge
andPostScriptMerge
(which are still supported, but overwritten when usingPreScriptMergePath
andPostScriptMergePath
)
- This supplements using
Full Changelog: v2.0.7...v2.0.8
v2.0.7
What's new:
- Added to
New-ConfigurationArtefact
replacement of variables in paths (for example<TagModuleVersionWithPreRelease>
) - Added to
New-ConfigurationArtefact
-DoNotClear
parameter to allow for not clearing of artefact folder, by default it will delete it's content with excluded .zip files (if any)
Full Changelog: v2.0.6...v2.0.7