Skip to content

Releases: homotechsual/NinjaOne

v2.6.0

20 Apr 14:13

Choose a tag to compare

  • Additions:

    • Add cross-platform smoke tests for macOS and Linux on PowerShell 7 in CI.
    • Add development styling conventions and troubleshooting documentation.
  • Updates:

    • Sync development docs, filter docs, and the NinjaOne docs landing page to the external documentation repo.
    • Normalize public parameter casing and align ScriptAnalyzer scope with exported cmdlet conventions.
  • Fixes:

    • Fix bootstrap module installation on macOS and Linux by resolving Install-RequiredModule from its installed script path.

Release links:

v2.5.1

10 Apr 13:24
0d6ca0d

Choose a tag to compare

  • Fixes:

    • Remove duplicate public commandlet source definitions that could shadow the canonical implementations for user role membership and tab rename operations.
    • Fix Get-NinjaOneOrganisationDevices to declare the correct public function name.
  • Updates:

    • Prevent duplicate Docusaurus doc IDs for generated Billing commandlet pages.
    • Add regression tests to catch duplicate public function definitions and duplicate generated doc IDs before release.

Release links:

v2.5.0

08 Apr 22:45
3353cb6

Choose a tag to compare

  • Additions:

    • Add 35 new cmdlets covering Billing, ITAM, and end-user device access APIs, including:
      • Get-NinjaOneBillingAccounts, New-NinjaOneBillingAccount, Set-NinjaOneBillingAccount, Remove-NinjaOneBillingAccount
      • Get-NinjaOneBillingAgreements, New-NinjaOneBillingAgreement, Set-NinjaOneBillingAgreement, Invoke-NinjaOneBillingAgreementDeactivate
      • Get-NinjaOneBillingInvoices, New-NinjaOneBillingInvoice, Set-NinjaOneBillingInvoice, Set-NinjaOneBillingInvoiceNote, Invoke-NinjaOneBillingInvoicesApprove, Invoke-NinjaOneBillingInvoicesArchive, Invoke-NinjaOneBillingInvoicesExport, Invoke-NinjaOneBillingInvoicesUnarchive
      • Get-NinjaOneBillingProducts, New-NinjaOneBillingProduct, Set-NinjaOneBillingProduct, Invoke-NinjaOneBillingProductActivate, Invoke-NinjaOneBillingProductDeactivate
      • Get-NinjaOneBillingTicketProducts, New-NinjaOneBillingTicketProductAdHoc, New-NinjaOneBillingTicketProductCatalog, Set-NinjaOneBillingTicketProduct, Set-NinjaOneBillingTicketTimeEntry, Invoke-NinjaOneBillingTicketProductsDelete
      • Get-NinjaOneAssetRelationships, New-NinjaOneAssetRelationship, Remove-NinjaOneAssetRelationship, Get-NinjaOneAssetRelationshipTypes, New-NinjaOneAssetRelationshipType, Get-NinjaOneSoftwareLicenses, Get-NinjaOneSoftwareLicenseAssignments, and Set-NinjaOneEndUserDeviceAccess
  • Updates:

    • Expand endpoint and metadata coverage for previously missing Billing and ITAM API operations.
    • Add a custom PSScriptAnalyzer rule to catch self-referential parameter aliases before release.
  • Fixes:

    • Prevent path parameters from being duplicated into query strings for the new Billing and ITAM GET cmdlets.
    • Improve cross-platform analyzer behavior for Windows and Linux path handling.

Release links:

v2.4.2

07 Apr 19:58

Choose a tag to compare

  • Fixes:

    • Fix module import failures for PowerShell on Linux in Azure Functions by relying on RequiredAssemblies in the manifest instead of script-level using assembly statements.
    • Fix Get-NinjaOneActivities emitting stray boolean output when parameter normalization removes keys from the parameter dictionary.
  • Updates:

    • Add regression tests covering manifest-based assembly loading and Get-NinjaOneActivities output behavior.

Release links:

v2.4.1

11 Mar 10:35

