Skip to content

Commit

Permalink
bump: version 0.5.2 → 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
15r10nk committed Oct 9, 2024
1 parent f42aac9 commit 7dd6676
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
## v0.6.0 (2024-10-09)

### Feat

- more variation in string constants
- start to support 3.13

### Fix

- fixed typing
- correct probability spelling
- { and } are not allowed in formatspec, because they can not be escaped
- asynchronous comprehension in TypeVar.bound
- asynchronous comprehension outside of an asynchronous function
- no async code in type annotations
- the same varibale can be declared global multiple times
- Starred expression inside ClassDef.bases
- named expression cannot be used within a TypeVar bound
- no async generators in type aliases
- allow await in generator expressions
- dict comprehension is a valid base class
- named expression is a valid base class
- allow SetComp in type-scope
- lambda is valid inside annotations
- made generator expressions valid inside class bases and type annotations
- allow ListComp in type-scope
- named-expressions inside list-comprehensions use the outside scope
- restrict match value patterns
- variable can not be nonlocal if it is declared global in the parent scope
- count MatchStar variables as none usable global names
- non default type params before type params with default values

## v0.5.2 (2024-04-23)

### Fix
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "pysource-codegen"
version= "0.5.2"
version= "0.6.0"
description = 'generate random python code to test linter/formatter/and other tools'
readme = "README.md"
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion src/pysource_codegen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__all__ = ("generate",)

__version__ = "0.5.2"
__version__ = "0.6.0"

0 comments on commit 7dd6676

Please sign in to comment.