GZ_FUEL_INITIAL_CONFIG_PATH
macro removed fromgz/fuel_tools/config.hh
- Deprecation:
ignition
namespace - Replacement:
gz
namespace - Deprecation:
ignition/...
headers - Replacement:
gz/...
headers - 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_strcat
,ign_strcpy
,ign_sprintf
,ign_strdup
- The default cache location has moved from
~/.ignition/fuel
to~/.gz/fuel
.
- 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
- Deprecation:
FuelClient::DeleteModel
- Replacement:
FuelClient::DeleteUrl
- Deprecation:
FuelClient
constructor that takesLocalCache
- Replacement:
FuelClient
constructor withoutLocalCache
- Deprecation:
LocalCache
- Replacement: None
- The
fuel.ignitionrobotics.org
Fuel server has been deprecated, and redirects tofuel.gazebosim.org
. Usefuel.gazebosim.org
in all Fuel URLs.
FuelClient::UploadModel
takes 2 more arguments now.RestClient::Request
's_form
argument is now anstd::multimap
instead ofstd::map
.
-
Renamed the REST class to Rest.
-
All setters (functions that set class variables) have been prefixed with
Set
and existing functions deprecated. Acronyms within class and function names have been changed from all-caps (e.g URL) to camel-case (eg. Url). -
Deprecated
env
function. Please useigition::common::env
. -
Deprecated the
ModelIdentifier::Category
functions. The Category concept does not exist on fuelserver. -
Deprecated the accessor
ModelIdentifier::Likes
forModelIdentifier::LikeCount
, and the mutatorModelIdentifier::Likes
forModelIdentifier::SetLikeCount
. -
Deprecated the accessor
ModelIdentifier::Downloads
forModelIdentifier::DownloadCount
, and the mutatorModelIdentifier::Downloads
forModelIdentifier::SetDownloadCount
. -
ResultTypes have moved from a plain
enum
inside theResult
class to anenum class ResultType
outside theResult
class scope. -
ResultType Result::Type() const
now returns anenum class
instead of a plainenum
. This should not affect you unless you have been mappingResultType
to anint
.
-
Model unique name doesn't contain server API version anymore, for example:
-
Servers no longer have a local name: API calls return garbage and config fields are ignored.
-
Cache structure has been changed, for example:
-
Old
/home/user/.ignition/fuel/ └── models └── username └── modelname
-
New
/home/user/.ignition/fuel/ └── serverurl.org └── username └── models └── modelname ├── 1 └── 2
-