core-graphics breaking changes
core-graphics 0.25.0 (May 27, 2025) is its newest release with breaking changes, 30 of them. The first: Removed core_graphics::access::boolean_t. Every breaking API change we have recorded in core-graphics on crates.io: 30 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.25.0, released May 27, 2025. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
core-graphics 0.25.0 breaking changes
- Removed
core_graphics::access::boolean_t
core_graphics::access::boolean_t was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::CGWindowID
core_graphics::display::CGWindowID was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::CGWindowImageOption
core_graphics::display::CGWindowImageOption was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::CGWindowListOption
core_graphics::display::CGWindowListOption was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGNullWindowID
core_graphics::display::kCGNullWindowID was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowImageBestResolution
core_graphics::display::kCGWindowImageBestResolution was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowImageBoundsIgnoreFraming
core_graphics::display::kCGWindowImageBoundsIgnoreFraming was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowImageDefault
core_graphics::display::kCGWindowImageDefault was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowImageNominalResolution
core_graphics::display::kCGWindowImageNominalResolution was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowImageOnlyShadows
core_graphics::display::kCGWindowImageOnlyShadows was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowImageShouldBeOpaque
core_graphics::display::kCGWindowImageShouldBeOpaque was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowListExcludeDesktopElements
core_graphics::display::kCGWindowListExcludeDesktopElements was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowListOptionAll
core_graphics::display::kCGWindowListOptionAll was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowListOptionIncludingWindow
core_graphics::display::kCGWindowListOptionIncludingWindow was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowListOptionOnScreenAboveWindow
core_graphics::display::kCGWindowListOptionOnScreenAboveWindow was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowListOptionOnScreenBelowWindow
core_graphics::display::kCGWindowListOptionOnScreenBelowWindow was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::display::kCGWindowListOptionOnScreenOnly
core_graphics::display::kCGWindowListOptionOnScreenOnly was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::event::CGEventTap::callback_ref
core_graphics::event::CGEventTap::callback_ref was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::event::CGEventTapCallBackFn
core_graphics::event::CGEventTapCallBackFn was removed in core-graphics 0.25.0 crates.io - Removed
core_graphics::private
core_graphics::private was removed in core-graphics 0.25.0 crates.io - Renamed
core_graphics::display::CGWindowLevel
Use core_graphics::window::CGWindowLevel instead. crates.io - Signature changed
core_graphics::data_provider::CGDataProviderGetBytesAtOffsetCallback
Was type CGDataProviderGetBytesAtOffsetCallback = Option<unsafe extern "C" fn(*mut c_void, *mut c_void, size_t, size_t)>; now type CGDataProviderGetBytesAtOffsetCallback = Option<unsafe extern "C" fn(*mut c_void, *mut c_void, usize... crates.io - Signature changed
core_graphics::data_provider::CGDataProviderGetBytesAtPositionCallback
Was type CGDataProviderGetBytesAtPositionCallback = Option<unsafe extern "C" fn(*mut c_void, *mut c_void, off_t, size_t)>; now type CGDataProviderGetBytesAtPositionCallback = Option<unsafe extern "C" fn(*mut c_void, *mut c_void, off_t... crates.io - Signature changed
core_graphics::data_provider::CGDataProviderGetBytesCallback
Was type CGDataProviderGetBytesCallback = Option<unsafe extern "C" fn(*mut c_void, *mut c_void, size_t) -> size_t>; now type CGDataProviderGetBytesCallback = Option<unsafe extern "C" fn(*mut c_void, *mut c_void, usize) -> usize>. crates.io - Signature changed
core_graphics::data_provider::CGDataProviderReleaseDataCallback
Was type CGDataProviderReleaseDataCallback = Option<unsafe extern "C" fn(*mut c_void, *const c_void, size_t)>; now type CGDataProviderReleaseDataCallback = Option<unsafe extern "C" fn(*mut c_void, *const c_void, usize)>. crates.io - Signature changed
core_graphics::data_provider::CGDataProviderSkipBytesCallback
Was type CGDataProviderSkipBytesCallback = Option<unsafe extern "C" fn(*mut c_void, size_t)>; now type CGDataProviderSkipBytesCallback = Option<unsafe extern "C" fn(*mut c_void, usize)>. crates.io - Signature changed
core_graphics::display::CGDisplayConfigRef
Was type CGDisplayConfigRef = *mut libc::c_void; now type CGDisplayConfigRef = *mut c_void. crates.io - Signature changed
core_graphics::display::CGDisplayReconfigurationCallBack
Was type CGDisplayReconfigurationCallBack = unsafe extern "C" fn(display: CGDirectDisplayID, flags: u32, user_info: *const libc::c_void); now type CGDisplayReconfigurationCallBack = unsafe extern "C" fn(display: CGDirectDisplayID, flags... crates.io - Signature changed
core_graphics::event::CGEventTap::mach_port
Was mach_port: CFMachPort; now fn mach_port(&self) -> &CFMachPort. crates.io - Signature changed
core_graphics::event::CGEventTap::new
Was fn new<F: Fn(CGEventTapProxy, CGEventType, &CGEvent) -> Option<CGEvent> + 'tap_life>(tap: CGEventTapLocation, place: CGEventTapPlacement, options: CGEventTapOptions, events_of_interest: std::vec::Vec<CGEventType>, callback: F) ->... crates.io
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.