Releases: homotechsual/NinjaOne
Releases · homotechsual/NinjaOne
Release list
v2.7.2
- Fixes:
- Fix request wrapper functions leaking boolean return value from endpoint support checks into the output pipeline, causing cmdlets to return arrays with spurious
$trueas the first element.
- Fix request wrapper functions leaking boolean return value from endpoint support checks into the output pipeline, causing cmdlets to return arrays with spurious
Release links:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.7.2
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.7.1
- 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:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.7.1
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
v2.7.0
-
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-NinjaOneWebhookto target both/v2/webhookand/v2/webhook/{id}endpoint variants. - Fix public cmdlet functionality metadata specificity to improve coverage categorization and drift diagnostics.
- Fix webhook delete coverage by allowing
Release links:
- PowerShell Gallery: https://www.powershellgallery.com/packages/NinjaOne/2.7.0
- GitHub Packages: https://github.com/homotechsual/NinjaOne/packages?package_type=nuget
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