Releases: EvotecIT/PSPublishModule
Releases · EvotecIT/PSPublishModule
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
v2.0.6
What's new
- Fixes problem with defaults such as IncludeAll, IncludePS1 and similar always being set preventing user from overwriting values on demand
Full Changelog: v2.0.5...v2.0.6
v2.0.5
What's new
- Fixes remove comments functionality
- Added remove empty lines functionality
- Small fixes on PSD1 generation (sorting fixed)
Full Changelog: v2.0.4...v2.0.5
v2.0.4
What's Changed
- Adding support for Manual version bumping. by @cocazoulou in #21
New Contributors
- @cocazoulou made their first contribution in #21
Full Changelog: v2.0.3...v2.0.4