Skip to content

Commit bdce242

Browse files
committed
πŸ”– 0.11.2
1 parent ae8fb8f commit bdce242

File tree

4 files changed

+37
-41
lines changed

4 files changed

+37
-41
lines changed

β€Ždocs/CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Change Log
22

3+
## v0.11.2
4+
5+
- ✨ Add `jsobj` to create dict without explicitly specifying the key-value pairs
6+
7+
```python
8+
from varname.helpers import jsobj
9+
10+
a = 1
11+
b = 2
12+
# before
13+
dict(a=a, b=b, c=3) # {'a': 1, 'b': 2, 'c': 3}
14+
15+
# after
16+
jsobj(a, b, c=3) # {'a': 1, 'b': 2, 'c': 3}
17+
```
18+
319
## v0.11.1
420

521
- ✨ Support starred variable for varname() (#96)

β€Žpoetry.lock

+19-39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"
44

55
[tool.poetry]
66
name = "varname"
7-
version = "0.11.1"
7+
version = "0.11.2"
88
description = "Dark magics about variable names in python."
99
authors = [ "pwwang <[email protected]>",]
1010
license = "MIT"

β€Žvarname/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
)
1414
from .core import varname, nameof, will, argname
1515

16-
__version__ = "0.11.1"
16+
__version__ = "0.11.2"

0 commit comments

Comments
Β (0)