Releases: pygfx/rendercanvas
v2.4.1
Summary
This minor release fixes some regressions related to sizes that were introduced in earlier refactorings. It also brings back support for custom contexts (but not via the hook we had earlier).
What's Changed
Fixes:
- Size inits as (1,1) and logical size is applied early by @almarklein in #141
- Better support for custom contexts by @almarklein in #142
- Resolve incompatible char events by @almarklein in #143
- Bump pyscript in docs and examples by @Vipitis in #136
Additions:
- Add notes on performance for Qt bitmap present by @almarklein in #139
- Allow displaying frame-time in ms in title ($ms instead of $fps) by @almarklein in #140
Full Changelog: v2.4.0...v2.4.1
v2.4.0
Summary
Support for Pyodide!! 🚀 And laying foundation for improved remote contexts, by implementing the contexts here instead of in wgpu-py.
What's Changed
- Also run unit tests without wgpu by @almarklein in #131
- Support for Pyodide and PyScript by @Vipitis in #115
- Implement own context classes by @almarklein in #127
- Refactor internal _set_size_info() by @almarklein in #132
- Small type tweaks by @almarklein in #133
Full Changelog: v2.3.0...v2.4.0
v2.3.0
Summary
This release drops support for async event handlers, makes sure that the user-code is up-to-date with the canvas size before a draw, has better support for static typing, and much more ...
What's Changed
- Drop support for py39 by @almarklein in #108
- Typed enums by @almarklein in #112
- Improve typing by @almarklein in #113
- Adjust high DPI scaling handling for Qt 6 to avoid deprecation warning by @hmaarrfk in #116
- Add logo to readme by @almarklein in #118
- Async event handlers are no longer allowed by @almarklein in #119
- Add example that shows dragging by @almarklein in #121
- Refactor resizing logic and avoid mismatch between last resize event and draw by @almarklein in #120
- Added support for set_pixel_ratio to offscreen canvas by @almarklein in #122
- Tweak internal resize logic by @almarklein in #128
- log_exception context manager avoids spamming by not logging every exception by @almarklein in #126
- Add docs on physical-size, logical-size and pixel-ratio to guide by @almarklein in #129
New Contributors
Full Changelog: v2.2.1...v2.3.0
v2.2.1
What's Changed
- Fix for Wayland set_logical_size by @almarklein in #103
- Add some docs on pixel ratio by @almarklein in #104
- Update _version.py by @almarklein in #106
- Switch to trusted publishing for PyPI publish in CI by @EpicWink in #110
- Reach FPS closer to max_fps on Windows by @almarklein in #109
New Contributors
Full Changelog: v2.2.0...v2.2.1
v2.2.0
What's Changed
- Do not emit repeated
key_downandkey_upevents by @SpicyRicecaker in #94 - fix PageUp key event by @Vipitis in #96
- Allow unparented WxRenderWidget by @almarklein in #92
- Allow user to select preferred format for offscreen canvas by @almarklein in #97
- Disallow max_fps=-1 by @almarklein in #99
New Contributors
- @SpicyRicecaker made their first contribution in #94
- @Vipitis made their first contribution in #96
Full Changelog: v2.1.2...v2.2.0
v2.1.2
What's Changed
- Fix pointer up outside glfw window by @almarklein in #90
Full Changelog: v2.1.1...v2.1.2
v2.1.1
What's Changed
- Fix that set_update_mode does not work for wrapper canvases by @almarklein in #87
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- Prevent jupyter backend from submitting events that rendercanvas does not (yet) know by @almarklein in #82
- Add pointer_enter and pointer_leave events by @almarklein in #80
- Small optimization in checking event type by @almarklein in #84
- Add canvas.set_cursor() by @almarklein in #81
- Add canvas.set_update_mode() by @almarklein in #83
- Add type hints for the public API by @almarklein in #85
Full Changelog: v2.0.4...v2.1.0
v2.0.4
What's Changed
- Better canvas cleanup, avoids segfaults on some systems with glfw+wgpu by @almarklein in #73
- Improve HDR support by @almarklein in #75
Full Changelog: v2.0.3...v2.0.4
v2.0.3
What's Changed
- Hide bitmap warning when explicitly picked by @tlambert03 in #67
- Fix AttributeError on present() "fail" case by @rafaelbeckel in #68
- GLFW window start at correct size and draw during resize by @almarklein in #70
- Fix that WinIdChange event is in a different place on pyqt by @almarklein in #71
New Contributors
- @tlambert03 made their first contribution in #67
- @rafaelbeckel made their first contribution in #68
Full Changelog: v2.0.2...v2.0.3