mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 07:00:30 +00:00

This allows us to profile the daemon startup so we can find any plugins taking an inordinate amount of time to start.
3.6 KiB
3.6 KiB
libfwupdplugin
This library is only partially API and ABI stable. Keeping unused, unsafe and deprecated functions around forever is a maintenance burden and so symbols are removed when branching for new minor versions.
Remember: Plugins should be upstream!
1.5.5
fu_common_is_cpu_intel()
: Usefu_common_get_cpu_vendor()
instead.fu_firmware_strparse_uintXX()
: Usefu_firmware_strparse_uintXX_safe()
instead.fu_plugin_get_usb_context()
: Remove, as no longer required.fu_plugin_set_usb_context()
: Remove, as no longer required.fu_plugin_runner_usb_device_added()
: Usefu_plugin_runner_backend_device_added()
instead.fu_plugin_runner_udev_device_added()
: Usefu_plugin_runner_backend_device_added()
instead.fu_plugin_runner_udev_device_changed()
: Usefu_plugin_runner_backend_device_added()
instead.FuHidDevice->open()
: Use theFuDevice
superclass instead.FuHidDevice->close()
: Use theFuDevice
superclass instead.FuUsbDevice->probe()
: Use theFuDevice
superclass instead.FuUsbDevice->open()
: Use theFuDevice
superclass instead.FuUsbDevice->close()
: Use theFuDevice
superclass instead.FuUdevDevice->to_string()
: Use theFuDevice
superclass instead.FuUdevDevice->probe()
: Use theFuDevice
superclass instead.FuUdevDevice->open()
: Use theFuDevice
superclass instead.FuUdevDevice->close()
: Use theFuDevice
superclass instead.
1.5.6
fu_device_get_protocol()
: Usefu_device_get_protocols()
instead.fu_device_set_protocol()
: Usefu_device_add_protocol()
instead.
1.6.2
fu_device_has_custom_flag()
: Usefu_device_has_private_flag()
instead.
1.6.3
fu_device_sleep_with_progress()
: Usefu_progress_sleep()
instead -- but be aware the unit of time has changed from seconds to milliseconds.fu_device_get_status()
: Usefu_progress_get_status()
instead.fu_device_set_status()
: Usefu_progress_set_status()
instead.fu_device_get_progress()
: Usefu_progress_get_percentage()
instead.fu_device_set_progress_full()
: Usefu_progress_set_percentage_full()
instead.fu_device_set_progress()
: Usefu_progress_set_steps()
,fu_progress_add_step()
andfu_progress_done()
-- see theFuProgress
docs for more details!
1.8.2
fu_udev_device_pread_full()
: Usefu_udev_device_pread()
instead -- as the latter now specifies the buffer length.fu_udev_device_pread_full()
: Usefu_udev_device_pwrite()
instead -- as the latter now specifies the buffer length.fu_udev_device_ioctl_full()
: Usefu_udev_device_ioctl()
instead -- as the latter now always specifies the timeout.fu_udev_device_new_full()
: Usefu_udev_device_new()
instead -- as the latter always specifies the context.fu_usb_device_new_full()
: Usefu_usb_device_new()
instead -- as the latter always specifies the context.fu_device_new_with_context()
: Usefu_device_new()
instead -- as the latter always specifies the context.fu_plugin_has_custom_flag()
: Usefu_plugin_has_private_flag()
instead.fu_efivar_secure_boot_enabled_full()
: Usefu_efivar_secure_boot_enabled()
instead -- as the latter always specifies the error.fu_progress_add_step()
: Add a 4th parameter to the function to specify the nice name for the step, or NULL.fu_backend_setup()
: Now requires aFuProgress
, although it can be ignored.fu_backend_coldplug
: Now requires aFuProgress
, although it can be ignored.FuPluginVfuncs->setup
: Now requires aFuProgress
, although it can be ignored.FuPluginVfuncs->coldplug
: Now requires aFuProgress
, although it can be ignored.