Skip to content

Commit a450bcd

Browse files
author
Sylvain MARIE
committed
1.0.0 changelog
1 parent 045452e commit a450bcd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/changelog.md

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

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+
323
### 0.5.0 - New helper function, and bugfix
424

525
New helper function `remove_signature_parameters`.

0 commit comments

Comments
 (0)