Skip to content

Commit f7b0598

Browse files
author
Sylvain MARIE
committed
1.6.1 changelog
1 parent 04bd2ec commit f7b0598

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 1.6.1 - Bugfix
4+
5+
- Fixed an issue with `autofields` (and therefore `autoclass` too) where a field would be mistakenly recreated on a subclass when that subclass does not define type hints while the parent class defines type hints. Fixes [#81](https://github.com/smarie/python-pyfields/issues/81)
6+
37
### 1.6.0 - we now have our own version of `@autoclass`
48

59
- Copied the relevant contents from `autoclass` so as to get rid of the dependency. Since we are in a `pyfields` context there were many things that could be dropped and remaining code could be easily copied over. Also took this opportunity to replace the dict view with a `to_dict`/`from_dict` pair of methods, this seems less intrusive in the class design. Finally the parameter names have been simplified, see [API reference](./api_reference.md#autoclass) for details. Fixes [#79](https://github.com/smarie/python-pyfields/issues/79)

0 commit comments

Comments
 (0)