Releases: dotnet/Open-XML-SDK
Releases · dotnet/Open-XML-SDK
v2.13.0 - 2021-05-13
Version 2.13.0 - 2021-05-13
Added
- Additional O19 types to match Open Specifications (#916)
- Added generated classes for Office 2019 types and constraints (#882)
- Added nullability attributes (#840, #849)
- Added overload for
OpenXmlPartReaderandOpenXmlReader.Create(...)to ignore whitespace (#857) - Added
HexBinaryValue.TryGetBytes(...)andHexBinaryValue.Create(byte[])to manage the encoding and decoding of bytes (#867) - Implemented
IEquatable<IdPartPair>onIdPartPairto fix equality implementation there and obsoleted setters (#871)
Fixed
- Fixed serialization of
CellValueconstructors to use invariant cultures (#903) - Fixed parsing to allow exponents for numeric cell values (#901)
Deprecated
- Deprecated Office2013.Word.Person.Contact property. It no longer persists and will be removed in a future version (#912)
Thanks to the following for their contributions:
Version 2.13.0-beta2
2.13.0-beta1
Added
- Added nullability attributes (#840, #849)
- Added overload for
OpenXmlPartReaderandOpenXmlReader.Create(...)to ignore whitespace (#857) - Added
HexBinaryValue.TryGetBytes(...)andHexBinaryValue.Create(byte[])to manage the encoding and decoding of bytes (#867) - Implemented
IEquatable<IdPartPair>onIdPartPairto fix equality implementation there and obsoleted setters (#871) - Added generated classes for Office 2019 types and constraints (#882)
Fixed
- Fixed serialization of
CellValueconstructors to use invariant cultures (#903) - Fixed parsing to allow exponents for numeric cell values (#901)
Thanks to the following for their contributions:
v2.12.2
v2.12.1
Fixed
- Fixed bug where properties on
OpenXmlCompositeElementinstances could not be set to null to remove element (#850) - Fixed
OpenXmlElement.RawOuterXmlto properly set null values without throwing (#818) - Allow rewriting of all malformed URIs regardless of target value (#835)
Thanks to the following for their contributions for this release:
v2.12.0
Added
- Added
OpenSettings.RelationshipErrorHandlerFactoryto provide a way to handle URIs that break parsing documents with malformed links (#793) - Added
OpenXmlCompositeElement.AddChild(OpenXmlElement)to add children in the correct order per schema (#774) - Added
SmartTagCleanandSmartTagIdin place ofSmtCleanandSmtId(#747) - Added
OpenXmlValidator.Validate(..., CancellationToken)overrides to allow easier cancellation of long running validation on .NET 4.0+ (#773) - Added overloads for
CellValueto takedecimal,double, andint, as well as convenience methods to parse them (#782) - Added validation for
CellTypefor numbers and date formats (#782) - Added
OpenXmlReader.GetLineInfo()to retrieveIXmlLineInfoof the underlying reader if available (#804)
Fixed
- Fixed exception that would be thrown if attempting to save a document as FlatOPC if it contains SVG files (#822)
- Added
SchemaAttrAttributeattributes back for backwards compatibility (#825)
Removed
- Removed explicit reference to
System.IO.Packagingon .NET 4.6 builds (#774)
Thanks to the following for their contributions for this release:
v2.11.3
Fixed
- Fixed massive performance bottleneck when IndexReferenceConstraint and ReferenceExistConstraint are involved (#763)
- Fixed CellValue to only include three most signficant digits on second fractions to correct issue loading dates (#741)
- Fixed a couple of validation indexing errors that might cause erroneous validation errors (#767)
- Updated internal validation system to not use recursion, allowing for better short-circuiting (#766)
Thanks
Thanks for contributions from the following people:
v2.11.2
v2.11.1
Fixed
- Ensure .NET Framework builds pass PEVerify (#744)
OpenXmlPartContainer.DeletePartno longer throws an exception if there isn't a match for the identifier given (#740)- Mark obsolete members to not show up with Intellisense (#745)
- Fixed issue with
AttributeRequiredConditionToValuesemantic constraint where validation could fail on correct input (#746)
Thanks
Thanks for contributions from the following people:
v2.11.0
Added
- Added
FileFormatVersions.2019enum (#695) - Added
ChartSpaceand chart elements for the new 2016 namespaces. This allows the connecting pieces for building a chart part with chart styles like "Sunburst" (#687). - Added
OpenXmlElementFunctionalExtensions.With(...)extension methods, which offer flexible means for constructingOpenXmlElementinstances in the context of pure functional transformations (#679) - Added minimum Office versions for enum types and values (#707)
- Added additional
CompatSettingNameValuesvalues:UseWord2013TrackBottomHyphenation,AllowHyphenationAtTrackBottom, andAllowTextAfterFloatingTableBreak(#706) - Added gfxdata attribue to Arc, Curve, Line, PolyLine, Group, Image, Oval, Rect, and RoundRect shape complex types per MS-OI29500 2.1.1783-1799 (#709)
- Added
OpenXmlPartContainer.TryGetPartByIdto enable child part retrieval without exception if it does not exist (#714) - Added
OpenXmlPackage.StrictRelationshipFoundproperty that indicates whether this package contains Transitional relationships converted from Strict (#716)
Fixed
- Custom derived parts did not inherit known parts from its parent, causing failure when adding parts (#722)
Changes
- Marked the property setters in
OpenXmlAttributeas obsolete as structs should not have mutable state (#698)
Thanks
Thanks for contributions from the following people: