Releases: dotnet/Open-XML-SDK
Releases · dotnet/Open-XML-SDK
[2.20.0]
Added
- Added DocumentFormat.OpenXml.Office.Drawing.Y2022.ImageFormula namespace
- Added DocumentFormat.OpenXml.Office.Word.Y2023.WordML.Word16DU namespace
Changed
- Marked
OpenXmlSimpleType.TextValue
as obsolete. This property was never meant to be used externally (#1284) - Marked
OpenXmlPackage.Package
as obsolete. This will be an implementation detail in future versions and won't be accessible (#1306) - Marked
OpenXmlPackage.Close
as obsolete. This will be removed in a later release, use Dispose instead (#1371) - Marked
OpenXmlPackage.SaveAs
as obsolete as it will be removed in a future version (#1378)
Fixed
- Fixed incorrect file extensions for vbaProject files (#1292)
- Fixed incorrect file extensions for ImagePart (#1305)
- Fixed incorrect casing for customXml (#1351)
- Fixed AddEmbeddedPackagePart to allow correct extensions for various content types (#1388)
Thanks to the following for their contributions:
[2.19.0]
Added
- .NET 6 target with support for trimming (#1243, #1240)
- Added DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotRichData namespace
- Added DocumentFormat.OpenXml.Office.PowerPoint.Y2019.Main.Command namespace
- Added DocumentFormat.OpenXml.Office.PowerPoint.Y2022.Main.Command namespace
- Added Child RichDataPivotCacheGuid to DocumentFormat.OpenXml.Office2010.Excel.PivotCacheDefinition
Fixed
- Removed reflection usage where possible (#1240)
- Fixed issue where some URIs might be changed when cloning or creating copy (#1234)
- Fixed issue in FlatOpc generation that would not read the full stream on .NET 6+ (#1232)
- Fixed issue where restored relationships wouldn't load correctly (#1207)
- Upgraded Newtonsoft to version 13.0.2 for security issue (#1258)
[2.18.0] - 2022-09-06
Added
- Added DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021 namespace (#1196)
- Added durableId attribute to DocumentFormat.OpenXml.Wordprocessing.NumberingPictureBullet (#1196)
- Added few base classes for typed elements, parts, and packages (#1185)
Changed
- Adjusted LICENSE.md to conform to .NET Foundation requirements (#1194)
- Miscellaneous changes for better perf for internal services
[2.17.1] - 2022-06-28
Removed
- Removed the preview namespace DocumentFormat.OpenXml.Office.Comments.Y2020.Reactions because this namespace will currently create invalid documents.
Fixed
- Restored the PowerPointCommentPart relationship to PresentationPart.
Deprecated
- The relationship between the PowerPointCommentPart and the PresentationPart is deprecated and will be removed in a future version.
v2.17.0 - *Unreleased*
[2.17.0] - 2022-06-15 - Unreleased
Added
- Added DocumentFormat.OpenXml.Office.Comments.Y2020.Reactions namespace (#1151)
- Added DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo namespace (#1151)
Fixed
- Moved PowerPointCommentPart relationship to SlidePart (#1137)
Updated
- Removed public API analyzers in favor of EnablePackageValidation (#1154)
v2.16.0
v2.15.0
[2.15.0] - 2021-12-16
Added
- Added samples for strongly typed classes and Linq-to-XML in the
./samples
directory (#1101, #1087) - Shipping additional libraries for some additional functionality in
DocumentFormat.OpenXml.Features
andDocumentFormat.OpenXml.Linq
. See documentation in repo for additional details. - Added extension method to support getting image part type (#1082)
- Added generated classes and
FileFormatVersions.Microsoft365
for new subscription model types and constraints (#1097).
Fixed
- Fixed issue for changed mime type
model/gltf.binary
(#1069) - DocumentFormat.OpenXml.Office.Drawing.ShapeTree is now available only in Office 2010 and above, not 2007.
- Correctly serialize
new CellValue(bool)
values (#1070) - Updated known namespaces to be generated via an in-repo source generator (#1092)
- Some documentation issues around
FileFormatVersions
enum
Thanks to the following for their contributions:
v2.14.0
[2.14.0] - 2021-10-28
Added
- Added generated classes for Office 2021 types and constraints (#1030)
- Added
Features
property toOpenXmlPartContainer
andOpenXmlElement
to enable a per-part or per-document state storage - Added public constructors for
XmlPath
(#1013) - Added parts for Rich Data types (#1002)
Thanks to the following for their contributions:
v2.14.0-beta1
[2.14.0-beta1] - 2021-09-20
Added
- Added
Features
property toOpenXmlPartContainer
andOpenXmlElement
to enable a per-part or per-document state storage - Added public constructors for
XmlPath
(#1013) - Added parts for Rich Data types (#1002)
- Added methods to generate unique paragraph ids (#1000)
- Added generated classes for Office 2021 types and constraints (#1030)
Thanks to the following for their contributions:
v2.13.1
Fixed
- Fixed some nullability annotations that were incorrectly defined (#953, #955)
- Fixed issue that would dispose a
TextReader
when creating anXmlReader
under certain circumstances (#940) - Fixed a documentation type (#937)
- Fixed an issue with adding additional children to data parts (#934)
- Replaced some documentation entries that were generic values with helpful comments (#992)
- Fixed a regression in AddDataPartRelationship (#954)
Thanks to the following for their contributions: