Skip to content

Commit

Permalink
Update manifest to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarron committed Mar 16, 2023
1 parent 4366cfa commit 7616ab5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 10 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down Expand Up @@ -179,3 +195,4 @@ Be able to reference types from this config per table, removing the need to have




18 changes: 8 additions & 10 deletions ServiceNow/ServiceNow.psd1
Original file line number Diff line number Diff line change
@@ -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
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = 'ServiceNow.psm1'

# Version number of this module.
ModuleVersion = '4.0'
ModuleVersion = '4.0.0'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -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 = @()
Expand Down

0 comments on commit 7616ab5

Please sign in to comment.