Skip to content

Latest commit

 

History

History
81 lines (48 loc) · 1.96 KB

CHANGELOG.md

File metadata and controls

81 lines (48 loc) · 1.96 KB

v0.6.0 (2025-01-09)

Breaking

  • napi: napi_property_descriptor, napi_node_version, napi_extended_error_info no longer derive Copy/Clone.
  • xcomponent: The constant OH_NATIVE_XCOMPONENT_OBJ is now a CStr instead of raw byte string
  • native_window: Duplicate bindings for native_buffer types were removed. Use the bindings from native_buffer instead.
  • native_buffer: OH_NativeBuffer_MetadataType is now a wrapper around c_int instead of c_uint.

Add

  • Made vsync bindings also available as dedicated ohos-vsync-sys crate. No user facing changes.
  • Updated all bindings for API-13.

v0.5.0 (2025-01-04)

Breaking

  • Remove Debug from opaque structs

Features

  • Internal changes to the bindings, to more easily allow feature guarding based on the API level.
  • Improved the documentation, by converting doxygen comments to markdown.

v0.4.0 (2024-10-29)

Change

  • Unify re-export of components
  • Bump ime-sys, xcomponent-sys and drawing-sys

v0.3.1 (2024-09-05)

Add

  • Re-export hitrace-sys binding (behind hitrace feature)

v0.3.0 (2024-08-29)

Breaking

  • Change enum types in native_buffer and native_window to newtype pattern.

Added

  • deviceinfo bindings
  • native_buffer API-12 bindings
  • native_image bindings
  • syscap bindings

v0.2.2 (2024-08-18)

Added

  • Added bindings for native_vsync (behind the vsync feature flag)

v0.2.1

Fixed

  • ohos-drawing-sys is now an optional dependency. Usage was already guarded behind the drawing feature.

v0.2.0 (2024-07-18)

Breaking

  • Renamed and moved the xcomponent module to the top-level (from ace/xcomponent/native_interface_xcomponent)
  • Guard each component behind a feature flag

Added

  • Added native_drawing API bindings (Also available separately as ohos-drawing-sys )
  • Added bindings for API level 11 behind a feature flag

Fixed

  • native_window now links against the correct dynamic library.
  • Remove Copy / Clone impls on opaque structs