Skip to content

2.0.0-RC5

Pre-release
Pre-release
Compare
Choose a tag to compare
@homotechsual homotechsual released this 28 Jul 20:13
· 15 commits to main since this release
ddb7903

What's Changed

2024-07-26 - Version 2.0.0-RC5

  • Add new commandlets:
    • Get-NinjaOneAutomations
    • Get-NinjaOneNotificationChannels
    • Get-NinjaOneCustomFieldsPolicyConditions
    • Get-NinjaOneCustomFieldsPolicyCondition
    • Get-NinjaOneWindowsEventConditions
    • Get-NinjaOneWindowsEventCondition
    • Get-NinjaOneTicketingUsers
    • Get-NinjaOneKnowledgeBaseArticle
    • Get-NinjaOneOrganisationKnowledgeBaseArticles
    • Get-NinjaOneGlobalKnowledgeBaseArticles
    • Get-NinjaOneKnowledgeBaseFolders
    • Get-NinjaOneRelatedItemAttachment
    • Get-NinjaOneRelatedItemAttachmentSignedURLs
    • Get-NinjaOneCustomFieldSignedURLs
    • Get-NinjaOneIntegrityCheckJobs
    • New-NinjaOneCustomFieldsPolicyCondition
    • New-NinjaOneWindowsEventPolicyCondition
    • New-NinjaOneAttachmentRelation
    • New-NinjaOneEntityRelation
    • New-NinjaOneEntityRelations
    • New-NinjaOneSecureRelation
    • New-NinjaOneIntegrityCheckJob
    • Remove-NinjaOneRelatedItem
    • Remove-NinjaOneRelatedItems
    • Remove-NinjaOneOrganisationDocument
    • Remove-NinjaOnePolicyCondition
  • Remove deprecated commandlet:
    • Get-NinjaOneAttachment
  • Fix bug in Set-NinjaOneOrganisationDocument.
  • Fix auth endpoints in Connect-NinjaOne to use the ws/oauth paths.
  • Apply a round of fixes to Get-NinjaOneSecrets.
  • Remove early exits for endpoints which don't support client_credentials authentication as NinjaOne has added a native descriptive error for this issue.
  • Add of / organisationFilter parameter to the Get-NinjaOneOrganisations commandlet.
  • Fix handling of scopes parameter on Get-NinjaOneDeviceCustomFields.
  • Reformat all code to use tabs instead of spaces - largely driven by accessibility benefits of using tabs over spaces. I was, for many years, a "spaces > tabs" guy. Until I was pointed at this article by Alexander Sandberg. It managed to convince me that the accessibility benefits of tabs outweighed my attachment to spaces. Our workspace file uses whatever tab width you have set in VSCode you can change this using editor.tabSize in your settings.
  • Add many new aliases to try and stay as close to Ninja's "entity" naming as we can. For example, Get-NinjaOneRoles now has the alias Get-NinjaOneDeviceRoles.
  • Add many new wrapper commands to provide commandlets named consistently with Ninja's entity naming where we've combined endpoints into a single commandlet for expediency.
  • Remove entity exists validation from all commandlets, we will no longer test if a device exists before you try to get it's disks. This reduces the volume of calls we make and you will now see Ninja's 404 response being returned when the given device does not exist. This has been done to drastically reduce the number of API calls we were making.
  • Reorganise source folder to match Ninja's API groupings.
  • Remove the -usageLimit parameter from New-NinjaOneInstaller.
  • Update Get-NinjaOneSecrets.ps1 by @jesseconnr in #36
  • Add timeout and error messages to Start-OAuthHTTPListener.ps1 by @jesseconnr in #37

New Contributors

Full Changelog: 2.0.0-RC4...2.0.0-RC5