A tick-tock release cycle allows easy migration to new software versions. Obsolete code is marked as deprecated for one major release. Deprecated code produces compile-time warnings. These warning serve as notification to users that their code should be upgraded. The next major release will remove the deprecated code.
- The
ignition
namespace is deprecated and will be removed in future versions. Usegz
instead. - Header files under
ignition/...
are deprecated and will be removed in future versions. Usegz/...
instead. - The following
IGN_
prefixed environment variables are deprecated and will be removed in future versions. Use theGZ_
prefixed versions instead!-
IGN_TRANSPORT_USERNAME
->GZ_TRANSPORT_USERNAME
-
IGN_TRANSPORT_PASSWORD
->GZ_TRANSPORT_PASSWORD
-
IGN_PARTITION
->GZ_PARTITION
-
IGN_IP
->GZ_IP
-
IGN_TRANSPORT_TOPIC_STATISTICS
->GZ_TRANSPORT_TOPIC_STATISTICS
-
IGN_DISCOVERY_MSG_PORT
->GZ_DISCOVERY_MSG_PORT
-
IGN_DISCOVERY_MULTICAST_IP
->GZ_DISCOVERY_MULTICAST_IP
-
IGN_DISCOVERY_SRV_PORT
->GZ_DISCOVERY_SRV_PORT
-
IGN_RELAY
->GZ_RELAY
-
IGN_TRANSPORT_LOG_SQL_PATH
->GZ_TRANSPORT_LOG_SQL_PATH
-
IGN_TRANSPORT_RCVHWM
->GZ_TRANSPORT_RCVHWM
-
IGN_TRANSPORT_SNDHWM
->GZ_TRANSPORT_SNDHWM
-
IGN_VERBOSE
->GZ_VERBOSE
-
- The following
IGN_
prefixed macros are deprecated and will be removed in future versions. Additionally, they will only be available when including the correspondingignition/...
header. Use theGZ_
prefix instead.IGN_ZMQ_POST_4_3_1
IGN_CPPZMQ_POST_4_7_0
ign_strcat
,ign_strcpy
,ign_sprintf
,ign_strdup
- The
IgnTransportNode
class is deprecated and will be removed in future versions. UseGzTransportNode
instead. Similarly, theIgn
prefixed members of that class will be removed in future versions. Use theGz
prefixed members instead.
- The project name has been changed to use the
gz-
prefix, you must use thegz
prefix!
- This also means that any generated code that use the project name (e.g. CMake variables, in-source macros) would have to be migrated.
- Some non-exhaustive examples of this include:
GZ_<PROJECT>_<VISIBLE/HIDDEN>
- CMake
-config
files - Paths that depend on the project name
- Dependency on
cli
component ofgz-utils
.
- Remove deprecations before 9.x.x release
-
NodeShared::TriggerSubscriberCallbacks
-
The discovery wire protocol changed to use gz::msgs::Discovery instead of C-structs. The Packet.hh header file is deprecated, which contained the Header, SubscriptionMsg, and AdvertiseMessage classes. The version of the wire protocal has bumped from 9 to 10. This means Gazebo Transport 8+ will not work with Gazebo Transport 7 and below.
- The
gz.hh
file is not longer installed.
- Service responder callbacks passed to
Node::Advertise
should now return a boolean value instead of taking in a boolean output parameter. The existing functions have been deprecated.