---
title: "skia-safe 0.158.0 Breaking Changes on crates.io | Since.dev"
description: "What each skia-safe release removed, renamed or changed: 33 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/skia-safe
last_updated: 2026-12-04
---

# skia-safe breaking changes

skia-safe 0.158.0 (November 25, 2026) is its newest release with breaking changes, 33 of them. The first: Removed AsNativeRunHandler. Every breaking API change we have recorded in skia-safe on crates.io: 33 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.158.0`, released November 25, 2026. [Source repository](https://github.com/rust-skia/rust-skia)

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

## skia-safe 0.158.0 breaking changes

skia-safe 0.158.0, released November 25, 2026: 33 breaking changes.

- **Removed** `AsNativeRunHandler`  

AsNativeRunHandler was removed; passing a Rust RunHandler or TextBlobBuilderRunHandler to the shape functions is unchanged. [github.com](https://github.com/rust-skia/rust-skia/releases/tag/0.158.0)
- **Removed** `BorrowedRecorder.make_deferred_canvas`  

BorrowedRecorder::make_deferred_canvas was removed; use the owned Recorder instead. [github.com](https://github.com/rust-skia/rust-skia/releases/tag/0.158.0)
- **Removed** `BorrowedRecorder.snap`  

BorrowedRecorder::snap was removed; snapping stays on the owned Recorder. [github.com](https://github.com/rust-skia/rust-skia/releases/tag/0.158.0)
- **Default changed**  

The textlayout feature now embeds only the ICU data Skia loads. Source builds can set skia_icu_filter_data=false in SKIA_GN_ARGS to get the complete data. [github.com](https://github.com/rust-skia/rust-skia/releases/tag/0.158.0)
- **Signature changed** `make_ganesh`  

make_ganesh now takes a third parameter for backend options. Pass None to keep the default options. [github.com](https://github.com/rust-skia/rust-skia/releases/tag/0.158.0)
- **Signature changed** `make_graphite`  

make_graphite now takes a third parameter for backend options. Pass None to keep the default options. [github.com](https://github.com/rust-skia/rust-skia/releases/tag/0.158.0)
- **Signature changed** `skia_safe::font_arguments::FontArguments::new`  

Was fn new() -> Self; now fn new() -> Self. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::font_arguments::FontArguments::set_collection_index`  

Was fn set_collection_index(&mut self, collection_index: usize) -> &mut Self; now fn set_collection_index(&mut self, collection_index: usize) -> &mut Self. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::font_arguments::FontArguments::set_palette`  

Was fn set_palette(mut self, palette: Palette) -> FontArguments; now fn set_palette<'new_p>(mut self, palette: Palette<'new_p>) -> FontArguments<'vp, 'new_p>. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::font_arguments::FontArguments::set_synthetic_bold`  

Was fn set_synthetic_bold(&mut self, synthetic_bold: impl Into\<Option\<bool>>) -> &mut Self; now fn set_synthetic_bold(&mut self, synthetic_bold: impl Into\<Option\<bool>>) -> &mut Self. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::font_arguments::FontArguments::set_synthetic_oblique`  

Was fn set_synthetic_oblique(&mut self, synthetic_oblique: impl Into\<Option\<bool>>) -> &mut Self; now fn set_synthetic_oblique(&mut self, synthetic_oblique: impl Into\<Option\<bool>>) -> &mut Self. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::font_arguments::FontArguments::set_variation_design_position`  

Was fn set_variation_design_position(mut self, position: VariationPosition) -> FontArguments; now fn set_variation_design_position<'new_vp>(mut self, position: VariationPosition<'new_vp>) -> FontArguments<'new_vp, 'p>. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::FontArguments::new`  

Was fn new() -> Self; now fn new() -> Self. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::FontArguments::set_collection_index`  

Was fn set_collection_index(&mut self, collection_index: usize) -> &mut Self; now fn set_collection_index(&mut self, collection_index: usize) -> &mut Self. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::FontArguments::set_palette`  

Was fn set_palette(mut self, palette: Palette) -> FontArguments; now fn set_palette<'new_p>(mut self, palette: Palette<'new_p>) -> FontArguments<'vp, 'new_p>. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::FontArguments::set_synthetic_bold`  

Was fn set_synthetic_bold(&mut self, synthetic_bold: impl Into\<Option\<bool>>) -> &mut Self; now fn set_synthetic_bold(&mut self, synthetic_bold: impl Into\<Option\<bool>>) -> &mut Self. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::FontArguments::set_synthetic_oblique`  

Was fn set_synthetic_oblique(&mut self, synthetic_oblique: impl Into\<Option\<bool>>) -> &mut Self; now fn set_synthetic_oblique(&mut self, synthetic_oblique: impl Into\<Option\<bool>>) -> &mut Self. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::FontArguments::set_variation_design_position`  

