Skip to content

Commit de5d845

Browse files
committed
Prepare 18.0.0 release.
1 parent c176a6f commit de5d845

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [18.0.0] - 2025-04-08
10+
911
### Changed
1012

1113
- `Console.print` now accepts `height` and `width` keywords and has renamed `string` to `text`.

tcod/console.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ def print( # noqa: PLR0913
10901090
10911091
`x` and `y` are now always used as an absolute position for negative values.
10921092
1093-
.. versionchanged:: Unreleased
1093+
.. versionchanged:: 18.0
10941094
10951095
Deprecated giving `string`, `fg`, `bg`, and `bg_blend` as positional arguments.
10961096
@@ -1285,7 +1285,7 @@ def draw_frame( # noqa: PLR0913
12851285
.. versionchanged:: 13.0
12861286
`x` and `y` are now always used as an absolute position for negative values.
12871287
1288-
.. versionchanged:: Unreleased
1288+
.. versionchanged:: 18.0
12891289
Deprecated `clear`, `fg`, `bg`, and `bg_blend` being given as positional arguments.
12901290
These should be keyword arguments only.
12911291
@@ -1418,7 +1418,7 @@ def draw_rect( # noqa: PLR0913
14181418
.. versionchanged:: 13.0
14191419
`x` and `y` are now always used as an absolute position for negative values.
14201420
1421-
.. versionchanged:: Unreleased
1421+
.. versionchanged:: 18.0
14221422
Deprecated `ch`, `fg`, `bg`, and `bg_blend` being given as positional arguments.
14231423
These should be keyword arguments only.
14241424
"""

tcod/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ class EventDispatch(Generic[T]):
12521252
This is now a generic class.
12531253
The type hints at the return value of :any:`dispatch` and the `ev_*` methods.
12541254
1255-
.. deprecated:: Unreleased
1255+
.. deprecated:: 18.0
12561256
Event dispatch should be handled via a single custom method in a Protocol instead of this class.
12571257
Note that events can and should be handled using Python's `match` statement.
12581258

0 commit comments

Comments
 (0)