3.4 KiB
3.4 KiB
Unreleased
0.7.0 (2022-07-24)
- hardware_buffer: Make
HardwareBuffer::as_ptr()public for interop with Vulkan. (#213) - Breaking:
Configuration::country()now returnsNonewhen the country is unset (akin toConfiguration::language()). (#220) - Add
MediaCodecandMediaFormatbindings. (#216) - Breaking: Upgrade to
ndk-sys 0.4.0and use newenumnewtype wrappers. (#245) - native_window: Use
release/acquireforDropandClonerespectively. (#207) - Breaking: audio: Rename from
aaudiotoaudioand dropAprefix. (#273) - Implement
HasRawWindowHandledirectly onNativeWindow. (#274, #319) - Breaking: native_activity: Replace
CStrreturn types withPath. (#279) - native_window: Add
format()getter andset_buffers_geometry()setter. (#276) - native_activity: Add
set_window_format()setter. (#277) - native_activity: Add
set_window_flags()to change window behavior. (#278) - Add
SurfaceTexturebindings. (#267) - Improve library and structure documentation, linking back to the NDK docs more rigorously. (#290)
- Breaking: input_queue:
get_event()now returns aResultwithstd::io::Error;InputQueueErrorhas been removed. (#292) - Breaking: input_queue:
has_events()now returns abooldirectly without being wrapped inResult. (#294) - Breaking: hardware_buffer:
HardwareBufferErrorhas been removed and replaced withstd::io::Errorin return types. (#295) - Fixed
HardwareBufferleak on buffers returned fromAndroidBitmap::get_hardware_buffer(). (#296) - Breaking: Update
jnicrate (used in public API) from0.18to0.19. (#300) - hardware_buffer: Made
HardwareBufferDescfieldspub. (#313) - Breaking: Remove
hardware_bufferandtracefeatures in favour of usingapi-level-26orapi-level-23directly. (#320)
0.6.0 (2022-01-05)
- Breaking: Upgrade to
ndk-sys 0.3.0and migrate tojni-systypes that it now directly uses in its bindings. (#209 / #214)
0.5.0 (2021-11-22)
- Breaking: Replace
add_fd_with_callbackidentwith constant valueALOOPER_POLL_CALLBACK, as per https://developer.android.com/ndk/reference/group/looper#alooper_addfd. - Breaking: Accept unboxed closure in
add_fd_with_callback. - aaudio: Replace "Added in" comments with missing
#[cfg(feature)]. - aaudio: Add missing
fn get_allowed_capture_policy(). - configuration: Add missing
api-level-30feature tofn screen_round().
0.4.0 (2021-08-02)
- Breaking: Model looper file descriptor events integer as
bitflags.
0.3.0 (2021-01-30)
- Breaking: Looper
identnot passed indatapointer anymore.attach_loopernow only sets theidentfield when attaching anInputQueueto aForeignLooper. If you are relying onPoll::Event::datato tell event fd and input queue apart, please usePoll::Event::identand the new constants introduced inndk-glue!
0.2.1 (2020-10-15)
- Fix documentation build on docs.rs
0.2.0 (2020-09-15)
- Breaking: Updated to use ndk-sys 0.2.0
- Added
mediabindings - Added
bitmapandhardware_bufferbindings - Added
aaudiobindings - Fixed assets directory path to be relative to the manifest
- Added
tracefeature for native tracing
0.1.0 (2020-04-22)
- Initial release! 🎉