Was fn set_variation_design_position(mut self, position: VariationPosition) -> FontArguments; now fn set_variation_design_position<'new_vp>(mut self, position: VariationPosition<'new_vp>) -> FontArguments<'new_vp, 'p>. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::gpu::ganesh::d3d::contexts::make_ganesh`  

Was unsafe fn make_ganesh(backend_context: &d3d::BackendContext, options: &ContextOptions) -> Option\<Context>; now unsafe fn make_ganesh<'a>(backend_context: &d3d::BackendContext, context_options: &ContextOptions, gpu_options: impl... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::gpu::ganesh::gl::contexts::make_ganesh`  

Was fn make_ganesh(interface: impl Into\<gl::Interface>, options: &ContextOptions) -> Option\<Context>; now fn make_ganesh<'a>(interface: impl Into\<gl::Interface>, context_options: &ContextOptions, gpu_options: impl Into\<Option<&'a... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::gpu::ganesh::mtl::contexts::make_ganesh`  

Was fn make_ganesh(backend: &mtl::BackendContext, options: &ContextOptions) -> Option\<Context>; now fn make_ganesh<'a>(backend: &mtl::BackendContext, context_options: &ContextOptions, gpu_options: impl Into\<Option<&'a... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::gpu::ganesh::vk::contexts::make_ganesh`  

Was fn make_ganesh(backend_context: &vk::BackendContext, options: &ContextOptions) -> Option\<Context>; now fn make_ganesh<'a>(backend_context: &vk::BackendContext, context_options: &ContextOptions, gpu_options: impl Into\<Option<&'a... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::gpu::graphite::mtl::contexts::make_graphite`  

Was fn make_graphite(backend_context: &BackendContext, options: &ContextOptions) -> Option\<Context>; now fn make_graphite<'a>(backend_context: &BackendContext, context_options: &ContextOptions, graphite_options: impl Into\<Option<&'a... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::gpu::graphite::vk::contexts::make_graphite`  

Was fn make_graphite(backend_context: &gpu_vk::BackendContext, options: &crate::ContextOptions) -> Option\<crate::Context>; now fn make_graphite<'a>(backend_context: &gpu_vk::BackendContext, context_options: &crate::ContextOptions... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::shaper::AsRunHandler`  

AsRunHandler can no longer be implemented outside the crate and no longer takes a lifetime parameter. [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::Shaper::shape`  

Was fn shape<'a, 'b: 'a>(&self, utf8: &str, font: &Font, left_to_right: bool, width: scalar, run_handler: &'b mut impl AsRunHandler<'a>); now fn shape(&self, utf8: &str, font: &Font, left_to_right: bool, width: scalar, run_handler: &mut... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::Shaper::shape_with_iterators`  

Was fn shape_with_iterators<'a, 'b: 'a>(&self, utf8: &str, font_run_iterator: &mut FontRunIterator, bidi_run_iterator: &mut BiDiRunIterator, script_run_iterator: &mut ScriptRunIterator, language_run_iterator: &mut LanguageRunIterator... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::Shaper::shape_with_iterators_and_features`  

Was fn shape_with_iterators_and_features<'a, 'b: 'a>(&self, utf8: &str, font_run_iterator: &mut FontRunIterator, bidi_run_iterator: &mut BiDiRunIterator, script_run_iterator: &mut ScriptRunIterator, language_run_iterator: &mut... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::Shaper::shape_with_iterators_and_features_and_options`  

Was fn shape_with_iterators_and_features_and_options<'a, 'b: 'a>(&self, utf8: &str, font_run_iterator: &mut FontRunIterator, bidi_run_iterator: &mut BiDiRunIterator, script_run_iterator: &mut ScriptRunIterator, language_run_iterator: &mut... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::shaper::Shaper::shape`  

Was fn shape<'a, 'b: 'a>(&self, utf8: &str, font: &Font, left_to_right: bool, width: scalar, run_handler: &'b mut impl AsRunHandler<'a>); now fn shape(&self, utf8: &str, font: &Font, left_to_right: bool, width: scalar, run_handler: &mut... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::shaper::Shaper::shape_with_iterators`  

Was fn shape_with_iterators<'a, 'b: 'a>(&self, utf8: &str, font_run_iterator: &mut FontRunIterator, bidi_run_iterator: &mut BiDiRunIterator, script_run_iterator: &mut ScriptRunIterator, language_run_iterator: &mut LanguageRunIterator... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::shaper::Shaper::shape_with_iterators_and_features`  

Was fn shape_with_iterators_and_features<'a, 'b: 'a>(&self, utf8: &str, font_run_iterator: &mut FontRunIterator, bidi_run_iterator: &mut BiDiRunIterator, script_run_iterator: &mut ScriptRunIterator, language_run_iterator: &mut... [crates.io](https://crates.io/crates/skia-safe/0.158.0)
- **Signature changed** `skia_safe::shaper::Shaper::shape_with_iterators_and_features_and_options`  

Was fn shape_with_iterators_and_features_and_options<'a, 'b: 'a>(&self, utf8: &str, font_run_iterator: &mut FontRunIterator, bidi_run_iterator: &mut BiDiRunIterator, script_run_iterator: &mut ScriptRunIterator, language_run_iterator: &mut... [crates.io](https://crates.io/crates/skia-safe/0.158.0)

## Related packages

- [skia-bindings](https://since.dev/packages/crates/skia-bindings.md)

## 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.
