BDE 3.70.0: Production Release

Schedule

  • The BDE team is pleased to announce that the BDE 3.70.0 production release was completed on Monday, Dec 28, 2020.

BDE 3.70.0 Highlights

balxml Encoder Changes

As previously announced in BLST /ID 6908759233988132977, this release of BDE changes the way that the balxml::Encoder treats its “MaxDecimalTotalDigits” and “MaxDecimalFractionDigits” options.

The encoder will now correctly apply these options to the formatting of xs:decimal values in XML attributes (this option was already correctly applied to in other contexts). This should only impact clients using xs:attributes (instead of the more typical xs:elements), xs:decimal (instead of the more typical xs:double or xs:precisionDecimal), and setting the floating point formatting options to non-default values. Note that the formatting of xs:precisionDecimal values, represented by bdldfp::Decimal64, are controlled by separate formatting options. For details and examples for these changes, please see TEAM 2448853926.

bdlbb::Blob Now Consistently Permits 0-sized Blob Buffers

This release fixes an inconsistency in the treatment of 0-sized blob buffers in bdlbb::Blob. Previously it was undefined behavior to add 0-sized buffers in some contexts, but it was permitted in others. Starting with this release, 0-sized blob buffers are consistently permitted to be added to a bdlbb::Blob. Users iterating over the data buffers in a blob should be aware that there may be 0 length buffers that do not add to the blob’s length or capacity (as was possible before, but now potentially more likely).

Fixed requests: 3.70.0

Summary

xml encoder does not respect the total and fractional digit options for decimal-formatted nullable fields

Zero-sized blob buffers in ‘bdlbb::Blob’

Release BDE 3.70.0