File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33See Git checking messages for full history.
44
5- ## 8 .0.4 (2023/xx/xx )
5+ ## 9 .0.0 (2023/04/18 )
66- Linux: add failure handling to ` XOpenDisplay() ` call (fixes #246 )
77- Mac: tiny improvement in moniors finding
88- Windows: refactored how internal handles are stored (fixes #198 )
9- - Windows: removed side effects when leaving the context manager, resources are all freed
10- - CI: run tests via xvfb-run on GitHub Actions (#248 )
11- - tests: enhance `` test_get_pixels.py ` ` , and try to fix a random failure at the same time (related to #251 )
9+ - Windows: removed side effects when leaving the context manager, resources are all freed (fixes # 209 )
10+ - CI: run tests via ` xvfb-run ` on GitHub Actions (#248 )
11+ - tests: enhance ` test_get_pixels.py ` , and try to fix a random failure at the same time (related to #251 )
1212- tests: use ` PyVirtualDisplay ` instead of ` xvfbwrapper ` (#249 )
1313- tests: automatic rerun in case of failure (related to #251 )
1414- :heart : contributors: @mgorny , @CTPaHHuK-HEbA
Original file line number Diff line number Diff line change 11# Technical Changes
22
3+ ## 9.0.0 (2023-04-18)
4+
5+ ### linux.py
6+ - Removed ` XEvent ` class. Use ` XErrorEvent ` instead.
7+
8+ ### windows.py
9+ - Added ` MSS.close() ` method
10+ - Removed ` MSS.bmp ` attribute
11+ - Removed ` MSS.memdc ` attribute
12+
313## 8.0.3 (2023-04-15)
414
515### linux.py
1727### linux.py
1828- Added ` MSS.close() `
1929- Moved ` MSS.__init__() ` keyword arguments handling to the base class
20- - Renamed ` error_handler() ` function to ` __error_handler ()`
21- - Renamed ` _validate ()` function to ` ___validate ()`
30+ - Renamed ` error_handler() ` function to ` _error_handler ()`
31+ - Renamed ` validate ()` function to ` __validate ()`
2232- Renamed ` MSS.has_extension() ` method to ` _is_extension_enabled() `
2333- Removed ` ERROR ` namespace
2434- Removed ` MSS.drawable ` attribute
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ GNU/Linux
4545
4646 Structure that serves as the connection to the X server, and that contains all the information about that X server.
4747
48- .. class :: Event
48+ .. class :: XErrorEvent
4949
5050 XErrorEvent to debug eventual errors.
5151
Original file line number Diff line number Diff line change 11[metadata]
22name = mss
3- version = 8 .0.4
3+ version = 9 .0.0
44author = Mickaël ' Tiger-222' Schoentgen
55author_email = contact@tiger-222.fr
66description = An ultra fast cross-platform multiple screenshots module in pure python using ctypes.
Original file line number Diff line number Diff line change 1111from .exception import ScreenShotError
1212from .factory import mss
1313
14- __version__ = "8 .0.4 "
14+ __version__ = "9 .0.0 "
1515__author__ = "Mickaël 'Tiger-222' Schoentgen"
1616__copyright__ = """
1717Copyright (c) 2013-2023, Mickaël 'Tiger-222' Schoentgen
Original file line number Diff line number Diff line change @@ -65,10 +65,6 @@ class XErrorEvent(Structure):
6565 ]
6666
6767
68- # TODO: remove in v9.0.0
69- Event = XErrorEvent
70-
71-
7268class XFixesCursorImage (Structure ):
7369 """
7470 Cursor structure.
You can’t perform that action at this time.
0 commit comments