We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97bf90b commit aabc930Copy full SHA for aabc930
CHANGES.rst
@@ -1,6 +1,24 @@
1
Changes
2
=======
3
4
+0.6.0
5
+-----
6
+
7
+Modernised the type annotations used in the ``targ`` codebase (e.g. using
8
+``list[str]`` instead of ``List[str]``). This is possible because we no longer
9
+support Python 3.8. Thanks to @sinisaos for this.
10
11
+Added support for the new union syntax (e.g. ``str | None``). So targ now
12
+works with both of these:
13
14
+.. code-block:: python
15
16
+ def say_hello(name: Optional[str]):
17
+ print(f'Hello {name}' if name else 'Hello')
18
19
+ def say_hello(name: str | None):
20
21
22
0.5.0
23
-----
24
0 commit comments