Skip to content

Releases: dotnet/Open-XML-SDK

v2.13.0 - 2021-05-13

13 May 22:45
e1a042e
Compare
Choose a tag to compare

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 and OpenXmlReader.Create(...) to ignore whitespace (#857)
  • Added HexBinaryValue.TryGetBytes(...) and HexBinaryValue.Create(byte[]) to manage the encoding and decoding of bytes (#867)
  • Implemented IEquatable<IdPartPair> on IdPartPair 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:

@lklein53
@igitur

Version 2.13.0-beta2

20 Apr 22:24
66ccdac
Compare
Choose a tag to compare
Version 2.13.0-beta2 Pre-release
Pre-release

Version 2.13.0-beta2 - 2021-04-20

Added

  • Additional O19 types to match Open Specifications (#916)

2.13.0-beta1

09 Mar 23:22
b955568
Compare
Choose a tag to compare
2.13.0-beta1 Pre-release
Pre-release

Added

  • Added nullability attributes (#840, #849)
  • Added overload for OpenXmlPartReader and OpenXmlReader.Create(...) to ignore whitespace (#857)
  • Added HexBinaryValue.TryGetBytes(...) and HexBinaryValue.Create(byte[]) to manage the encoding and decoding of bytes (#867)
  • Implemented IEquatable<IdPartPair> on IdPartPair 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:

@lklein53
@igitur

v2.12.2

22 Feb 21:19
Compare
Choose a tag to compare

Fixed

  • Fixed issue where OpenSettings.RelationshipErrorHandlerFactory creates invalid XML if the resulting URI is smaller than the input (#883)

Thanks to the following for their contributions for this release:

@Muppets

v2.12.1

11 Jan 22:13
e760436
Compare
Choose a tag to compare

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:

@akindle
@aidilumarov

v2.12.0

09 Dec 17:21
d2da627
Compare
Choose a tag to compare

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 and SmartTagId in place of SmtClean and SmtId (#747)
  • Added OpenXmlValidator.Validate(..., CancellationToken) overrides to allow easier cancellation of long running validation on .NET 4.0+ (#773)
  • Added overloads for CellValue to take decimal, double, and int, as well as convenience methods to parse them (#782)
  • Added validation for CellType for numbers and date formats (#782)
  • Added OpenXmlReader.GetLineInfo() to retrieve IXmlLineInfo 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:

@lindexi
@rmboggs

v2.11.3

11 Aug 18:15
3fcdea3
Compare
Choose a tag to compare

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

10 Jul 23:05
58a7fa8
Compare
Choose a tag to compare

Fixed

  • Fixed broken source link (#749)
  • Ensured compilation is deterministic (#749)
  • Removed extra file in NuGet package (#749)

v2.11.1

10 Jul 18:17
d4a5308
Compare
Choose a tag to compare

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

21 May 21:28
06f2985
Compare
Choose a tag to compare

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 constructing OpenXmlElement 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, and AllowTextAfterFloatingTableBreak (#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: