Skip to content

Commit

Permalink
2.0.0 changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain MARIE committed Nov 16, 2019
1 parent 20e419c commit f614a72
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@

**Features**

- 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).

- `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)

- 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).

**Misc**
**Misc / bugfixes**

- Major refactoring: more readable and maintainable code.


- 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.

### 1.18.0 - `@autoslots`

Expand Down

0 comments on commit f614a72

Please sign in to comment.