---
title: "core-graphics 0.25.0 Breaking Changes on crates.io"
description: "What each core-graphics release removed, renamed or changed: 30 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/core-graphics
last_updated: 2026-12-04
---

# 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

Latest version `0.25.0`, released May 27, 2025. [Source repository](https://github.com/servo/core-foundation-rs)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## core-graphics 0.25.0 breaking changes

core-graphics 0.25.0, released May 27, 2025: 30 breaking changes.

- **Removed** `core_graphics::access::boolean_t`  

core_graphics::access::boolean_t was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::CGWindowID`  

core_graphics::display::CGWindowID was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::CGWindowImageOption`  

core_graphics::display::CGWindowImageOption was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::CGWindowListOption`  

core_graphics::display::CGWindowListOption was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGNullWindowID`  

core_graphics::display::kCGNullWindowID was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowImageBestResolution`  

core_graphics::display::kCGWindowImageBestResolution was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowImageBoundsIgnoreFraming`  

core_graphics::display::kCGWindowImageBoundsIgnoreFraming was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowImageDefault`  

core_graphics::display::kCGWindowImageDefault was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowImageNominalResolution`  

core_graphics::display::kCGWindowImageNominalResolution was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowImageOnlyShadows`  

core_graphics::display::kCGWindowImageOnlyShadows was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowImageShouldBeOpaque`  

core_graphics::display::kCGWindowImageShouldBeOpaque was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowListExcludeDesktopElements`  

core_graphics::display::kCGWindowListExcludeDesktopElements was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowListOptionAll`  

core_graphics::display::kCGWindowListOptionAll was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowListOptionIncludingWindow`  

core_graphics::display::kCGWindowListOptionIncludingWindow was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowListOptionOnScreenAboveWindow`  

core_graphics::display::kCGWindowListOptionOnScreenAboveWindow was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowListOptionOnScreenBelowWindow`  

core_graphics::display::kCGWindowListOptionOnScreenBelowWindow was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::display::kCGWindowListOptionOnScreenOnly`  

core_graphics::display::kCGWindowListOptionOnScreenOnly was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::event::CGEventTap::callback_ref`  

core_graphics::event::CGEventTap::callback_ref was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::event::CGEventTapCallBackFn`  

core_graphics::event::CGEventTapCallBackFn was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Removed** `core_graphics::private`  

core_graphics::private was removed in core-graphics 0.25.0 [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **Renamed** `core_graphics::display::CGWindowLevel`  

Use core_graphics::window::CGWindowLevel instead. [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **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](https://crates.io/crates/core-graphics/0.25.0)
- **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](https://crates.io/crates/core-graphics/0.25.0)
- **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](https://crates.io/crates/core-graphics/0.25.0)
- **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](https://crates.io/crates/core-graphics/0.25.0)
- **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](https://crates.io/crates/core-graphics/0.25.0)
- **Signature changed** `core_graphics::display::CGDisplayConfigRef`  

Was type CGDisplayConfigRef = \*mut libc::c_void; now type CGDisplayConfigRef = \*mut c_void. [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **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](https://crates.io/crates/core-graphics/0.25.0)
- **Signature changed** `core_graphics::event::CGEventTap::mach_port`  

Was mach_port: CFMachPort; now fn mach_port(&self) -> &CFMachPort. [crates.io](https://crates.io/crates/core-graphics/0.25.0)
- **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](https://crates.io/crates/core-graphics/0.25.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
