---
title: "pygfx 0.18.0 Breaking Changes on PyPI | Since.dev"
description: "What each pygfx release removed, renamed or changed: 9 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pygfx
last_updated: 2026-12-04
---

# pygfx breaking changes

pygfx 0.18.0 (November 17, 2026) is its newest release with breaking changes, 9 of them. The first: pygfx 0.18.0 requires Python 3.11 or later. Every breaking API change we have recorded in pygfx on PyPI: 9 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.18.0`, released November 17, 2026. [Source repository](https://github.com/pygfx/pygfx)

Its 0.18.0 release requires [Python 3.11](https://since.dev/calendar/python/3.11.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

## pygfx 0.18.0 breaking changes

pygfx 0.18.0, released November 17, 2026: 9 breaking changes.

- **Removed**  

Python versions below 3.11 are no longer the minimum supported version, so users on older Python must upgrade to 3.11 or later. [github.com](https://github.com/pygfx/pygfx/releases/tag/v0.18.0)
- **Removed** `pygfx.renderers.wgpu.engine.blender.Blender.get_depth_descriptor`  

Blender.get_depth_descriptor was removed in pygfx 0.18.0 [pypi.org](https://pypi.org/project/pygfx/0.18.0/)
- **Renamed** `pygfx.renderers.wgpu.engine.blender.Blender.get_depth_attachment`  

Use Blender.get_depth_stencil_attachment instead. [pypi.org](https://pypi.org/project/pygfx/0.18.0/)
- **Signature changed** `pygfx.EventTarget.add_event_handler`  

Was def add_event_handler(self, \*args); now def add_event_handler(self, \*args, weak=False). [pypi.org](https://pypi.org/project/pygfx/0.18.0/)
- **Signature changed** `pygfx.renderers.wgpu.engine.blender.Blender.__init__`  

Was def \_\_init\_\_(self, \*, enable_pick=True, enable_depth=True); now def \_\_init\_\_(self, \*, enable_pick=True, enable_depth=True, enable_stencil=False, color_precision='uint8'). [pypi.org](https://pypi.org/project/pygfx/0.18.0/)
- **Signature changed** `pygfx.utils.compute.ComputeShader.set_resource`  

Was def set_resource(self, index: int, resource: Union\[gfx.Buffer, gfx.Texture, wgpu.GPUBuffer, wgpu.GPUTexture\], \*, clear=False); now def set_resource(self, index: int, resource: Union\[gfx.Buffer, gfx.Texture, wgpu.GPUBuffer... [pypi.org](https://pypi.org/project/pygfx/0.18.0/)
- **Signature changed** `pygfx.utils.renderfunctionregistry.Material.__init__`  

Was def \_\_init\_\_(self, \*, opacity: float = 1, clipping_planes: Sequence\[ABCDTuple\] = (), clipping_mode: Literal\['ANY', 'ALL'\] = 'ANY', alpha_mode: Optional\[str\] = 'auto', alpha_config: Optional\[dict\] = None, depth_test: bool = True... [pypi.org](https://pypi.org/project/pygfx/0.18.0/)
- **Signature changed** `pygfx.WgpuRenderer.__init__`  

Was def \_\_init\_\_(self, target, \*args, pixel_scale=None, pixel_ratio=None, pixel_filter: PixelFilter = 'mitchell', show_fps=False, sort_objects=True, enable_events=True, gamma_correction=1.0, ppaa='default', \*\*kwargs); now def... [pypi.org](https://pypi.org/project/pygfx/0.18.0/)
- **Signature changed** `pygfx.WgpuRenderer.clear`  

Was def clear(self, \*, all=False, color=False, depth=False, weights=False); now def clear(self, \*, all=False, color=False, depth=False, stencil=False, weights=False). [pypi.org](https://pypi.org/project/pygfx/0.18.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.
