Releases: dotnet/Open-XML-SDK
v2.10.1
Fixed
- Ensured attributes are available when
OpenXmlElementis initialized with outer XML (#684, #692) - Some documentation errors (#681)
- Removed state that made it non-thread safe to validate elements under certain conditions (#686)
- Correctly inserts strongly-typed elements before known elements that are not strongly-typed (#690)
v2.10.0
Added
- Added initial Office 2016 support, including
FileFormatVersion.Office2016,ExtendedChartPartand other new schema elements (#586) - Added .NET Standard 2.0 target (#587)
- Included symbols support for debugging (#650)
- Exposed
IXmlNamespaceResolverfromXmlPathinstead of formatted list of strings to expose namespace/prefix mapping (#536) - Implemented
IComparable<T>andIEquatable<T>onOpenXmlComparableSimpleValueto allow comparisons without boxing (#550) - Added
OpenXmlPackage.RootPartto easily access the root part on any package (#661)
Changes
- Updated to v4.7.0 of System.IO.Packaging which brings in a number of perf fixes (#660)
- Consolidated data for element children/properties to reduce duplication (#540, #547, #548)
- Replaced opaque binary data for element children constraints with declarative model (#603)
- A number of performance fixes to minimize allocations where possible
- 20% size reduction from 5.5mb to 4.3mb
- The validation subsystem went through a drastic redesign. This may cause changes in what errors are reported.
Fixed
v2.10.0-beta1
New beta release to make the schema and validation changes made so far available on the official nuget package.
Release 2.9.1
Release 2.9.0
Added
ListValuenow implementsIEnumerable<T>(#385)- Added a
WebExtension.Frozenand obsoleted misspelledFronzenproperty (#460) - Added an
OpenXmlPackage.CanSaveproperty that indicates whether a platform supports saving without closing the package (#468) - Simple types (except
EnumValueandListValue) now implementIComparable<T>andIEquatable<T>(#487)
Changed
- Removed state that was carried in validators that would hold onto packages when not in use (#390)
EnumSimpleTypeparsing was improved and uses less allocations and caches for future use (#408)- Fixed a number of spelling mistakes in documentation (#462)
- When calling
OpenXmlPackage.Saveon .NET Framework, the package is now flushed to the stream (#468) - Fixed race condition while performing strict translation of attributes (#480)
- Schema data for validation uses a more compact format leading to a reduction in dll size and performance improvements for loading (#482, #483)
- A number of APIs are marked as obsolete as they have simple workarounds and will be removed in the next major change
- Fixed some constraint values for validation that contained Office 2007, even when it was only supported in later versions
- Updated
System.IO.Packagingto 4.5.0 which fixes some issues on Xamarin platforms as well as minimizes dependencies on .NET Framework
2.8.1 Release
Changed
- Corrected package license file reference to show updated MIT License
2.8.0 Release
Added
- Default runtime directive for better .NET Native support.
Changed
- Fixed part saving to be encoded with UTF8 but no byte order mark. This caused some renderers to not be able to open the generated document.
- Fixed exceptions thrown when errors are encountered while opening packages to be consistent across platforms.
- Fixed issue on Mono platforms using System.IO.Packaging NuGet package (Xamarin, etc) when creating a document.
- Fixed manual saving of a package when autosave is false.
- Fixed schema constraint data and standardized serialization across platforms.
- Upgraded to
System.IO.Packagingversion 4.4.0 which fixes some consistency with .NET Framework in opening packages.
2.7.2 Release
Added
- Package now supports .NET 3.5 and .NET 4.0 in addition to .NET Standard 1.3 and .NET Framework 4.6
Open XML SDK 2.5 Productivity Tool
The Open XML SDK 2.5 Productivity Tool was recently removed from the Microsoft Download Center because of concerns with SHA-1 signatures. There have been many requests for it in the meantime, so we’re now making it available again with a SHA-256 signature for the MSI container (while the files inside the MSI are still signed with SHA-1).
The Productivity Tool requires the SDK 2.5. We're also making it available here to address the needs of developers wanting to use the Productivity Tool to get a quick start on generating Open XML 2.5 source code. It is also using a SHA-256 signature for the MSI container (while the files inside the MSI are still signed with SHA-1).
The MSI files are provided AS IS, to address the needs of developers wanting to use the Productivity Tool to get a quick start on generating Open XML 2.5 source code.
The most recent Open XML SDK itself is now on Github where it’s at version 2.13.1.