.. include:: /../getting_started/vars.rst .. _section-Install-Upgrade: Upgrade Overview **************** .. _section-Install-Upgrade-Path: Upgrade Path ============ This Migration Guide describes how to upgrade to *RTI® Connext® DDS* release 6.1.0 from release 5.3.1 or later. .. list-table:: :name: TableUpgradeOverview :widths: 50 :header-rows: 0 * - .. figure:: static/upgrade_over_lateral.png :figwidth: 70 % :alt: Upgrade Overview :name: FigureUpgradeOver :align: center Consider Migration Issues Step-Wise * - 1. For information on upgrading to 5.3.1 from any previous release, see the :link_release_notes_s:`5.3.1 Core Libraries Release Notes <5.3.1>`. 2. See :ref:`section-index600` in this Migration Guide. 3. See :ref:`section-index601` in this Migration Guide. 4. See :ref:`section-index610` in this Migration Guide. Whether you will keep some of your legacy |CONNEXT| systems or migrate entirely to a *Connext* 6 release, read this guide to see what settings or other changes you may need to make before you upgrade all or part of your system. The full set of changes for your release is described in the *What's New* and *Core Libraries Release Notes* documents for your release: * :link_connext_whats_new:`What's New in 6.1.0 <>` and :link_release_notes:`Core Libraries Release Notes 6.1.0 <>` * :link_connext_whats_new_601:`What's New in 6.0.1 <>` and :link_release_notes_601:`Core Libraries Release Notes 6.0.1 <>` * :link_connext_whats_new_600:`What's New in 6.0.0 <>` and :link_release_notes_600:`Core Libraries Release Notes 6.0.0 <>` This guide describes only those changes that may break old behavior. .. _section-Install-Upgrade-Steps: Upgrade Steps ============= Whenever upgrading to a new, major release, you must regenerate the type-specific code that was generated from your IDL, XML, or XSD definitions with the new version of *rtiddsgen*, then recompile and re-link your applications with the new versions of the |CONNEXT| libraries. The basic steps are as follows: #. Make the changes required for your system, based on the compatibility issues described in this guide: * See the "Product-Specific Compatibility" section for your release, for issues that affect your products. * See the "General Compatibility" section for your release. This section is particularly important if your release will coexist with older releases. * See :ref:`section-regression-index` for any issues that may apply to you. |br| |br| #. Regenerate code as described in :numref:`section-Product-gen-code-compatibility`. |br| |br| #. Recompile your source as described in :numref:`section-Product-ABI`. .. Reviewers, see my questions in core601.rst. If you need help with your upgrade, contact RTI Support: log into the `Customer Portal `_, send email to support@rti.com, or call the telephone number provided for your region. .. note:: If you had early access to a pre-release version of Connext 6.1.0, delete (or move or rename) the ``rti_workspace/6.1.0`` directory before installing. .. _section-gen-compile: Regenerating and Recompiling ============================ .. _section-Product-gen-code-compatibility: Generated code compatibility ---------------------------- For |CONNEXT| applications defining types in IDL, XML, or XSD, moving from a previous |CONNEXT| version to |CONNEXT| 6.0.0, 6.0.1, or 6.1.0 requires code regeneration and recompilation. You will need to regenerate the code for your application types using the *RTI Code Generator* shipped with your release (6.0.0, 6.0.1, or 6.1.0). The regeneration process is simple; you only need to run the new version of *Code Generator* using the original input IDL file. For example: .. code-block:: text rtiddsgen -language C++11 -update typefiles your_previous_release_IDL.idl You should see a message that says you are running *rtiddsgen* version 3.0.0 if you are upgrading to 6.0.0, *rtiddsgen* version 3.0.1 if you are upgrading to 6.0.1, or *rtiddsgen* version 3.1.0 if you are upgrading to 6.1.0. This process will regenerate the header and source files, which can then be compiled along with the rest of your application. .. _section-Product-ABI: Application Binary Interface ---------------------------- *RTI* |CONNEXT| does not provide Application Binary Interface (ABI) compatibility with previous versions of |CONNEXT|. Therefore, an application compiled using a previous version of |CONNEXT| must be recompiled when moving to |CONNEXT| 6.0.0, 6.0.1, or 6.1.0. The |CONNEXT| core primarily consists of libraries and a set of header files. In most cases, upgrading simply requires you to recompile your source using the new header files and link your application with the new libraries. In some cases, minor modifications to your application code might be required; any such changes are noted in this Migration Guide. After you make modifications to your application code, recompile your source using the new header files and link the new libraries. .. Might people want to make changes to their code based on what they see in the What's New or Release Notes document? Or typically only because of migration issues in this document?