Skip to content

Commit bca7e5f

Browse files
committed
Prepare 20.0.0 release.
1 parent 508792a commit bca7e5f

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
66

77
## [Unreleased]
88

9+
## [20.0.0] - 2026-02-06
10+
911
### Added
1012

13+
- Now supports free-threaded Python, deploys with `cp314t` wheels.
1114
- Added methods: `Renderer.coordinates_from_window` and `Renderer.coordinates_to_window`
1215
- Added `tcod.event.convert_coordinates_from_window`.
1316

tcod/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ def convert_coordinates_from_window(
16001600
dest_rect: The consoles rendering destination as `(x, y, width, height)`.
16011601
If None is given then the whole rendering target is assumed.
16021602
1603-
.. versionadded:: Unreleased
1603+
.. versionadded:: 20.0
16041604
"""
16051605
if isinstance(context, tcod.context.Context):
16061606
maybe_renderer: Final = context.sdl_renderer

tcod/sdl/render.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def logical_size(self) -> tuple[int, int] | None:
492492
.. versionchanged:: 19.0
493493
Setter is deprecated, use :any:`set_logical_presentation` instead.
494494
495-
.. versionchanged:: Unreleased
495+
.. versionchanged:: 20.0
496496
Return ``None`` instead of ``(0, 0)`` when logical size is disabled.
497497
"""
498498
out = ffi.new("int[2]")
@@ -761,7 +761,7 @@ def coordinates_from_window(self, xy: tuple[float, float], /) -> tuple[float, fl
761761
.. seealso::
762762
https://wiki.libsdl.org/SDL3/SDL_RenderCoordinatesFromWindow
763763
764-
.. versionadded:: Unreleased
764+
.. versionadded:: 20.0
765765
"""
766766
x, y = xy
767767
out_xy = ffi.new("float[2]")
@@ -774,7 +774,7 @@ def coordinates_to_window(self, xy: tuple[float, float], /) -> tuple[float, floa
774774
.. seealso::
775775
https://wiki.libsdl.org/SDL3/SDL_RenderCoordinatesToWindow
776776
777-
.. versionadded:: Unreleased
777+
.. versionadded:: 20.0
778778
"""
779779
x, y = xy
780780
out_xy = ffi.new("float[2]")

0 commit comments

Comments
 (0)