Changelog History
Page 2
-
v19.1.0 Changes
January 17, 2019โ Add
--omit-existing-annotations
option, implied byapply
. Merge of129. Fixes #11 and #81.
๐ Render
...
for all parameter defaults in stubs. Remove the--include-unparsable-defaults
and--exclude-unparsable-defaults
CLI options, as well as theinclude_unparsable_defaults()
config method. Merge of #128, fixes #123.๐ Render forward references (from existing annotations) correctly. Merge of #127.
๐ Rewrite
Generator[..., None, None]
toIterator[None]
by default. Merge of110, fixes #4. Thanks iyanuashiri.
-
v18.8.0 Changes
August 20, 2018๐ Support Python 3.7. Merge of #107, fixes #78.
๐ Print useful error message when filename is passed to stub/apply. Merge of
88, fixes #65. Thanks rajathagasthya.
๐ Fix crash in
list_modules
when there are no traces. Merge of #106, fixes90. Thanks tyrinwu.
๐ Enable
python -m monkeytype {run,stub,apply} ...
. Merge of #100, fixes99. Thanks retornam.
-
v18.5.1 Changes
May 23, 2018Add
MONKEYTYPE_TRACE_MODULES
env var for easier tracing of code in site-packages. Merge of #83, fixes #82. Thanks Bo Peng.๐ Fix passing additional arguments to scripts run via
monkeytype run
. Merge of #85. Thanks Danny Qiu.๐ Fix handling of spaces in filenames passed to retype. Merge of #79, fixes
77.
๐ Never render NoneType in stubs, substitute None. Merge of #75, fixes #5. Thanks John Arnold.
-
v18.2.0 Changes
February 13, 2018Move filtering of
__main__
module into CallTraceStoreLogger instead of core tracing code, so it can be overridden by special use cases like IPython tracing. Merge of #72, fixes #68. Thanks Tony Fast.Generate stubs for modules where the module file is like module/init.py. Print retype stdout/stderr. Merge of #69, Fixes #66. Thanks John Arnold.
-
v18.1.13 Changes
January 30, 2018๐ Improve error messages in case of "no traces found" and/or file path given instead of module name. Merge of #37, partial fix for #65. Thanks Aarni Koskela.
โ Add
monkeytype list_modules
sub-command to list all modules present in trace db. Merge of #61, fixes #60. Thanks Alex Miasoiedov.โ Add
--diff
option tomonkeytype stub
. Merge of #59, fixes #58. Thanks Tai-Lin!โ Add
--ignore-existing-annotations
option tomonkeytype stub
. Merge of55, fixes #15. Thanks Tai-Lin!
-
v18.1.11 Changes
- ๐ Fix crash in RewriteEmptyContainers rewriter if a parameter has only empty container types in traces (and more than one). Fixes #53.
-
v18.1.10 Changes
๐ Display retype errors when stub application fails. Merge of #52, fixes #49.
โ Add
--sample-count
option to show the number of traces a given stub is based on. Merge of #50, fixes #7. Thanks Tai-Lin.โ Add
monkeytype run -m
for running a module as a script. Merge of41. Thanks Simon Gomizelj.
โ Add support for Django's
cached_property
decorator. Merge of #46, fixes9. Thanks Christopher J Wang.
๐ Catch and log serialization exceptions instead of crashing. Fixes #38, merge of #39.
๐ Fix bug in default code filter when Python lib paths are symlinked. Merge of
40. Thanks Simon Gomizelj.
-
v17.12.3 Changes
๐ Rewrite imports from _io module to io. (#1, merge of #32). Thanks Radhans Jadhao.
โ Add Config.cli_context() as a hook for custom CLI initialization and cleanup logic (#28; merge of #29). Thanks Rodney Folz.
-
v17.12.2 Changes
0๏ธโฃ Exclude "frozen importlib" functions in default code filter.
๐ Fix passing args to script run with
monkeytype run
(#18; merge of21). Thanks Rodney Folz.
๐ Fix generated annotations for NewType types (#22; merge of #23). Thanks Rodney Folz.
-
v17.12.1 Changes
- ๐ Fix using MonkeyType outside a virtualenv (#16). Thanks Guido van Rossum for the report.