Releases: Snow-Shell/servicenow-powershell
Releases · Snow-Shell/servicenow-powershell
v2.3 - Paging support
- Add paging support to all
Get-functions. Use-First,-Skip, and-IncludeTotalCountparameters. In support of this, api calls have been changed from Invoke-RestMethod to Invoke-WebRequest. - Additional pipline support added for Table and SysId parameters to pipe
Get-functions toUpdate-andRemove-. - Breaking change: deprecate
-Limitparameter. The warning regarding deprecation went out over 2 years ago and now that paging has been implemented, it's a good time for this cleanup. Use-Firstinstead. - 'TableEntry' renamed to 'Record' for
New-,Update-, andRemove-functions. Aliases added.
v2.2 - Advanced filtering and sorting
- Add advanced filtering and sorting. Initially implemented with
New-ServiceNowQueryandGet-ServiceNowRecord. Filter with many different comparison operators as well as 'and', 'or', and 'group'ing. Sort ascending or descending against multiple fields. Comparison operators are the same as PowerShell for ease of use. Please use the GitHub Discussions section to provide feedback, thoughts, etc. - Add
Get-ServiceNowRecord. This function implements the new advanced filtering and sorting. As long as you know your table name, this can replace all other Get functions. - Enumerate implemented tables and advanced filtering operators in a json config to easily manage going forward; make available via script scoped variables.
Be able to reference types from this config per table, removing the need to have separate Get functions for every table. - Add type for catalog task
- Fix error when getting an empty result from the api and performing a type lookup
- Rename
RequestItemtoRequestedItemwhich is the actual name. Function aliases created.
v2.1 - Add Proxy support
- Add proxy support
v2.0 - OAuth and different api versions support
- Although still in the module for backward compatibility,
Set-ServiceNowAuthis being replaced withNew-ServiceNowSession. With this comes OAuth support, removal of global variables, and much more folks have asked for. The ability to provide credentials directly to functions has been retained for this release, but will be deprecated in a future release in favor of usingNew-ServiceNowSession. - Support for different api versions.
Set-ServiceNowAuthwill continue to use v1 of the api, butNew-ServiceNowSessiondefaults to the latest. Check out the-ApiVersionparameter ofNew-ServiceNowSession. Remove-ServiceNowAuthhas been retained for this release, but as global variables have been removed, there is no longer a need for it; it will always return$true. It will be removed in a future release.-PassThruadded to remainingUpdate-andNew-functions. Depending on your code, this may be a breaking change if you expected the result to be returned.- Pipeline support added to many functions
- Standardizing on coding between all functions
v1.8.1 - Updates to support new organization
Now that this project has been moved to an organization, all the links and other references needed to be updated. No functionality changes in this release.