Skip to content

Commit f614a72

Browse files
author
Sylvain MARIE
committed
2.0.0 changelog
1 parent 20e419c commit f614a72

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/changelog.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@
44

55
**Features**
66

7+
- default string representation in `@autodict` is now more readable. Legacy representation is still available through a parameter. Fixed [#29](https://github.com/smarie/python-autoclass/issues/29).
8+
79
- `pyfields` can now be used as the source for the list of attributes, in `@autohash`, `@autodict`, and `@autoclass`. Fixes [#28](https://github.com/smarie/python-autoclass/issues/28)
10+
11+
- new `@autorepr` decorator. Previously this feature was only available through `@autodict`, it can now be used without it. `autorepr` is supported in `@autoclass`, and if users set `autodict=False` by default it will be enabled. Fixed Fixed [#30](https://github.com/smarie/python-autoclass/issues/30) and [#31](https://github.com/smarie/python-autoclass/issues/31).
812

9-
**Misc**
13+
**Misc / bugfixes**
1014

1115
- Major refactoring: more readable and maintainable code.
12-
16+
17+
- Fixed `@autodict` behaviour when the list was `vars(self)` and used together with `@autoprops`: with some options the private names were appearing and with others the public property names were appearing. Now the public property names always appear if they exist.
1318

1419
### 1.18.0 - `@autoslots`
1520

0 commit comments

Comments
 (0)