Skip to content

v1.4.0: Improving command naming and extending bash/zsh support

Compare
Choose a tag to compare
@reubenmiller reubenmiller released this 28 Sep 20:10
· 1250 commits to master since this release

PSc8y (PowerShell)

Renamed cmdlets

  • New-ChildAssetReference to Add-AssetToGroup
  • Remove-ChildAssetReference to Remove-AssetFromGroup
  • New-ChildDeviceReference to Add-ChildDeviceToDevice
  • Remove-ChildDeviceReference to Remove-ChildDeviceFromDevice

New cmdlets

  • Add-DeviceToGroup
  • Add-ChildGroupToGroup
  • Remove-DeviceFromGroup

Changes

  • New-TestDevice has changed to require confirmation before creating the device
  • Fixed Get-Measurement alias m in PSc8y

c8y (binary)

  • Removed duplicate command c8y devices find as query functionality is provided by c8y devices list --query "name eq 'test*'"

  • Added common options and array items processing to the following commands

    • c8y agents list
    • c8y devices list
    • c8y devices listDeviceGroups
  • Added common options to (i.e. --outputFile, --pretty)

    • c8y micrservices create
    • c8y micrservices createHostedApplication
  • Added bash profile script to add support for aliases

  • Added guide to creating custom bash aliases

  • Removed unreferenced commands

  • c8y session list Renamed --filter to --sessionFilter to avoid conflict with the global --filter option

Docker

  • Added docker images to make it easier to try out c8y

    • ghcr.io/reubenmiller/c8y-bash
    • ghcr.io/reubenmiller/c8y-zsh
    • ghcr.io/reubenmiller/c8y-pwsh

Docs

  • Fixed line wrapping within code blocks. Now horizontal scrollbars are show to preserve the line spacing.
  • Added github project link

Build

  • Improved reliability of realtime api tests
  • c8y (golang) binaries are now statically linked (using CGO_ENABLED=0) to make them more portable
  • Added docker images for pwsh, bash and zsh with c8y already configured