### Class

# Fwupd Release

#### Description [src]

    class Fwupd.Release : GObject.Object {
      parent_instance: GObject
    }

A firmware release with a specific version.

Devices can have more than one release, and the releases are typically ordered by their version.

See also: `FwupdDevice`

#### Ancestors

- GObject

#### Implements

- FwupdCodec

#### Constructors

###### fwupd_release_new

Creates a new release.

Available since: 0.9.3

#### Functions

###### fwupd_release_array_filter_flags

Creates an array of new releases that match using fwupd_release_match_flags().

Available since: 1.9.3

###### fwupd_release_flag_from_string

Converts a string to an enumerated release flag.

Available since: 1.2.6

###### fwupd_release_flag_to_string

Converts an enumerated release flag to a string.

Available since: 1.2.6

###### fwupd_release_urgency_from_string

Converts a string to an enumerated release urgency value.

Available since: 1.4.0

###### fwupd_release_urgency_to_string

Converts an enumerated release urgency to a string.

Available since: 1.4.0

#### Instance methods

###### fwupd_release_add_category

Adds the update category.

Available since: 1.2.7

###### fwupd_release_add_checksum

Sets the update checksum.

Available since: 0.9.3

###### fwupd_release_add_flag

Adds a specific release flag to the release.

Available since: 1.2.6

###### fwupd_release_add_issue

Adds an resolved issue to this release.

Available since: 1.3.2

###### fwupd_release_add_location

Adds an update URI, i.e. where you can download the firmware from.

Available since: 1.5.6

###### fwupd_release_add_metadata

Sets multiple release metadata items.

Available since: 1.0.4

###### fwupd_release_add_metadata_item

Sets a release metadata item.

Available since: 1.0.4

###### fwupd_release_add_report

Adds a report for this release.

Available since: 1.8.8

###### fwupd_release_add_tag

Adds a specific release tag.

Available since: 1.7.3

###### fwupd_release_get_appstream_id

Gets the AppStream ID.

Available since: 0.9.3

###### fwupd_release_get_branch

Gets the update branch.

Available since: 1.5.0

###### fwupd_release_get_categories

Gets the release categories.

Available since: 1.2.7

###### fwupd_release_get_checksums

Gets the release container checksums.

Available since: 0.9.3

###### fwupd_release_get_created

Gets when the update was created.

Available since: 1.4.0

###### fwupd_release_get_description

Gets the update description in AppStream markup format.

Available since: 0.9.3

###### fwupd_release_get_detach_caption

Gets the optional text caption used to manually detach the device.

Available since: 1.3.3

###### fwupd_release_get_detach_image

Gets the optional image used to manually detach the device.

Available since: 1.3.3

###### fwupd_release_get_details_url

Gets the URL for the online update notes.

Available since: 1.2.4

###### fwupd_release_get_filename

Gets the update filename.

Available since: 0.9.3

###### fwupd_release_get_flags

Gets the release flags.

Available since: 1.2.6

###### fwupd_release_get_homepage

Gets the update homepage.

Available since: 0.9.3

###### fwupd_release_get_id

Gets the release ID, which allows identifying the specific uploaded component.

Available since: 1.7.2

###### fwupd_release_get_install_duration

Gets the time estimate for firmware installation (in seconds)

Available since: 1.2.1

###### fwupd_release_get_issues

Gets the list of issues fixed in this release.

Available since: 1.3.2

###### fwupd_release_get_license

Gets the update license.

Available since: 0.9.3

###### fwupd_release_get_locations

Gets the update URI, i.e. where you can download the firmware from.

Available since: 1.5.6

###### fwupd_release_get_metadata

Gets the release metadata.

Available since: 1.0.4

###### fwupd_release_get_metadata_item

Gets a release metadata item.

Available since: 1.0.4

###### fwupd_release_get_name

Gets the update name.

Available since: 0.9.3

###### fwupd_release_get_name_variant_suffix

Gets the update variant suffix.

Available since: 1.3.2

###### fwupd_release_get_protocol

Gets the update protocol.

Available since: 1.2.2

###### fwupd_release_get_remote_id

Gets the remote ID that can be used for downloading.

Available since: 0.9.3

###### fwupd_release_get_reports

Gets all the reports for this release.

Available since: 1.8.8

###### fwupd_release_get_sbom_url

Gets the URL of the SBOM for this release.

Available since: 2.0.7

###### fwupd_release_get_size

Gets the update size.

Available since: 0.9.3

###### fwupd_release_get_source_url

Gets the URL of the source code used to build this release.

Available since: 1.2.4

###### fwupd_release_get_summary

Gets the update summary.

Available since: 0.9.3

###### fwupd_release_get_tags

Gets the release tags.

Available since: 1.7.3

###### fwupd_release_get_update_image

Gets the update image.

Available since: 1.4.5

###### fwupd_release_get_update_message

Gets the update message.

Available since: 1.2.4

###### fwupd_release_get_urgency

Gets the release urgency.

Available since: 1.4.0

###### fwupd_release_get_vendor

Gets the update vendor.

Available since: 0.9.3

###### fwupd_release_get_version

Gets the update version.

Available since: 0.9.3

###### fwupd_release_has_category

Finds out if the release has the update category.

Available since: 1.2.7

###### fwupd_release_has_checksum

Finds out if the release has the update container checksum.

Available since: 1.2.6

###### fwupd_release_has_flag

