From 7616ab5b98c1a65ebb9fa6e876c9a2b533449ff4 Mon Sep 17 00:00:00 2001 From: Greg Brownstein Date: Thu, 16 Mar 2023 23:28:15 +0000 Subject: [PATCH] Update manifest to 4.0.0 --- CHANGELOG.md | 17 +++++++++++++++++ ServiceNow/ServiceNow.psd1 | 18 ++++++++---------- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6f736b..f6f69c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## 4.0.0 +- Add `Update-ServiceNowRecord -CustomVariableData` to update custom variable values, [#237](https://github.com/Snow-Shell/servicenow-powershell/issues/237) +- Add `New-ServiceNowChangeRequest` support for change models and standard change templates +- Fix 0 byte file error with `Add-ServiceNowAttachment`, [#241](https://github.com/Snow-Shell/servicenow-powershell/issues/241) +- `Get-ServiceNowRecord -New` has been deprecated and the new format is the only option +- `Update-ServiceNowChangeRequest`, `Update-ServiceNowincident`, and `Update-ServiceNowRequestedItem` deprecated. Use `Update-ServiceNowRecord`. The only difference was the table name and didn't make sense to maintain so many functions when documenting will do. `Update-ServiceNowRecord` has been enhanced as well so all updates can take advantage. +- `Get-ServiceNowRecordInterim` has been deprecated. +- Add generic `-Table` and `-ID` lookup function has been created and used across all functions where these parameters are used +- Add `-Table` tab ahead for `Remove-ServiceNowRecord` and `Export-ServiceNowRecord` +- Add `-ID` only lookup, no table name needed, for all +- Add/Update parameter sets to make it clearer when to use `-Table`, `-ID`, `-Filter`, etc +- Add pipeline support to `Export-ServiceNowRecord`, `New-ServiceNowRecord`, and `Update-ServiceNowRecord` +- Add `Get-ServiceNowRecord -ParentID` without providing `-Table` returns all tasks associated with that parent record +- Standardize parameter names across functions + + ## 3.4.3 - `Get-ServiceNowRecord`, custom variables of type Reference providing sysid instead of actual value, [#218](https://github.com/Snow-Shell/servicenow-powershell/issues/218) @@ -179,3 +195,4 @@ Be able to reference types from this config per table, removing the need to have + diff --git a/ServiceNow/ServiceNow.psd1 b/ServiceNow/ServiceNow.psd1 index 4e2efc6..e01a7f4 100644 --- a/ServiceNow/ServiceNow.psd1 +++ b/ServiceNow/ServiceNow.psd1 @@ -1,9 +1,9 @@ # # Module manifest for module 'ServiceNow' # -# Generated by: Sam Martin Rick Arroues Greg Brownstein +# Generated by: Greg Brownstein, Rick Arroues, Sam Martin # -# Generated on: 12/17/2022 +# Generated on: 03/16/2023 # @{ @@ -12,7 +12,7 @@ RootModule = 'ServiceNow.psm1' # Version number of this module. -ModuleVersion = '4.0' +ModuleVersion = '4.0.0' # Supported PSEditions # CompatiblePSEditions = @() @@ -69,16 +69,14 @@ FormatsToProcess = 'ServiceNow.format.ps1xml' NestedModules = @() # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. -FunctionsToExport = 'New-ServiceNowConfigurationItem', - 'Get-ServiceNowRecord', 'New-ServiceNowSession', - 'Add-ServiceNowAttachment', 'Get-ServiceNowAttachment', - 'Export-ServiceNowAttachment', +FunctionsToExport = 'New-ServiceNowConfigurationItem', 'Get-ServiceNowRecord', + 'New-ServiceNowSession', 'Add-ServiceNowAttachment', + 'Get-ServiceNowAttachment', 'Export-ServiceNowAttachment', 'New-ServiceNowChangeRequest', 'New-ServiceNowIncident', 'New-ServiceNowQuery', 'New-ServiceNowRecord', 'Remove-ServiceNowAttachment', 'Remove-ServiceNowRecord', - 'Update-ServiceNowRecord', - 'Export-ServiceNowRecord', 'Invoke-ServiceNowGraphQL', - 'New-ServiceNowChangeTask' + 'Update-ServiceNowRecord', 'Export-ServiceNowRecord', + 'Invoke-ServiceNowGraphQL', 'New-ServiceNowChangeTask' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. CmdletsToExport = @()