Skip to content

Commit 33dd56d

Browse files
author
Sylvain MARIE
committed
1.7.0 changelog
1 parent 517b19d commit 33dd56d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/changelog.md

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

3+
### 1.7.0 - Better support for non-deep-copiable default values in `@autofields`
4+
5+
- `@autofields` and `@autoclass` now raise an error when a field definition can not be valid, because the default value can not be deep-copied. This will help users detect issues such as [#84](https://github.com/smarie/python-pyfields/issues/84) earlier. Implementation is done through a new `autocheck` option in the `copy_value` factory.
6+
7+
- `@autofields` and `@autoclass` now provide an `exclude` (resp. `af_exclude`) list, to list names for fields that should not be created. By default this contains a reserved name from `abc.ABCMeta`, for convenience. Fixes [#84](https://github.com/smarie/python-pyfields/issues/84).
8+
9+
310
### 1.6.2 - CI/CD migration
411

512
- This is a technical release with no code change, to validate the new Github Actions workflow.

0 commit comments

Comments
 (0)