Releases: pygfx/rendercanvas
v2.6.1
What's Changed
- Detect Pyodide to avoid get_asyncgen_hooks by @almarklein in #179
- Update _version.py by @almarklein in #180
Full Changelog: v2.6.0...v2.6.1
v2.6.0
This release focuses on present methods (bitmap vs screen). The bitmap present method is now async, making it much more performant. And there are changes in how the method is selected. One of these changes is that on Qt 'bitmap' is the default, which avoids many qt-specific issues.
What's Changed
- Refactor how the present_method is selected by @almarklein in #169
- Better error message for typos in kwargs to RenderCanvas by @almarklein in #167
- Update copyright year by @almarklein in #170
- Also weigh preference of context in present-method selection by @almarklein in #171
- Async bitmap present by @almarklein in #138
- Qt and wx default to bitmap present by @almarklein in #175
- Add docs on P3 behaviour of qt by @almarklein in #177
Full Changelog: v2.5.2...v2.6.0
v2.5.2
What's Changed
- Softer limits on ci to avoid spurious failures by @almarklein in #163
- Streamline internal sleep and call_later by @almarklein in #162
- Add more gui-specific tests and run on ci by @almarklein in #164
- Fix several warnings in tests by @almarklein in #165
Full Changelog: v2.5.1...v2.5.2
v2.5.1
What's Changed
- Fix asyncadapter.Event by @almarklein in #160
- fix: Override Wx.RenderCanvas.set_logical_size by @gselzer in #159
New Contributors
Full Changelog: v2.5.0...v2.5.1
v2.5.0
What's Changed
- Add
loop.call_soon_threadsafe()and re-implement precise sleep by @almarklein in #146 - Improvements to loop lifecycle by @almarklein in #152
- Run loop tests with more loop classes by @almarklein in #156
- Drop sniffio and improved limetime by @almarklein in #157
Full Changelog: v2.4.2...v2.5.0
v2.4.2
What's Changed
- Update to readme by @almarklein in #147
- More fixes to the docs. by @almarklein in #149
- Make canvas.set_logical_size lazy again by @almarklein in #148
Full Changelog: v2.4.1...v2.4.2
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