You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changelog.md
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,25 @@
1
1
# Changelog
2
2
3
+
### 1.0.0 - New parameters, new goodie, and bugfix
4
+
5
+
`@with_signature` :
6
+
7
+
- now exposes all options of `create_function`. Fixed [#12](https://github.com/smarie/python-makefun/issues/12).
8
+
- now correctly sets the module name by default. Fixes [#13](https://github.com/smarie/python-makefun/issues/13)
9
+
- now accepts `None` as the new `func_signature` to declare that the signature is identical to the decorated function. This can be handy to just change the docstring or module name of a function for example. Fixes [#15](https://github.com/smarie/python-makefun/issues/15)
10
+
11
+
12
+
`create_function` and `@with_signature`:
13
+
14
+
- New `modulename` parameter to override the module name. Fixes [#14](https://github.com/smarie/python-makefun/issues/14)
15
+
- the handler is now available as a field of the generated function (under `__call_handler__`). New `addhandler` parameter (default: True) controls this behaviour. Fixes [#16](https://github.com/smarie/python-makefun/issues/16)
16
+
17
+
18
+
Misc:
19
+
20
+
- New goodie to manipulate signatures: `add_signature_parameters`.
21
+
- Fixed dependencies for documentation auto-build.
22
+
3
23
### 0.5.0 - New helper function, and bugfix
4
24
5
25
New helper function `remove_signature_parameters`.
0 commit comments