Pygfx

Latest version: v0.9.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 10

0.19.0

Added:

* Overrideable constants by fyellin in https://github.com/pygfx/wgpu-py/pull/579
* Implemention for multi-draw features by fyellin in https://github.com/pygfx/wgpu-py/pull/583
* Statistics query by fyellin in https://github.com/pygfx/wgpu-py/pull/605
* Examples for asyncio and trio by almarklein in https://github.com/pygfx/wgpu-py/pull/608
* Add example that uses PySide6 with asyncio compat by almarklein in https://github.com/pygfx/wgpu-py/pull/612
* Add pre-commit hooks for ruff by claydugo in https://github.com/pygfx/wgpu-py/pull/629
* Include pre-commit in optional dependencies by claydugo in https://github.com/pygfx/wgpu-py/pull/630

Changed:

* Async API by almarklein in https://github.com/pygfx/wgpu-py/pull/598
* Renamed `request_adapter()` to `request_adapter_sync()` (old method still works with warning).
* Renamed `enumerate_adapters()` to `enumerate_adapters_sync()` (old method still works with warning).
* Renamed `request_device()` to `request_device_sync()` (old method still works with warning).
* Renamed `buffer.map()` to `buffer.map_sync()` (old method still works with warning).
* Renamed `request_device_trace` -> `request_device` by fyellin in https://github.com/pygfx/wgpu-py/pull/589
* Make depth_stencil_attachment follow the spec by fyellin in https://github.com/pygfx/wgpu-py/pull/611
* If data in `create_buffer_with_data` isn't a multiple of 4, just round up. by fyellin in https://github.com/pygfx/wgpu-py/pull/626
* Drop support for Python 3.8.

Fixed:

* Fix snake case for 1d/2d/3d suffix by almarklein in https://github.com/pygfx/wgpu-py/pull/617

Docs:

* Add note on examples by almarklein in https://github.com/pygfx/wgpu-py/pull/597
* Tweaks to examples by almarklein in https://github.com/pygfx/wgpu-py/pull/610
* Add extra version info on dev installs by almarklein in https://github.com/pygfx/wgpu-py/pull/623
* Fix small typo in README intro by otterbotter in https://github.com/pygfx/wgpu-py/pull/625

Internal changes:

* Remove _release code that's duplicated 19 times. by fyellin in https://github.com/pygfx/wgpu-py/pull/590
* Fix some small errors by fyellin in https://github.com/pygfx/wgpu-py/pull/591
* Refactor build system by almarklein in https://github.com/pygfx/wgpu-py/pull/596
* Use ruff instead of black and flake8 by almarklein in https://github.com/pygfx/wgpu-py/pull/599
* Fixes to testing by almarklein in https://github.com/pygfx/wgpu-py/pull/604
* Remove stuff that's been deprecated for a while by almarklein in https://github.com/pygfx/wgpu-py/pull/607
* Improve generated type hints and defaults by almarklein in https://github.com/pygfx/wgpu-py/pull/606
* Add better async support for wgpu-native by almarklein in https://github.com/pygfx/wgpu-py/pull/609
* Nitpicky changes flagged by PyCharm by fyellin in https://github.com/pygfx/wgpu-py/pull/613
* Python 3.13. Remove ruff flakiness by fyellin in https://github.com/pygfx/wgpu-py/pull/614
* Structure checking by fyellin in https://github.com/pygfx/wgpu-py/pull/615
* Eliminate warning in test suite by fyellin in https://github.com/pygfx/wgpu-py/pull/621
* Fix install of mesa drivers by almarklein in https://github.com/pygfx/wgpu-py/pull/622
* Only keep alive those objects that are necessary. by fyellin in https://github.com/pygfx/wgpu-py/pull/628
* Refactor canvas context to allow presenting as image by almarklein in https://github.com/pygfx/wgpu-py/pull/586
* Prevent extra errors when canvascontext creation fails by almarklein in https://github.com/pygfx/wgpu-py/pull/635

0.18.1

Added:

* Add support for push constants (a wgpu native extension).

Fixed:

* Fixed jupyter gui backend.

0.18.0

Added:

* Now also building wheels for Windows aarch64.

Changed:

* Updated to latest wgpu-native (v22.1.0.5).

Fixed:

* Various typos in the docs.
* Fixed the wheels for 32bit Windows.

0.17.3

Added:

* Support for occlusion queries.
* Support for render bundles.
* Support for IMGUI, via `wgpu.utils.imgui`.
* Wx is now a fully supported GUI backend.
* A `BaseEnum` class was added to `wgpu.utils`, so it can be used in downstream libs like pygfx.
* The `WGPUCanvas.add_event_handler()` method now has an `order` arg.

Changed:

* The flags and enums are implemented using a new enum class, enabling better static code analysis (i.e. autocompletion in IDE's).
* Native (desktop) features must now be specified in the same way as normal (WebGPU) features: lowercase and with hyphens between the words.
* Bindings can omit offset and size (the full size will be used). This makes our API follow WebGPU better.
* Support omitting fields from `BindGroupLayoutEntry`, `BufferBindingLayout`, `SamplerBindingLayout`, `StorageTextureBindingLayout`, `VertexState`. See https://github.com/pygfx/wgpu-py/pull/534 for details.
* In cases where a `view_dimension` is given, it must be provided as a string (e.g. '2d'). Ints are no longer allowed, because e.g. 2 does *not* mean '2d', which can be a source of confusion.

(Due to problems with the CD process, we had to bump the version a few times.)

0.16.0

Changed:

* Updated to wgpu-native 0.19.4.1. Does not incur API changes.
* Updated to latest IDL.
* Replaced the `adapter.request_adapter_info()` method with the `adapter.info` property.


Changed:

* The `Adapter.request_adapter_info()` method is replaced by the `.info` property.

0.15.3

Added:

* Implement `canvas.set_title()` by almarklein in https://github.com/pygfx/wgpu-py/pull/508
* Add experimental support for `get_mapped_range()` by almarklein in https://github.com/pygfx/wgpu-py/pull/522

Changed:

* Allow `create_render_pipeline()` to use `AutoLayout` by fyellin in https://github.com/pygfx/wgpu-py/pull/500
* Support omitting the `topology` field in the `primitive` dict passed to `create_render_pipeline()` by fyellin in https://github.com/pygfx/wgpu-py/pull/503
* Support omitting last arguments in `set_bind_group()` by panxinmiao in https://github.com/pygfx/wgpu-py/pull/511
* Try to optimize proxy_func by almarklein in https://github.com/pygfx/wgpu-py/pull/507

Fixed:

* Fix wx examples by panxinmiao in https://github.com/pygfx/wgpu-py/pull/520
* Support timestamp queryset for `begin_render_pass()` by almarklein in https://github.com/pygfx/wgpu-py/pull/505
* Implement `destroy()` the right way by almarklein in https://github.com/pygfx/wgpu-py/pull/519

Page 2 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.