Skip to content

Latest commit

 

History

History
79 lines (52 loc) · 3.68 KB

Migration.md

File metadata and controls

79 lines (52 loc) · 3.68 KB

Ignition Fuel Tools 3.X to 4.X

Modifications

  1. FuelClient::UploadModel takes 2 more arguments now.
  2. RestClient::Request's _form argument is now an std::multimap instead of std::map.

Ignition Fuel Tools 1.X to 2.X

Modifications

  1. Renamed the REST class to Rest.

  2. 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).

  3. Deprecated env function. Please use igition::common::env.

  4. Deprecated the ModelIdentifier::Category functions. The Category concept does not exist on fuelserver.

  5. Deprecated the accessor ModelIdentifier::Likes for ModelIdentifier::LikeCount, and the mutator ModelIdentifier::Likes for ModelIdentifier::SetLikeCount.

  6. Deprecated the accessor ModelIdentifier::Downloads for ModelIdentifier::DownloadCount, and the mutator ModelIdentifier::Downloads for ModelIdentifier::SetDownloadCount.

  7. ResultTypes have moved from a plain enum inside the Result class to an enum class ResultType outside the Result class scope.

  8. ResultType Result::Type() const now returns an enum class instead of a plain enum. This should not affect you unless you have been mapping ResultType to an int.

Ignition Fuel Tools 1.2 to 1.X

Modifications

Ignition Fuel Tools 1.0 to 1.2

Modifications

  1. Model unique name doesn't contain server API version anymore, for example:

  2. Servers no longer have a local name: API calls return garbage and config fields are ignored.

  3. 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