dotnet/Open-XML-SDK (DocumentFormat.OpenXml)
### [`v2.20.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2200)
##### 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](https://togithub.com/dotnet/Open-XML-SDK/issues/1284))
- Marked `OpenXmlPackage.Package` as obsolete. This will be an implementation detail in future versions and won't be accessible ([#1306](https://togithub.com/dotnet/Open-XML-SDK/issues/1306))
- Marked `OpenXmlPackage.Close` as obsolete. This will be removed in a later release, use Dispose instead ([#1371](https://togithub.com/dotnet/Open-XML-SDK/issues/1371))
- Marked `OpenXmlPackage.SaveAs` as obsolete as it will be removed in a future version ([#1378](https://togithub.com/dotnet/Open-XML-SDK/issues/1378))
##### Fixed
- Fixed incorrect file extensions for vbaProject files ([#1292](https://togithub.com/dotnet/Open-XML-SDK/issues/1292))
- Fixed incorrect file extensions for ImagePart ([#1305](https://togithub.com/dotnet/Open-XML-SDK/issues/1305))
- Fixed incorrect casing for customXml ([#1351](https://togithub.com/dotnet/Open-XML-SDK/issues/1351))
- Fixed AddEmbeddedPackagePart to allow correct extensions for various content types ([#1388](https://togithub.com/dotnet/Open-XML-SDK/issues/1388))
### [`v2.19.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2190---2022-12-14)
##### Added
- .NET 6 target with support for trimming ([#1243](https://togithub.com/dotnet/Open-XML-SDK/issues/1243), [#1240](https://togithub.com/dotnet/Open-XML-SDK/issues/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](https://togithub.com/dotnet/Open-XML-SDK/issues/1240))
- Fixed issue where some URIs might be changed when cloning or creating copy ([#1234](https://togithub.com/dotnet/Open-XML-SDK/issues/1234))
- Fixed issue in FlatOpc generation that would not read the full stream on .NET 6+ ([#1232](https://togithub.com/dotnet/Open-XML-SDK/issues/1232))
- Fixed issue where restored relationships wouldn't load correctly ([#1207](https://togithub.com/dotnet/Open-XML-SDK/issues/1207))
### [`v2.18.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2180-2022-09-06)
##### Added
- Added DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021 namespace ([#1196](https://togithub.com/dotnet/Open-XML-SDK/issues/1196))
- Added durableId attribute to DocumentFormat.OpenXml.Wordprocessing.NumberingPictureBullet ([#1196](https://togithub.com/dotnet/Open-XML-SDK/issues/1196))
- Added few base classes for typed elements, parts, and packages ([#1185](https://togithub.com/dotnet/Open-XML-SDK/issues/1185))
##### Changed
- Adjusted LICENSE.md to conform to .NET Foundation requirements ([#1194](https://togithub.com/dotnet/Open-XML-SDK/issues/1194))
- Miscellaneous changes for better perf for internal services
### [`v2.17.1`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2171---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.16.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2160---2022-03-14)
##### Added
- Added method `OpenXmlPart.UnloadRootElement` that will unload the root element if it is loaded ([#1126](https://togithub.com/dotnet/Open-XML-SDK/issues/1126))
##### Updated
- Schema code generation was moved to the SDK project using C# code generators
Thanks to the following for their contribution:
[@f1nzer](https://togithub.com/f1nzer)
### [`v2.15.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2150---2021-12-16)
##### Added
- Added samples for strongly typed classes and Linq-to-XML in the `./samples` directory ([#1101](https://togithub.com/dotnet/Open-XML-SDK/issues/1101), [#1087](https://togithub.com/dotnet/Open-XML-SDK/issues/1087))
- Shipping additional libraries for some additional functionality in `DocumentFormat.OpenXml.Features` and `DocumentFormat.OpenXml.Linq`. See documentation in repo for additional details.
- Added extension method to support getting image part type ([#1082](https://togithub.com/dotnet/Open-XML-SDK/issues/1082))
- Added generated classes and `FileFormatVersions.Microsoft365` for new subscription model types and constraints ([#1097](https://togithub.com/dotnet/Open-XML-SDK/issues/1097)).
##### Fixed
- Fixed issue for changed mime type `model/gltf.binary` ([#1069](https://togithub.com/dotnet/Open-XML-SDK/issues/1069))
- DocumentFormat.OpenXml.Office.Drawing.ShapeTree is now available only in Office 2010 and above, not 2007.
- Correctly serialize `new CellValue(bool)` values ([#1070](https://togithub.com/dotnet/Open-XML-SDK/issues/1070))
- Updated known namespaces to be generated via an in-repo source generator ([#1092](https://togithub.com/dotnet/Open-XML-SDK/issues/1092))
- Some documentation issues around `FileFormatVersions` enum
Thanks to the following for their contributions:
[@ThomasBarnekow](https://togithub.com/ThomasBarnekow)
[@stevenhansen](https://togithub.com/stevenhansen)
[@JaimeStill](https://togithub.com/JaimeStill)
[@jnyrup](https://togithub.com/jnyrup)
### [`v2.14.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2140---2021-10-28)
##### Added
- Added generated classes for Office 2021 types and constraints ([#1030](https://togithub.com/dotnet/Open-XML-SDK/issues/1030))
- Added `Features` property to `OpenXmlPartContainer` and `OpenXmlElement` to enable a per-part or per-document state storage
- Added public constructors for `XmlPath` ([#1013](https://togithub.com/dotnet/Open-XML-SDK/issues/1013))
- Added parts for Rich Data types ([#1002](https://togithub.com/dotnet/Open-XML-SDK/issues/1002))
- Added methods to generate unique paragraph ids ([#1000](https://togithub.com/dotnet/Open-XML-SDK/issues/1000))
Thanks to the following for their contributions:
[@rmboggs](https://togithub.com/rmboggs)
[@ThomasBarnekow](https://togithub.com/ThomasBarnekow)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
2.13.1
->2.20.0
2.12.1
->2.20.0
Release Notes
dotnet/Open-XML-SDK (DocumentFormat.OpenXml)
### [`v2.20.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2200) ##### 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](https://togithub.com/dotnet/Open-XML-SDK/issues/1284)) - Marked `OpenXmlPackage.Package` as obsolete. This will be an implementation detail in future versions and won't be accessible ([#1306](https://togithub.com/dotnet/Open-XML-SDK/issues/1306)) - Marked `OpenXmlPackage.Close` as obsolete. This will be removed in a later release, use Dispose instead ([#1371](https://togithub.com/dotnet/Open-XML-SDK/issues/1371)) - Marked `OpenXmlPackage.SaveAs` as obsolete as it will be removed in a future version ([#1378](https://togithub.com/dotnet/Open-XML-SDK/issues/1378)) ##### Fixed - Fixed incorrect file extensions for vbaProject files ([#1292](https://togithub.com/dotnet/Open-XML-SDK/issues/1292)) - Fixed incorrect file extensions for ImagePart ([#1305](https://togithub.com/dotnet/Open-XML-SDK/issues/1305)) - Fixed incorrect casing for customXml ([#1351](https://togithub.com/dotnet/Open-XML-SDK/issues/1351)) - Fixed AddEmbeddedPackagePart to allow correct extensions for various content types ([#1388](https://togithub.com/dotnet/Open-XML-SDK/issues/1388)) ### [`v2.19.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2190---2022-12-14) ##### Added - .NET 6 target with support for trimming ([#1243](https://togithub.com/dotnet/Open-XML-SDK/issues/1243), [#1240](https://togithub.com/dotnet/Open-XML-SDK/issues/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](https://togithub.com/dotnet/Open-XML-SDK/issues/1240)) - Fixed issue where some URIs might be changed when cloning or creating copy ([#1234](https://togithub.com/dotnet/Open-XML-SDK/issues/1234)) - Fixed issue in FlatOpc generation that would not read the full stream on .NET 6+ ([#1232](https://togithub.com/dotnet/Open-XML-SDK/issues/1232)) - Fixed issue where restored relationships wouldn't load correctly ([#1207](https://togithub.com/dotnet/Open-XML-SDK/issues/1207)) ### [`v2.18.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2180-2022-09-06) ##### Added - Added DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021 namespace ([#1196](https://togithub.com/dotnet/Open-XML-SDK/issues/1196)) - Added durableId attribute to DocumentFormat.OpenXml.Wordprocessing.NumberingPictureBullet ([#1196](https://togithub.com/dotnet/Open-XML-SDK/issues/1196)) - Added few base classes for typed elements, parts, and packages ([#1185](https://togithub.com/dotnet/Open-XML-SDK/issues/1185)) ##### Changed - Adjusted LICENSE.md to conform to .NET Foundation requirements ([#1194](https://togithub.com/dotnet/Open-XML-SDK/issues/1194)) - Miscellaneous changes for better perf for internal services ### [`v2.17.1`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2171---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.16.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2160---2022-03-14) ##### Added - Added method `OpenXmlPart.UnloadRootElement` that will unload the root element if it is loaded ([#1126](https://togithub.com/dotnet/Open-XML-SDK/issues/1126)) ##### Updated - Schema code generation was moved to the SDK project using C# code generators Thanks to the following for their contribution: [@f1nzer](https://togithub.com/f1nzer) ### [`v2.15.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2150---2021-12-16) ##### Added - Added samples for strongly typed classes and Linq-to-XML in the `./samples` directory ([#1101](https://togithub.com/dotnet/Open-XML-SDK/issues/1101), [#1087](https://togithub.com/dotnet/Open-XML-SDK/issues/1087)) - Shipping additional libraries for some additional functionality in `DocumentFormat.OpenXml.Features` and `DocumentFormat.OpenXml.Linq`. See documentation in repo for additional details. - Added extension method to support getting image part type ([#1082](https://togithub.com/dotnet/Open-XML-SDK/issues/1082)) - Added generated classes and `FileFormatVersions.Microsoft365` for new subscription model types and constraints ([#1097](https://togithub.com/dotnet/Open-XML-SDK/issues/1097)). ##### Fixed - Fixed issue for changed mime type `model/gltf.binary` ([#1069](https://togithub.com/dotnet/Open-XML-SDK/issues/1069)) - DocumentFormat.OpenXml.Office.Drawing.ShapeTree is now available only in Office 2010 and above, not 2007. - Correctly serialize `new CellValue(bool)` values ([#1070](https://togithub.com/dotnet/Open-XML-SDK/issues/1070)) - Updated known namespaces to be generated via an in-repo source generator ([#1092](https://togithub.com/dotnet/Open-XML-SDK/issues/1092)) - Some documentation issues around `FileFormatVersions` enum Thanks to the following for their contributions: [@ThomasBarnekow](https://togithub.com/ThomasBarnekow) [@stevenhansen](https://togithub.com/stevenhansen) [@JaimeStill](https://togithub.com/JaimeStill) [@jnyrup](https://togithub.com/jnyrup) ### [`v2.14.0`](https://togithub.com/dotnet/Open-XML-SDK/blob/HEAD/CHANGELOG.md#2140---2021-10-28) ##### Added - Added generated classes for Office 2021 types and constraints ([#1030](https://togithub.com/dotnet/Open-XML-SDK/issues/1030)) - Added `Features` property to `OpenXmlPartContainer` and `OpenXmlElement` to enable a per-part or per-document state storage - Added public constructors for `XmlPath` ([#1013](https://togithub.com/dotnet/Open-XML-SDK/issues/1013)) - Added parts for Rich Data types ([#1002](https://togithub.com/dotnet/Open-XML-SDK/issues/1002)) - Added methods to generate unique paragraph ids ([#1000](https://togithub.com/dotnet/Open-XML-SDK/issues/1000)) Thanks to the following for their contributions: [@rmboggs](https://togithub.com/rmboggs) [@ThomasBarnekow](https://togithub.com/ThomasBarnekow)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.