From e8a5c1176e88558e3aceab04c988a1c7090514b6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Aug 2011 13:48:59 +0200 Subject: Update NEWS file with new features --- NEWS | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 4323964..128e8b7 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,25 @@ Version 1.6.0 - * Support for mapping std::vector to the BLOB (or equivalent) - types. For more information, refer to chapters 11 (for MySQL), 12 - (for SQLite) and 13 (for PostgreSQL) in the ODB manual. + * Support for value wrappers. An ODB value wrapper is a class template + that wraps a value type. Common examples of wrappers are smart pointers, + holders, and "optional value" containers such as boost::optional. A + wrapper can be transparent or it can handle the NULL semantics. To + allow the easy conversion of value types that do not support the NULL + semantics into the ones that do, the odb::nullable class template has + been added. ODB also now includes built-in support for std::auto_ptr + and std::tr1::shared_ptr smart pointers as value wrappers as well as + for boost::shared_ptr and QSharedPointer via the Boost and Qt profiles. + For more information, refer to Section 7.3, "NULL Value Semantics" in + the ODB manual. + + * Support for the boost::optional container in the Boost profile. A data + member of the boost::optional type is mapped to a column that can have + a NULL value. For more information, refer to Section 15.3 "Optional + Library" in the ODB manual. + + * Support for mapping std::vector to the BLOB (or equivalent) types. + For more information, refer to chapters 11 (for MySQL), 12 (for SQLite) + and 13 (for PostgreSQL) in the ODB manual. Version 1.5.0 -- cgit v1.1