Releases: pwwang/python-varname
Releases Β· pwwang/python-varname
1.0.0a1
Full Changelog: 0.15.1...1.0.0a1
1.0.0
0.15.1
- chore: bump executing to v2.2.1
- feat: enhanced Subscript Support for Dynamic Indexing for varname (#119)
import varname
def func():
print(varname.varname())
x = 0
a = [object] * 5
# Before: ImproperUseError
# Now: prints a[x + 1]
a[x + 1] = func()
# Supported now:
a[x + 1 + 2] = func()
a[x == 0] = func()
a[x < 1] = func()
a[0 < x < 1] = func()
a[-x] = func()Full Changelog: 0.15.0...0.15.1
0.15.0
0.14.0
- BREAKING CHANGE: deprecate nameof (see #117 (comment))
- docs: remove deprecated nameof examples from README
- chore(deps): update asttokens to version 3.0.0 and adjust dependencies
- style: clean up unused imports and add spacing for readability for test files
- ci: update build workflow to use Ubuntu 24.04 and adjust Python version conditions
- chore(deps): add ipykernel dev dependency version 6.29.5 to run playground notebook
- chore(deps): update content-hash in poetry.lock after dependency changes
Full Changelog: 0.13.5...0.14.0
0.13.5
- deps: bump up executing to ^2.1 to fix issues with python3.13
Full Changelog: 0.13.4...0.13.5
0.13.4
- core: switch to poetry-core (#113)
- deps: bump up dependencies
- feat: support python 3.13 (#116)
- ci: use latest CI actions
- DEPRECATED: add warning to deprecate nameof in the future
What's Changed
New Contributors
Full Changelog: 0.13.3...0.13.4
0.13.3
0.13.2
0.13.1
What's Changed
- Create py.typed for mypy compatibility by @elliotgunton in #109
New Contributors
- @elliotgunton made their first contribution in #109
Full Changelog: 0.13.0...0.13.1