Releases: homotechsual/NinjaOne
Releases · homotechsual/NinjaOne
v2.6.0
-
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-RequiredModulefrom its installed script path.
- Fix bootstrap module installation on macOS and Linux by resolving
Release links:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.6.0
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.5.1
-
Fixes:
- Remove duplicate public commandlet source definitions that could shadow the canonical implementations for user role membership and tab rename operations.
- Fix
Get-NinjaOneOrganisationDevicesto 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:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.5.1
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.5.0
-
Additions:
- Add 35 new cmdlets covering Billing, ITAM, and end-user device access APIs, including:
Get-NinjaOneBillingAccounts,New-NinjaOneBillingAccount,Set-NinjaOneBillingAccount,Remove-NinjaOneBillingAccountGet-NinjaOneBillingAgreements,New-NinjaOneBillingAgreement,Set-NinjaOneBillingAgreement,Invoke-NinjaOneBillingAgreementDeactivateGet-NinjaOneBillingInvoices,New-NinjaOneBillingInvoice,Set-NinjaOneBillingInvoice,Set-NinjaOneBillingInvoiceNote,Invoke-NinjaOneBillingInvoicesApprove,Invoke-NinjaOneBillingInvoicesArchive,Invoke-NinjaOneBillingInvoicesExport,Invoke-NinjaOneBillingInvoicesUnarchiveGet-NinjaOneBillingProducts,New-NinjaOneBillingProduct,Set-NinjaOneBillingProduct,Invoke-NinjaOneBillingProductActivate,Invoke-NinjaOneBillingProductDeactivateGet-NinjaOneBillingTicketProducts,New-NinjaOneBillingTicketProductAdHoc,New-NinjaOneBillingTicketProductCatalog,Set-NinjaOneBillingTicketProduct,Set-NinjaOneBillingTicketTimeEntry,Invoke-NinjaOneBillingTicketProductsDeleteGet-NinjaOneAssetRelationships,New-NinjaOneAssetRelationship,Remove-NinjaOneAssetRelationship,Get-NinjaOneAssetRelationshipTypes,New-NinjaOneAssetRelationshipType,Get-NinjaOneSoftwareLicenses,Get-NinjaOneSoftwareLicenseAssignments, andSet-NinjaOneEndUserDeviceAccess
- Add 35 new cmdlets covering Billing, ITAM, and end-user device access APIs, including:
-
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:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.5.0
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.4.2
-
Fixes:
- Fix module import failures for PowerShell on Linux in Azure Functions by relying on
RequiredAssembliesin the manifest instead of script-levelusing assemblystatements. - Fix
Get-NinjaOneActivitiesemitting stray boolean output when parameter normalization removes keys from the parameter dictionary.
- Fix module import failures for PowerShell on Linux in Azure Functions by relying on
-
Updates:
- Add regression tests covering manifest-based assembly loading and
Get-NinjaOneActivitiesoutput behavior.
- Add regression tests covering manifest-based assembly loading and
Release links:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.4.2
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.4.1
-
Fixes:
- Fix HTTP 415 errors on
New-NinjaOneTicketCommentby preventing PowerShell from unwrappingMultipartFormDataContentduring parameter binding. - Fix multipart body detection to use dictionary enumerator instead of
.PSObject.Propertiesto avoid recursive self-reference on hashtable intrinsic members.
- Fix HTTP 415 errors on
-
Updates:
- Add verbose logging of the request body for both multipart and JSON POST requests.
Release links:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.4.1
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.4.0
-
Fixes:
- Fix call depth overflow in
Invoke-NinjaOneDeviceScriptby implementing explicit opt-in for multipart form-data detection. - Fix PSScriptAnalyzer settings compatibility by removing obsolete
ExcludePathparameter.
- Fix call depth overflow in
-
Updates:
- Enhance
Invoke-NinjaOneDeviceScript-runAsparameter documentation with comprehensive API permission level syntax and credential ID support. - Make
-runAsparameter mandatory onInvoke-NinjaOneDeviceScriptto ensure proper script execution context. - Standardize output behavior in
Invoke-NinjaOneDeviceScriptto returnSystem.Voidwith optional-showswitch for status code display. - Implement explicit
-UseMultipartswitch onNew-NinjaOnePOSTRequestfor improved multipart detection reliability across file upload endpoints.
- Enhance
Release links:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.4.0
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.3.1
-
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:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.3.1
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.3.0-beta3
- 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:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.3.0-beta3
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.3.0-beta2
- Fixes:
- Add "fed" instance region support to Connect-NinjaOne ValidateSet.
Release links:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.3.0-beta2
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.3.0-beta1
-
Breaking Changes:
{"BC"}RenamedNew-NinjaOneTagtoSet-NinjaOneTagBatchto accurately reflect batch tag assignment functionality. Old short aliasnnotagnow points to the new tag creation function.{"BC"}RenamedNew-NinjaOneTagGlobaltoNew-NinjaOneTagas the primary tag creation function. Backward compatibility maintained through aliasesnnotagg.
-
Additions:
- Add instance capability checks using the OpenAPI spec per instance.
- Add
Get-NinjaOneInstanceCapabilitiesto report supported/unsupported cmdlets and paths. - Add
Set-NinjaOneTagBatchfor 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:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.3.0-beta1
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget