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
OpenXmlPartReader
andOpenXmlReader.Create(...)
to ignore whitespace (#857) - Added
HexBinaryValue.TryGetBytes(...)
andHexBinaryValue.Create(byte[])
to manage the encoding and decoding of bytes (#867) - Implemented
IEquatable<IdPartPair>
onIdPartPair
to fix equality implementation there and obsoleted setters (#871)
Fixed
- Fixed serialization of
CellValue
constructors 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
OpenXmlPartReader
andOpenXmlReader.Create(...)
to ignore whitespace (#857) - Added
HexBinaryValue.TryGetBytes(...)
andHexBinaryValue.Create(byte[])
to manage the encoding and decoding of bytes (#867) - Implemented
IEquatable<IdPartPair>
onIdPartPair
to fix equality implementation there and obsoleted setters (#871) - Added generated classes for Office 2019 types and constraints (#882)
Fixed
- Fixed serialization of
CellValue
constructors 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
OpenXmlCompositeElement
instances could not be set to null to remove element (#850) - Fixed
OpenXmlElement.RawOuterXml
to 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.RelationshipErrorHandlerFactory
to 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
SmartTagClean
andSmartTagId
in place ofSmtClean
andSmtId
(#747) - Added
OpenXmlValidator.Validate(..., CancellationToken)
overrides to allow easier cancellation of long running validation on .NET 4.0+ (#773) - Added overloads for
CellValue
to takedecimal
,double
, andint
, as well as convenience methods to parse them (#782) - Added validation for
CellType
for numbers and date formats (#782) - Added
OpenXmlReader.GetLineInfo()
to retrieveIXmlLineInfo
of 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
SchemaAttrAttribute
attributes back for backwards compatibility (#825)
Removed
- Removed explicit reference to
System.IO.Packaging
on .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.DeletePart
no 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
AttributeRequiredConditionToValue
semantic constraint where validation could fail on correct input (#746)
Thanks
Thanks for contributions from the following people:
v2.11.0
Added
- Added
FileFormatVersions.2019
enum (#695) - Added
ChartSpace
and 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 constructingOpenXmlElement
instances in the context of pure functional transformations (#679) - Added minimum Office versions for enum types and values (#707)
- Added additional
CompatSettingNameValues
values: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.TryGetPartById
to enable child part retrieval without exception if it does not exist (#714) - Added
OpenXmlPackage.StrictRelationshipFound
property 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
OpenXmlAttribute
as obsolete as structs should not have mutable state (#698)
Thanks
Thanks for contributions from the following people: