Skip to content

Releases: EvotecIT/PSPublishModule

v2.0.12

06 May 19:04
7fb0466
Compare
Choose a tag to compare

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 in New-ConfigurationBuild to allow for ignoring libraries on load (for example C/C++ dlls)
  • Added support for NETBinaryModule in New-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 and TargetFrameworks support when using C# projects. TargetFrameworkVersion is not supported.
  • Added support for NETHandleAssemblyWithSameName in New-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 to New-ConfigurationBuild to allow for specifying path to project file (csproj) when building binary modules
  • Improve New-ConfigurationManifest allowing to define FunctionsToExport and CmdletsToExport and AliasesToExport 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

15 Nov 15:49
1ad39e4
Compare
Choose a tag to compare

What's new

  • Fix for broken script generation if New-ConfigurationCommand is used

Full Changelog: v2.0.10...v2.0.11

v2.0.10

12 Nov 20:57
ecc0657
Compare
Choose a tag to compare

What's new

  • Fix for paths that I've broken in 2.0.9

Full Changelog: v2.0.9...v2.0.10

v2.0.9

03 Nov 08:57
59b03ba
Compare
Choose a tag to compare

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

01 Nov 17:47
4d0a53e
Compare
Choose a tag to compare

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 and PostScriptMergePath to allow for files implementation instead of direct code in New-ConfigurationArtefact
    • This supplements using PreScriptMerge and PostScriptMerge (which are still supported, but overwritten when using PreScriptMergePath and PostScriptMergePath)

Full Changelog: v2.0.7...v2.0.8

v2.0.7

17 Sep 07:38
0be4143
Compare
Choose a tag to compare

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

31 Aug 06:38
3bd0b26
Compare
Choose a tag to compare

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

20 Aug 20:07
7b066e5
Compare
Choose a tag to compare

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

17 Aug 14:10
53b4bcb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.3...v2.0.4

v2.0.3

13 Aug 12:48
207455e
Compare
Choose a tag to compare

What's new

  • Fixes relative paths

Full Changelog: v2.0.2...v2.0.3