All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
.
[Int] (#166, @lipkau)ConvertTo-ConfluenceTable (#163, @lipkau)-Vertical to ConvertTo-Table (#148, @brianbunke).psm1 file (#133, @lipkau)ConvertTo-Table for empty cells (#144, @FelixMelchert)ConfluencePS.Attachment (#123, @JohnAdders)Add-Attachment: upload a file to a page (#123, @JohnAdders)Get-Attachment: list all attachments of a page (#123, @JohnAdders)Get-AttachmentFile: download an attachment to the local disc (#123, @JohnAdders)Remove-Attachment: remove an attachment from a page (#123, @JohnAdders)Set-Attachment: update an attachment of a page (#123, @JohnAdders)-InFile to Invoke-Method for uploading of files with form-data (#130, @lipkau)pwsh) (#119, @lipkau)Invoke-Method public (#130, @lipkau)./Release Path (#99, @lipkau)-Query to Get-Page for complex searches (#106, @lipkau)pwsh) (#119, @lipkau)ToString() (#92, @lipkau)A new major version! ConfluencePS has been totally refactored to introduce new features and greatly improve efficiency.
“A new major version” means limited older functionality was intentionally broken. In addition, there are a ton of good changes, so some big picture notes first:
Get-ConfluencePage
Import-Module ConfluencePS -Prefix WikiGet-WikiLabelApplied [removed; functionality added to Get-ConfluencePage -Label foo]Get-WikiPageLabel > Get-ConfluenceLabelNew-WikiLabel > Add-ConfluenceLabelGet-* functions now support paging, and defining your preferred page size-Limit and -Expand parameters were removed from functions
-ApiUri and -Credential parameters added to every function
Set-ConfluenceInfo now defines ApiUri and Credential defaults for the current sessionGet-ConfluenceSpace -ApiUri 'https://wiki2.example.com' -Credential (Get-Credential)[ConfluencePS.Page]
-Expand parameterInvoke-Method is the most prominent exampleIf you like drinking from the fire hose, here’s everything we closed for 2.0, because we probably forgot to list something here. Otherwise, read on for summarized details.
Get-* functions now support paging-ApiUri and -Credential parameters added to functions
Set-ConfluenceInfo behavior is mostly unchanged (see below)[ConfluencePS.Page]
Format-List * to see all propertiesGet-ConfluenceSpace)
Import-Module ConfluencePS -Prefix WikiAdd-ConfluenceLabel
New-WikiLabelGet-ConfluenceChildPage
-Recurse to return all pages below the given page, not just immediate child objects
-ParentID > -PageIDGet-ConfluenceLabel
Get-WikiPageLabel[ConfluencePS.ContentLabelSet] objects
[ConfluencePS.Label] & [ConfluencePS.Page] objectsGet-ConfluencePage
Get-ConfluencePage (with no parameters) doesn’t work anymore
Get-ConfluenceSpace | Get-ConfluencePage still works, if you really need it[ConfluencePS.Page] objects-Label parameter filters returned pages by applied label(s)-Space parameter accepts Space objectsGet-ConfluenceSpace
[ConfluencePS.Space] objects-Key renamed to -SpaceKey (“Key” still works as an alias)-Name parameter removedNew-ConfluencePage
-Parent parameter accepts Page objects-Space parameter accepts Space objectsNew-ConfluenceSpace
-Key renamed to -SpaceKey (“Key” still works as an alias)Set-ConfluenceInfo
$PSDefaultParameterValues
-ApiUri & -Credential parameters now exist on every functionSet-ConfluenceInfo defines their defaults for the current session-Credential is absent
-PromptCredentials parameter displays a Get-Credential dialog while connecting-PageSize parameter optionally defines default page size for the sessionSet-ConfluencePage
[ConfluencePS.Page] objects-CurrentVersion parameter removed (determined and incremented automatically now)-Parent parameter accepts Page objects-Limit and -Expand parameters
Get-* function paging removes the need for fiddling with returned object limitsGet-WikiLabelApplied
Get-ConfluencePage -Label foo@lipkau refactored the entire module, and is the only reason 2.0 is a reality. In short, he is amazing. Thank you!
No changelog available for version 1.0 of ConfluencePS. 1.0 was created in late 2015. Version .69 was published to the PowerShell Gallery in Nov 2016, and it remained unchanged until 2.0. If you’re looking for things that changed prior to 2.0…sorry, but these probably aren’t the droids you’re looking for. :)