From 8a0d2fc769b55515fe6f304d53a2d8c5ecd70ab6 Mon Sep 17 00:00:00 2001 From: TheSevenPens <98374109+TheSevenPens@users.noreply.github.com> Date: Thu, 1 Oct 2026 10:00:46 -0700 Subject: [PATCH] Release prep: VisioAutomation NuGet 3.2.0 and Visio PS module 4.8.0 Bumps the nuspec version, both VersionPrefix values in Directory.Build.props and the module manifest version, and promotes the [Unreleased] sections of both changelogs to 3.2.0 and 4.8.0 (dated 2026-10-01). Co-Authored-By: Claude Sonnet 5.5 --- NuGet/CHANGELOG.md | 6 ++++++ NuGet/VisioAutomation2010.nuspec | 2 +- VisioAutomation_2010/Directory.Build.props | 4 ++-- VisioAutomation_2010/VisioPowerShell/CHANGELOG.md | 7 +++++++ VisioAutomation_2010/VisioPowerShell/Visio.psd1 | 2 +- 5 files changed, 17 insertions(+), 4 deletions(-) diff --git a/NuGet/CHANGELOG.md b/NuGet/CHANGELOG.md index 40a873513..2578295d0 100644 --- a/NuGet/CHANGELOG.md +++ b/NuGet/CHANGELOG.md @@ -12,6 +12,12 @@ The format follows [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/ ## [Unreleased] +_No consumer-visible changes yet._ + +## [3.2.0] - 2026-10-01 + +A minor release. It exposes more of the directed graph model through the XML format and fixes ten bugs in `VisioScripting` and `VisioAutomation.Models`. Two behaviors change: `Client.Document.NewDocumentFromTemplate` now creates the drawing from the template (it used to create a blank drawing and open the template as a separate stencil), and `Client.Model.DrawOrgChart` no longer resizes the page you pass it. The other fixes make documented behavior work. There are no removed or renamed public members. + ### Added - More of the directed graph model can now be set from the directed graph XML format. Every addition is optional, so existing XML loads as before. Part of [#225](https://github.com/saveenr/VisioAutomation/issues/225): - `` as a child of `` sets `DirectedGraphDocument.Template` and `BorderSize`. If only one border attribute is given, the other keeps its default. diff --git a/NuGet/VisioAutomation2010.nuspec b/NuGet/VisioAutomation2010.nuspec index 120a3a087..17b5c4dd5 100644 --- a/NuGet/VisioAutomation2010.nuspec +++ b/NuGet/VisioAutomation2010.nuspec @@ -1,7 +1,7 @@ VisioAutomation2010 - 3.1.0 + 3.2.0 VisioAutomation contributors MIT https://github.com/saveenr/VisioAutomation diff --git a/VisioAutomation_2010/Directory.Build.props b/VisioAutomation_2010/Directory.Build.props index 55d9f83a9..9f2e414a2 100644 --- a/VisioAutomation_2010/Directory.Build.props +++ b/VisioAutomation_2010/Directory.Build.props @@ -38,8 +38,8 @@ - 3.1.0 - 4.7.3 + 3.2.0 + 4.8.0 1.0.0.0 $(VersionPrefix).0 true diff --git a/VisioAutomation_2010/VisioPowerShell/CHANGELOG.md b/VisioAutomation_2010/VisioPowerShell/CHANGELOG.md index 856371a5d..e3f7ab7f4 100644 --- a/VisioAutomation_2010/VisioPowerShell/CHANGELOG.md +++ b/VisioAutomation_2010/VisioPowerShell/CHANGELOG.md @@ -12,10 +12,17 @@ The format follows [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/ ## [Unreleased] +_No consumer-visible changes yet._ + +## [4.8.0] - 2026-10-01 + +A minor release. It adds `Get-VisioPage -Index`, changes two behaviors (`Get-VisioPage -ID` is now a real page ID, and `New-VisioDocument -Template` creates the document from the template), fixes two cmdlets that failed or ignored parameters (`Format-VisioPage -Width` / `-Height`, and the boolean and sort-key parameters of `New-VisioHyperlink`), and bundles the updated VisioAutomation 3.2.0 library. + ### Added - `Get-VisioPage -Index ` returns the pages at those **1-based positions** in the document (the first page is 1, matching Visio's own page numbering and `Page.Index`). It has its own parameter set, `pagebyindex`, so it cannot be combined with `-ID`, `-Name` or `-ActivePage`. ### Changed +- The bundled VisioAutomation library is updated to 3.2.0 (see the [NuGet changelog](../../NuGet/CHANGELOG.md)). For scripts that build models with `New-Object` or pipe them to `Out-VisioApplication`: the directed graph XML format accepts more options (document options, shape sizes, hyperlinks, cells, typed custom properties, per-connector options); `-DataTableModel` honors cell sizes and draws on the active page; `-XmlModel` roots the tree at the document element and one Undo removes the drawing; and `-OrgChart` no longer resizes the active page. - **Behavior change:** `Get-VisioPage -ID` now looks pages up by their real Visio page ID (`Page.ID`), as its documentation always said and as `Get-VisioShape -ID` does for shapes. Previously the numbers were silently treated as positions in the document, so a real ID gave the wrong page or threw (`-ID 0` threw although the first page of a new document has ID 0). **Scripts that used `-ID` as a position should switch to `-Index`**, which takes the same 1-based numbers the old behavior accepted. The `PageID` column of `Get-VisioPageCells` is now directly usable with `Get-VisioPage -ID`. Closes [#232](https://github.com/saveenr/VisioAutomation/issues/232). ### Fixed diff --git a/VisioAutomation_2010/VisioPowerShell/Visio.psd1 b/VisioAutomation_2010/VisioPowerShell/Visio.psd1 index 011e22ebf..219452e93 100644 --- a/VisioAutomation_2010/VisioPowerShell/Visio.psd1 +++ b/VisioAutomation_2010/VisioPowerShell/Visio.psd1 @@ -7,7 +7,7 @@ RootModule = 'VisioPS.dll' # Version number of this module. -ModuleVersion = '4.7.3' +ModuleVersion = '4.8.0' # ID used to uniquely identify this module GUID = 'd2d6f65b-2eee-4397-98ee-94ff7930051c'