Update dependency DocumentFormat.OpenXml to v3#9
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
6554a24 to
e5b59d5
Compare
e5b59d5 to
6f58d91
Compare
6f58d91 to
d7eeebc
Compare
d7eeebc to
3528907
Compare
3528907 to
e6017c2
Compare
e6017c2 to
beb7411
Compare
db44071 to
beb7411
Compare
bae1aeb to
beb7411
Compare
8c2f2dd to
beb7411
Compare
beb7411 to
e8dbad9
Compare
e8dbad9 to
49fda28
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.19.0→3.5.1Release Notes
dotnet/Open-XML-SDK (DocumentFormat.OpenXml)
v3.5.1: [3.5.1]Added
DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.OffsetclassVersionattribute toDocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.ChartSpaceFeatureListattribute toDocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.ChartSpaceFalbackImgattribute toDocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.ChartSpaceDocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.ExtensionDropModeenumv3.4.1Added
MediaDataPartType.Mp4to support MP4 video media parts in presentations and documents (#1866)Changed
FromChunkedBase64Stringto significantly reduce allocations and improve throughput when decoding chunked base64 content (≈2.4× faster, ≈70% less memory) (#1868)Fixed
XmlDOMTextWriterinstead ofXmlWriter.Createto correctly handle serialization of certain XML content (#1869, #1961)Documentation
AutoSaveset tofalsedoes not persist changes (#1873)Thanks to the following for their contributions:
@QuocDatHoang
@Varorbc
v3.3.0Added
DocumentFormat.OpenXml.Office.SpreadSheetML.Y2024.WorkbookCompatibilityVersionnamespaceFixed
.ToFlatOpc(...)has been greatly improved for large parts (#1863)Thanks to the following for their contributions:
@QuocDatHoang
v3.2.0Added
DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotRichDatanamespaceDocumentFormat.OpenXml.Office.SpreadSheetML.Y2024.PivotDynamicArraysnamespaceChanged
Fixed
WordprocessingDocument.Open(#1681).Save()(#1771)AddWorkbookPartthrows exception if no main part is available (#1745)Thanks to the following for their contributions:
@WeihanLi
v3.1.1Fixed
v3.1.0Added
DocumentFormat.OpenXml.Office.SpreadSheetML.Y2024.PivotAutoRefreshnamespaceDocumentFormat.OpenXml.Office.SpreadSheetML.Y2024.PivotDynamicArraysnamespaceDocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioningnamespaceDocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.ExternalCodeServicenamespaceDocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsFormsnamespaceDocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.Pivot2023CalculationnamespaceFixed
OpenXmlUnknownElementis returned instead ofCommentPropertiesExtension(#1751)OpenXmlWriteris unable to writeSharedStringTablePart(#1755)v3.0.2Fixed
v3.0.1Fixed
OpenXmlPackageExceptionwith an innerUriFormatException) (#1644)v3.0.0Added
mailto:person@)OpenXmlElement(#1476)IFeatureCollectioncan now be enumerated and has a helpful debug view to see what features are registered (#1452)DocumentFormat.OpenXml.Office.PowerPoint.Y2023.M02.MainnamespaceDocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.MainnamespaceDocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021namespaceChanged
IDisposableFeatureis now a part of the framework package and is available by default on a package or part.Breaking Changes
OpenXmlPackage.PackagetoDocumentFormat.OpenXml.Packaging.IPackageinstead ofSystem.IO.Packaging.Packagewith a similar API surfaceEnumValue<T>now is used to box a struct rather than aSystem.Enum. This allows us to enable behavior on it without resorting to reflectionAddImagePart) are now implemented as extension methods off of a new marker interfaceISupportedRelationship<T>ImagePartType) is no longer an enum, but a static class to expose well-known part types as structs. Now any method to define a new content-type/extension pair can be called with the newPartTypeInfostruct that will contain the necessary information.OpenXmlPackage.CanSaveis now an instance property (#1307)OpenXmlSettings.RelationshipErrorHandlerFactoryand associated types and replaced with a built-in mechanism to enable thisIdPartPairis now a readonly struct rather than a classPartExtensionProvidertoIPartExtensionFeatureand reduced its surface area to only two methods (instead of a fullDictionary<,>). The property to access this off ofOpenXmlPackagehas been removed, but may be accessed viaFeatures.Get<IPartExtensionFeature>()if needed.OpenXmlPart/OpenXmlContainer/OpenXmlPackageand derived types now have internal constructors (these had internal abstract methods so most likely weren't subclassed externally)OpenXmlElementListis now a struct that implementsIEnumerable<OpenXmlElement>andIReadOnlyList<OpenXmlElement>where available (#1429)OpenXmlPartReaderare available now for each package type (i.e.WordprocessingDocumentPartReader,SpreadsheetDocumentPartReader,PresentationDocumentPartReader), and the previousTypedOpenXmlPartReaderhas been removed. (#1403)Model3Dnow represents the modified xml element tag nameam3d.model3d(Previouslyam3d.model3D)DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotRichData.PivotCacheHasRichValuePivotCacheRichInfoDocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotRichData.RichDataPivotCacheGuidSchemaAttrAttribute(#1316)ChildElementInfoAttribute(#1316)OpenXmlSimpleType.TextValue. This property was never meant to be used externally (#1316)readonly(#1282)OpenXmlPackage.Closein favor ofDispose(#1373)OpenXmlPackage.SaveAsin favor ofClone(#1376)v2.20.0Added
Changed
OpenXmlSimpleType.TextValueas obsolete. This property was never meant to be used externally (#1284)OpenXmlPackage.Packageas obsolete. This will be an implementation detail in future versions and won't be accessible (#1306)OpenXmlPackage.Closeas obsolete. This will be removed in a later release, use Dispose instead (#1371)OpenXmlPackage.SaveAsas obsolete as it will be removed in a future version (#1378)Fixed
Configuration
📅 Schedule: (UTC)
🚦 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.