What's Changed
Release 0.20.0 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.20.0
What's Changed
- ⚡️ Speed up method
AssertCleanup.transform_assertsby 25% by @codeflash-ai[bot] in #1034 - simplify E2E replay test to reduce load in CI by @KRRT7 in #1033
- Add numba and tensorflow in test dependency group by @aseembits93 in #1038
- Disable Line Profiler Execution when dealing with a jit compiled function by @aseembits93 in #1020
- Optimization effort by @mohammedahmed18 in #978
- Non-CPU device synchronization for accurate profiling by @aseembits93 in #1015
- refresh lockfile by @KRRT7 in #1032
- More stringent unit tests for gpu-instrumentation by @aseembits93 in #1044
- Update docs by @mashraf-222 in #1047
- fix: validate if trace_file exists by @KRRT7 in #1030
- upgrade cli to review prompt changes by @Saga4 in #1043
- feat: add --limit option to codeflash optimize -m pytest by @KRRT7 in #1031
- Comparator for torch.device by @aseembits93 in #1053
- AST Parser for detecting numerical code (numpy/scipy/torch/tensorflow/jax/numba) by @aseembits93 in #1051
- AST parser for detecting common jit decorators by @aseembits93 in #1048
- display RO / RW context (--verbose) by @KRRT7 in #1054
- fix: improve error handling in get_blocklisted_functions by @KRRT7 in #1029
- JIT rewrite endpoint for testgen more suitable for JIT compiled functions by @aseembits93 in #1055
- fix --benchmark not working on codeflash itself by @KRRT7 in #1028
- feat: add --server flag and set local AI service timeout by @KRRT7 in #1042
- fix: validate CrossHair-generated tests before use by @KRRT7 in #1103
- ⚡️ Speed up method
TestFiles.get_test_type_by_original_file_pathby 73% in PR #1086 (fix-path-resolution/no-gen-tests) by @codeflash-ai[bot] in #1102 - ⚡️ Speed up method
TestFiles.get_by_original_file_pathby 702% in PR #1086 (fix-path-resolution/no-gen-tests) by @codeflash-ai[bot] in #1101 - bring Claude.md in by @KRRT7 in #1121
- FIX: --no-gen-tests Flag Causes Path Resolution Error with Module-Root by @mashraf-222 in #1086
- add vsc extension docs by @mashraf-222 in #1083
- [Feat] Add a line profiler for VS Code by @HeshamHM28 in #1111
- Comparator for wrapped exceptions by @aseembits93 in #1120
- extend comparator to pytest temp paths by @aseembits93 in #1112
- reduce invalid crosshair tests noise by @KRRT7 in #1146
- Extend comparator to numba data types by @aseembits93 in #1114
- feat: concurrency-aware async benchmarking by @KRRT7 in #1023
- extend comparator support for np.clongdouble by @aseembits93 in #1115
- Bump wheel from 0.45.1 to 0.46.2 by @dependabot[bot] in #1142
- feat: clarify improvement type in async optimization display by @KRRT7 in #1149
- ⚡️ Speed up function
detect_unused_helper_functionsby 15% in PR #1166 (skyvern-grace) by @codeflash-ai[bot] in #1169 - Disable jit during tracing by @aseembits93 in #1164
- feat: improve dependency tracking and base class extraction by @KRRT7 in #1166
- support MappingProxyType by @KRRT7 in #1147
- chore: add tessl registry for AI agent library docs by @KRRT7 in #1170
- release/v0.20 by @aseembits93 in #1173
New Contributors
- @dependabot[bot] made their first contribution in #1142
Full Changelog: v0.19.1...v0.20.0