Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions NuGet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
- `<documentoptions template="..." borderwidth="..." borderheight="..." />` as a child of `<directedgraph>` sets `DirectedGraphDocument.Template` and `BorderSize`. If only one border attribute is given, the other keeps its default.
Expand Down
2 changes: 1 addition & 1 deletion NuGet/VisioAutomation2010.nuspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<package>
<metadata>
<id>VisioAutomation2010</id>
<version>3.1.0</version>
<version>3.2.0</version>
<authors>VisioAutomation contributors</authors>
<license type="expression">MIT</license>
<projectUrl>https://github.com/saveenr/VisioAutomation</projectUrl>
Expand Down
4 changes: 2 additions & 2 deletions VisioAutomation_2010/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@

<!-- Release stamps are checked against the nuspec and module manifest in CI.
Keep assembly identity stable independently of the release version. -->
<VersionPrefix>3.1.0</VersionPrefix>
<VersionPrefix Condition="'$(MSBuildProjectName)' == 'VisioPowerShell'">4.7.3</VersionPrefix>
<VersionPrefix>3.2.0</VersionPrefix>
<VersionPrefix Condition="'$(MSBuildProjectName)' == 'VisioPowerShell'">4.8.0</VersionPrefix>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>$(VersionPrefix).0</FileVersion>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
Expand Down
7 changes: 7 additions & 0 deletions VisioAutomation_2010/VisioPowerShell/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <int[]>` 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
Expand Down
2 changes: 1 addition & 1 deletion VisioAutomation_2010/VisioPowerShell/Visio.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading