Skip to content

Releases: KnicKnic/go-powershell

Fix typo of localAlloc

27 Dec 05:39
Compare
Choose a tag to compare

Fix typo in localAlloc which will cause heap corruptions.

no unsafe.Pointer warnings

20 Dec 21:13
Compare
Choose a tag to compare

Make code fully clean against unsafe.Pointer usage
Also ensure that code can be initialized even if powershell psh_host.dll is not on system.

Fix all usage of unsafe

13 Dec 06:40
7fa72aa
Compare
Choose a tag to compare

Ensure that unsafe.Pointer usage does not violate any of the rules.

Remove cGo and use syscall

07 Nov 04:52
8e4b87b
Compare
Choose a tag to compare

This removes the need to use gcc to compile.

Checkin binaries

21 Oct 04:45
Compare
Choose a tag to compare

Still Alpha as interfaces may change, however it should be easy to convert

Checkin host.h and psh_host.dll to enable building projects against this one.

Enable all logging callbacks

21 Oct 03:15
Compare
Choose a tag to compare

Still Alpha as interfaces may change, however it should be easy to convert

  • Enabled passing in Full logging interface
  • Added logging wrappers for glog and klog
  • Statically link mingw64 dependencies
  • Added some benchmarks to show impact of creating runspaces in parallel or sequential
  • Added ability to open runspace on a remote machine

Wrappers for callbacks and logging

15 Jul 16:03
Compare
Choose a tag to compare

Still Alpha as interfaces may change, however it should be easy to convert

  • Created a wrapper to take a function and create a CallbackHolder
    • Makes it easier to write CallbackHolders
  • Created a wrapper to take a function and create a SimpleLogger
    • Makes it easier to write SimpleLoggers

JSON helpers and easier calback closing

11 Jul 05:41
Compare
Choose a tag to compare

Still Alpha as interfaces may change, however it should be easy to convert

  1. Created helpers for serializing to JSON and from JSON when dealing with powershell
  2. Made it easier to always defer InvokeResults.Close by adding ability to skip Objects you do not want to close
  3. Overhaul documentation
  4. Adding tests for logging
  5. Get go statement coverage to 100%
  6. Some code cleanup.

Better high level Apis, support calling powershell in callback

09 Jul 16:37
Compare
Choose a tag to compare

Still Alpha as interfaces may change, however it should be easy to convert

  1. Added support for adding commands using parameters by name
  2. Made command apis internal
    1. these were lower level functions that not as easy to use
  3. Added higher level functions for running a script or command
    1. Added support for named arguments and unnamed arguments
  4. Support for Calling into powershell from callback
    1. Known as NestedPowershell / NestedPipeline
  5. Reference dependency library from checked in file via git
    1. This makes project much easier to consume
  6. Updated docs & examples
    1. Increase test coverage
    2. Remove usage of examples for internal tests
  7. Standardized cleanup routines to be all call Close
    1. Previously some where called Delete
  8. checked in x64 binaries to make project easier to consume
    1. binaries checked in separate repo, linked via submodule

Initial alpha drop

04 Jul 04:54
Compare
Choose a tag to compare
Initial alpha drop Pre-release
Pre-release

The api is still not stable, hence alpha (otherwise would have marked it beta).

All tests written pass.

Go to https://github.com/KnicKnic/native-powershell/releases/tag/v0.0.1 to download the host.h and psh_host.dll that is needed to compile, or compile them based on the native-powershell git tag in the source.