Skip to content

Commit 1b5b56f

Browse files
committed
Merge branch 'v1.x'
2 parents bc6fe11 + 9fd8a30 commit 1b5b56f

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,6 @@ raised exceptions, and other details.
513513
514514
### main (v2.0.0)
515515
516-
* Add support for Python 3.14.
517516
* Drop support for Python 3.8 and Python 3.9. **(Breaking change)**
518517
* Drop support for Python 3.8's neutered TypedDict,
519518
which lacks metadata present in later versions.
@@ -523,6 +522,13 @@ raised exceptions, and other details.
523522
* Drop support for mypy_extensions.TypedDict, since it was deprecated in Aug 2023.
524523
**(Breaking change)**
525524
525+
### v1.3.0
526+
527+
* Add support for Python 3.14.
528+
([#35](https://github.com/davidfstr/trycast/issues/35))
529+
* Support parameterized TypedDicts, like `Point[int]`.
530+
([#28](https://github.com/davidfstr/trycast/issues/28))
531+
526532
### v1.2.1
527533
528534
* Fix `checkcast()` to declare that it returns a `T` rather than `T | None`.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "trycast"
3-
version = "1.2.1" # publish: version
3+
version = "1.3.0" # publish: version
44
description = ""
55
authors = ["David Foster <david@dafoster.net>"]
66
license = "MIT"

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2911,7 +2911,7 @@ def convert_union(match: "re.Match[str]") -> str:
29112911
converted = re.sub(r"Union\[([^\]]+)\]", convert_union, template)
29122912
return [converted]
29132913
else:
2914-
# Python <3.14
2914+
# Python 3.10 - 3.13
29152915
return [template]
29162916

29172917

0 commit comments

Comments
 (0)