Choose a tag to compare

  • Fixes:

    • Fix HTTP 415 errors on New-NinjaOneTicketComment by preventing PowerShell from unwrapping MultipartFormDataContent during parameter binding.
    • Fix multipart body detection to use dictionary enumerator instead of .PSObject.Properties to avoid recursive self-reference on hashtable intrinsic members.
  • Updates:

    • Add verbose logging of the request body for both multipart and JSON POST requests.

Release links:

v2.4.0

09 Mar 14:09

Choose a tag to compare

  • Fixes:

    • Fix call depth overflow in Invoke-NinjaOneDeviceScript by implementing explicit opt-in for multipart form-data detection.
    • Fix PSScriptAnalyzer settings compatibility by removing obsolete ExcludePath parameter.
  • Updates:

    • Enhance Invoke-NinjaOneDeviceScript -runAs parameter documentation with comprehensive API permission level syntax and credential ID support.
    • Make -runAs parameter mandatory on Invoke-NinjaOneDeviceScript to ensure proper script execution context.
    • Standardize output behavior in Invoke-NinjaOneDeviceScript to return System.Void with optional -show switch for status code display.
    • Implement explicit -UseMultipart switch on New-NinjaOnePOSTRequest for improved multipart detection reliability across file upload endpoints.

Release links:

v2.3.1

27 Feb 14:56

Choose a tag to compare

  • Fixes:

    • Add guard for null response handling when parsing date/time values in Invoke-NinjaOneRequest.
    • Add "fed" instance region support to Connect-NinjaOne ValidateSet.
    • Fix PowerShell 5.1 compatibility by replacing Join-String with -join operator in Test-NinjaOneEndpointSupport.
    • Fix prerelease version detection in publish workflow by adding -AllowPrerelease to Find-Module checks.
    • Fix multipart form-data request handling to avoid 415 errors on upload endpoints.
    • Fix build updateManifest by using a temporary RootModule stub when required.
  • Updates:

    • Limit PSSA compatibility checks to PowerShell 5.1.
    • Disable GitHub Packages publish step due to NuGet authentication failures.
    • Auto-generate full request examples for POST/PUT and PATCH endpoints.
    • Normalize literal backtick sequences in generated help links.

Release links:

v2.3.0-beta3

25 Feb 15:04

Choose a tag to compare

v2.3.0-beta3 Pre-release
Pre-release
  • Fixes:
    • Fix PowerShell 5.1 compatibility by replacing Join-String with -join operator in Test-NinjaOneEndpointSupport.
    • Fix prerelease version detection in publish workflow by adding -AllowPrerelease to Find-Module checks.
    • Switch GitHub Packages authentication from PAT to GITHUB_TOKEN for better workflow security.

Release links:

v2.3.0-beta2

25 Feb 14:31

Choose a tag to compare

v2.3.0-beta2 Pre-release
Pre-release
  • Fixes:
    • Add "fed" instance region support to Connect-NinjaOne ValidateSet.

Release links:

v2.3.0-beta1

25 Feb 08:59

Choose a tag to compare

v2.3.0-beta1 Pre-release
Pre-release
  • Breaking Changes:

    • {"BC"} Renamed New-NinjaOneTag to Set-NinjaOneTagBatch to accurately reflect batch tag assignment functionality. Old short alias nnotag now points to the new tag creation function.
    • {"BC"} Renamed New-NinjaOneTagGlobal to New-NinjaOneTag as the primary tag creation function. Backward compatibility maintained through aliases nnotagg.
  • Additions:

    • Add instance capability checks using the OpenAPI spec per instance.
    • Add Get-NinjaOneInstanceCapabilities to report supported/unsupported cmdlets and paths.
    • Add Set-NinjaOneTagBatch for batch tag assignment to multiple assets.
  • Updates:

    • Validate endpoint support before API calls and allow path-only fallback when methods are missing.
    • Improve verbose output and empty response handling in request helpers.
    • Expand instance capability tests, including YAML parsing edge cases and cache refresh behavior.
    • Summarize test results and return a combined results object in DevOps/Quality/test.ps1.
    • Update tag function naming to align with actual API operations.
    • Update test scaffold to dynamically load latest module version instead of hardcoded 2.1.0.
  • Fixes:

    • Fix test scaffold module import to support multiple versions in Output directory.
    • Fix workflow idempotency for PSGallery and GitHub Packages publishing (skip if version exists).

Release links: