Releases: KnicKnic/go-powershell
Fix typo of localAlloc
no unsafe.Pointer warnings
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
Ensure that unsafe.Pointer usage does not violate any of the rules.
Remove cGo and use syscall
This removes the need to use gcc to compile.
Checkin binaries
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
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
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
Still Alpha as interfaces may change, however it should be easy to convert
- Created helpers for serializing to JSON and from JSON when dealing with powershell
- Made it easier to always defer InvokeResults.Close by adding ability to skip Objects you do not want to close
- Overhaul documentation
- Adding tests for logging
- Get go statement coverage to 100%
- Some code cleanup.
Better high level Apis, support calling powershell in callback
Still Alpha as interfaces may change, however it should be easy to convert
- Added support for adding commands using parameters by name
- Made command apis internal
- these were lower level functions that not as easy to use
- Added higher level functions for running a script or command
- Added support for named arguments and unnamed arguments
- Support for Calling into powershell from callback
- Known as NestedPowershell / NestedPipeline
- Reference dependency library from checked in file via git
- This makes project much easier to consume
- Updated docs & examples
- Increase test coverage
- Remove usage of examples for internal tests
- Standardized cleanup routines to be all call Close
- Previously some where called Delete
- checked in x64 binaries to make project easier to consume
- binaries checked in separate repo, linked via submodule
Initial alpha drop
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.