Skip to content

Releases: homotechsual/NinjaOne

v2.7.2

Choose a tag to compare

@github-actions github-actions released this 23 Jun 10:14
23b731d
  • Fixes:
    • Fix request wrapper functions leaking boolean return value from endpoint support checks into the output pipeline, causing cmdlets to return arrays with spurious $true as the first element.

Release links:

v2.7.1

Choose a tag to compare

@github-actions github-actions released this 22 Jun 21:36
463e72f
  • Fixes:
    • Fix token refresh to gracefully handle missing secret vault configuration instead of throwing terminating error (issue #84).
    • Fix secret prefix preservation during token refresh to ensure correct secrets are read from vault on re-authentication.
    • Fix monthly instance capability check workflow issue matching to use exact title filtering instead of fuzzy first-match.

Release links:

v2.7.0

Choose a tag to compare

@github-actions github-actions released this 28 Apr 20:48
03b9f78
  • Additions:

    • Add functionality-aware Codecov component generation from public cmdlet comment-based help metadata.
    • Add generated instance endpoint drift development docs with frontmatter for separate dev docs publishing.
  • Updates:

    • Split documentation publishing into commandlet docs and development docs tasks for independent CI job execution.
    • Expand private helper test coverage for request construction and error handling paths.
  • Fixes:

    • Fix webhook delete coverage by allowing Remove-NinjaOneWebhook to target both /v2/webhook and /v2/webhook/{id} endpoint variants.
    • Fix public cmdlet functionality metadata specificity to improve coverage categorization and drift diagnostics.

Release links:

v2.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Apr 14:13
  • 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

Choose a tag to compare

@github-actions github-actions released this 10 Apr 13:24
0d6ca0d
  • 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

Choose a tag to compare

@github-actions github-actions released this 08 Apr 22:45
3353cb6
  • 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

Choose a tag to compare

@github-actions github-actions released this 07 Apr 19:58
  • 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

Choose a tag to compare

@github-actions github-actions released this 11 Mar 10:35
  • 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

Choose a tag to compare

@github-actions github-actions released this 09 Mar 14:09
  • 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

Choose a tag to compare

@github-actions github-actions released this 27 Feb 14:56
  • 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: