Skip to content

Releases: EvotecIT/PSPublishModule

v2.0.16

27 Oct 14:58
30cb269
Compare
Choose a tag to compare

What's new

  • Improve error handling

Full Changelog: v2.0.15...v2.0.16

v2.0.15

11 Oct 16:24
cfc23c8
Compare
Choose a tag to compare

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

14 Aug 20:33
3d1f926
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.13...v2.0.14

v2.0.13

13 Jul 07:15
1865f7a
Compare
Choose a tag to compare

What's new

  • When using New-ConfigurtionManifest and using CmdletsToExport 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

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