<div dir="ltr"><p>Hello,</p> <p><a href="http://www.qxorm.com/" target="_blank"><strong>QxOrm 1.4.1 just released !</strong></a></p> <p><br></p><p>Changes in version QxOrm 1.4.1 :<br> <strong>!!! IMPORTANT NOTE ABOUT THIS VERSION !!!</strong> : it is strongly recommended to read the <a href="http://www.qxorm.com/qxorm_en/manual.html#manual_220" rel="nofollow" target="_blank">QxOrm.pri configuration file</a> of this new version (compilation options have changed compared to previous versions).<br> Now, by default, QxOrm library is a much lighter library : QxOrm depends only on <i>QtCore</i> and <i>QtSql</i> (boost serialization is now optional and not required by default).<br> By default, serialization engine is now based on Qt <i>QDataStream</i> class (but you can still enable boost serialization defining <i> _QX_ENABLE_BOOST_SERIALIZATION</i> compilation option in QxOrm.pri configuration file).<br> So now, with default options :</p> - QxOrm 1.4.1 is much easier to install because you don't have to deal with boost serialization extra dependency ;<br> - QxOrm 1.4.1 shared library is 3X smaller than 1.3.2 version ;<br> - Generated binaries which depends on QxOrm library are 25% smaller ;<br> - If you are not using serialization functions in current projects based on QxOrm library, then you can define or not <i>_QX_ENABLE_BOOST_SERIALIZATION</i> compilation option without changing any line of your source code.<p><br></p> <p>Here are all other changes of version QxOrm 1.4.1 :</p> - Improve relationships engine : <a href="http://www.qxorm.com/qxorm_en/manual.html#manual_3850" target="_blank">possibility to select columns to fetch using syntax : my_relation { col_1, col_2, etc... }</a> ;<br> - Improve <a href="http://www.qxorm.com/doxygen/html/group___qx_traits.html" rel="nofollow" target="_blank">QxTraits module</a> to reduce compilation times and build smaller binaries ;<br> - Improve QxOrm website adding possibility to search and replacing <a href="http://www.qxorm.com/qxorm_en/faq.html" target="_blank">the old FAQ</a> by <a href="http://www.qxorm.com/qxorm_en/manual.html" target="_blank">a more organized manual (user guide)</a> ;<br> - New compilation option <i>_QX_ENABLE_BOOST_SERIALIZATION</i> to enable boost serialization dependency (read QxOrm.pri configuration file for more details) ;<br> - New compilation option <i>_QX_ENABLE_QT_NETWORK</i> to enable <a href="http://www.qxorm.com/qxorm_en/manual.html#manual_80" rel="nofollow" target="_blank">QxService module</a> (transfer persistent layer over network) : read QxOrm.pri configuration file for more details ;<br> - New compilation option <i>_QX_NO_RTTI</i> to build QxOrm library without C++ RTTI type information ;<br> - Support <a href="http://www.qxorm.com/qxorm_en/manual.html#manual_600" rel="nofollow" target="_blank">QDataStream Qt serialization engine</a> (used by default when <i>_QX_ENABLE_BOOST_SERIALIZATION</i> compilation option is not defined) ;<br> - Improve <a href="http://www.qxorm.com/qxorm_en/manual.html#manual_3600" target="_blank">qx_query class</a> (SQL queries) : new method (named <i>customOperator()</i>) which gives the possibility to define a custom operator (for example <@ for PostgreSQL ltree type) ;<br> - Fix a program startup issue due to 'static initialization order fiasco' creating singletons (it was an issue with some compilers during the shared library link process) ;<br> - New namespace qx::dao::throwable : same functions as <a href="http://www.qxorm.com/doxygen/html/namespaceqx_1_1dao.html" rel="nofollow" target="_blank">qx::dao namespace</a>, but they throw a <i>qx::dao::sql_error</i> exception when a SQL error occurred (instead of returning a <i>QSqlError</i> instance) ;<br> - Add a <i>qAssertMsg()</i> macro to put a more explicit error message when throwing an assertion ;<br> - Include all <i>*.inl</i> files (template implementation) in QxOrm.pro project file : QtCreator can now index these <i>*.inl</i> files in its project treeview ;<br> - Rename <i>QxStringCvt</i> to <i>QxConvert</i> : so if you persist custom types to database, you have to rename from <i>QxStringCvt_FromVariant, QxStringCvt_ToVariant</i> to <i>QxConvert_FromVariant, QxConvert_ToVariant</i>.<p><br></p> <p><a href="http://www.qxorm.com/" rel="nofollow" target="_blank">You can download latest version of <b>QxOrm library</b> and <b>QxEntityEditor application</b> on QxOrm website.</a></p><p><br></p><p>Regards,</p><p><br></p>Lionel Marty - QxOrm library</div>