BDE 3.88.0: Production Release

Schedule

  • The BDE team announces that the BDE 3.88.0 production release was completed on Monday, Aug 23, 2021.

BDE 3.88.0 Highlights

Updates to Log Attribute Formatting

ball:RecordStringFormatter changes the behavior of the “%a” format specifier (added in BDE 3.71.0) , and introduces a “%av” format specifier (“av” for “Attribute Value”). Both affected attributes control the rendering of ball::ScopedAttribute(s).

The table below summarizes the changes:

For a log record having 2 scoped attributes:

  • name = “Smith”

  • number = 1

Format specifier

Old behavior

New behavior

%a

name=”Smith” number=1

name=”Smith” number=1

%a[name]

“Smith”

name=”Smith”

%a[bad]

bad=N/A

(empty)

%av[name]

unsupported

“Smith”

%av[bad]

unsupported

(empty)

%a[name] %a

“Smith” number=1

name=”Smith” number=1

%a[bad] %a

bad=N/A name=”Smith” number=1

name=”Smith” number=1

Note: the new format specifier %av[name] prints only the value of the scoped attribute if the attribute is present in the log record and prints nothing otherwise.

balcl_commandline Updates

This release features several small updates, mostly documentation, to balcl_commandline. No existing behavior has been changed.

  • The documented behavior of linked variables has been clarified.

  • Preconditions on the use of several accessors are now stated more explicitly.

To facilitate the testing of preconditions, new accessors have been added to balcl::CommandLine:

bool             hasOption(const bsl::string& name) const;
bool             hasValue (const bsl::string& name) const;
OptionType::Enum type     (const bsl::string& name) const;

and to balcl::CommandLineOptionsHandle:

int                index(const char *name) const;
OptionType::Enum   type (const char *name) const;
const OptionValue& value(const char *name) const;

template <class TYPE>
const TYPE& the(bsl::size_t index) const;

Fixed requests: 3.88.0

Summary

‘bdlat’: TBD message in component docs

evaluate reimplementing bdlmt_fixedthreadpool to with bdlcc_boundedqueue

‘balcl_commandline’: Component-level doc issues

Modify the output of the %a[name] log attribute format spec

bdlc_flathashtable.h generates -Wclass-memaccess warning/error

correct bdlmt_fixedthreadpool nightly build issues 8/10/21

Release BDE 3.88.0