Finds if the release has a specific release flag.

Available since: 1.2.6

###### fwupd_release_has_tag

Finds out if the release has a specific tag.

Available since: 1.7.3

###### fwupd_release_match_flags

Check if the release flags match.

Available since: 1.9.3

###### fwupd_release_remove_flag

Removes a specific release flag from the release.

Available since: 1.2.6

###### fwupd_release_set_appstream_id

Sets the AppStream ID.

Available since: 0.9.3

###### fwupd_release_set_branch

Sets the alternate branch.

Available since: 1.5.0

###### fwupd_release_set_created

Sets when the update was created.

Available since: 1.4.0

###### fwupd_release_set_description

Sets the update description.

Available since: 0.9.3

###### fwupd_release_set_detach_caption

Sets the optional text caption used to manually detach the device.

Available since: 1.3.3

###### fwupd_release_set_detach_image

Sets the optional image used to manually detach the device.

Available since: 1.3.3

###### fwupd_release_set_details_url

Sets the URL for the online update notes.

Available since: 1.2.4

###### fwupd_release_set_filename

Sets the update filename.

Available since: 0.9.3

###### fwupd_release_set_flags

Sets the release flags.

Available since: 1.2.6

###### fwupd_release_set_homepage

Sets the update homepage URL.

Available since: 0.9.3

###### fwupd_release_set_id

Sets the ID, which allows identifying the specific uploaded component.

Available since: 1.7.2

###### fwupd_release_set_install_duration

Sets the time estimate for firmware installation (in seconds)

Available since: 1.2.1

###### fwupd_release_set_license

Sets the update license.

Available since: 0.9.3

###### fwupd_release_set_name

Sets the update name.

Available since: 0.9.3

###### fwupd_release_set_name_variant_suffix

Sets the update variant suffix.

Available since: 1.3.2

###### fwupd_release_set_protocol

Sets the update protocol.

Available since: 1.2.2

###### fwupd_release_set_remote_id

Sets the remote ID that can be used for downloading.

Available since: 0.9.3

###### fwupd_release_set_sbom_url

Sets the URL of the SBOM for this release.

Available since: 2.0.7

###### fwupd_release_set_size

Sets the update size.

Available since: 0.9.3

###### fwupd_release_set_source_url

Sets the URL of the source code used to build this release.

Available since: 1.2.4

###### fwupd_release_set_summary

Sets the update summary.

Available since: 0.9.3

###### fwupd_release_set_update_image

Sets the update image.

Available since: 1.4.5

###### fwupd_release_set_update_message

Sets the update message.

Available since: 1.2.4

###### fwupd_release_set_urgency

Sets the release urgency.

Available since: 1.4.0

###### fwupd_release_set_vendor

Sets the update vendor.

Available since: 0.9.3

###### fwupd_release_set_version

Sets the update version.

Available since: 0.9.3

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

##### Methods inherited from FwupdCodec (8)

###### fwupd_codec_add_string

Converts an object that implements `FwupdCodec` to a debug string, appending it to `str`.

Available since: 2.0.0

###### fwupd_codec_from_json

Converts an object that implements `FwupdCodec` from a JSON object.

Available since: 2.0.0

###### fwupd_codec_from_json_string

Converts an object that implements `FwupdCodec` from a JSON string.

Available since: 2.0.0

###### fwupd_codec_from_variant

Converts an object that implements `FwupdCodec` from a `GVariant` value.

Available since: 2.0.0

###### fwupd_codec_to_json

Converts an object that implements `FwupdCodec` to a JSON builder object.

Available since: 2.0.0

###### fwupd_codec_to_json_string

Converts an object that implements `FwupdCodec` to a JSON string.

Available since: 2.0.0

###### fwupd_codec_to_string

Converts an object that implements `FwupdCodec` to a debug string.

Available since: 2.0.0

###### fwupd_codec_to_variant

Converts an object that implements `FwupdCodec` to a `GVariant`.

Available since: 2.0.0

#### Properties

###### Fwupd.Release:remote-id

The remote ID.

Available since: 1.8.0

#### Signals

##### Signals inherited from GObject (1)

###### GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct FwupdReleaseClass {
      GObjectClass parent_class;
      void (* _fwupd_reserved1) (
    void
      );
      void (* _fwupd_reserved2) (
    void
      );
      void (* _fwupd_reserved3) (
    void
      );
      void (* _fwupd_reserved4) (
    void
      );
      void (* _fwupd_reserved5) (
    void
      );
      void (* _fwupd_reserved6) (
    void
      );
      void (* _fwupd_reserved7) (
    void
      );

    }

###### Class members

`parent_class`

    GObjectClass

| No description available.

`_fwupd_reserved1`

    void (* _fwupd_reserved1) (
    void
      )

| No description available.

`_fwupd_reserved2`

    void (* _fwupd_reserved2) (
    void
      )

| No description available.

`_fwupd_reserved3`

    void (* _fwupd_reserved3) (
    void
      )

| No description available.

`_fwupd_reserved4`

    void (* _fwupd_reserved4) (
    void
      )

| No description available.

`_fwupd_reserved5`

    void (* _fwupd_reserved5) (
    void
      )

| No description available.

`_fwupd_reserved6`

    void (* _fwupd_reserved6) (
    void
      )

| No description available.

`_fwupd_reserved7`

    void (* _fwupd_reserved7) (
    void
      )

| No description available.