Releases: codeflash-ai/codeflash
Release v0.20.3
What's Changed
Release 0.20.3 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.20.3
What's Changed
- feat: add JaCoCo test coverage support for Java optimization by @misrasaurabh1 in #1224
- fix: handle NOT_FOUND coverage status in Java multi-module projects by @misrasaurabh1 in #1229
- ⚡️ Speed up function
get_optimized_code_for_moduleby 2,599% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1240 - feat: add inner loop and compile-once-run-many optimization for Java benchmarking by @misrasaurabh1 in #1245
- fix: Java security and validation improvements by @HeshamHM28 in #1267
- feat: add import-based test discovery for Java by @misrasaurabh1 in #1268
- fix: update Java Comparator to read from test_results table by @mashraf-222 in #1272
- fix: add JSON-aware comparison to Python comparator fallback by @mashraf-222 in #1276
- Revert "fix: add JSON-aware comparison to Python comparator fallback" by @mashraf-222 in #1278
- test: add integration tests for test_results schema validation by @mashraf-222 in #1273
- [Fix] Reading config fille by @HeshamHM28 in #1287
- ⚡️ Speed up function
_add_behavior_instrumentationby 22% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1294 - Fix Java test path duplication when tests_root includes package path by @HeshamHM28 in #1282
- feat: implement Java assertion removal transformer by @misrasaurabh1 in #1295
- fix: add Java patterns to instrumented test file cleanup by @mashraf-222 in #1338
- fix: increase Java test timeout from 15s to 120s by @mashraf-222 in #1337
- [feat] Java verbose logging by @HeshamHM28 in #1348
- fix: prevent Maven running all tests + fix TestFile type annotation by @mashraf-222 in #1345
- fix: set tests_project_rootdir to tests_root for Java projects (Bug #2) by @mashraf-222 in #1341
- fix: route Java/JavaScript/TypeScript to Optimizer instead of Python tracer by @mashraf-222 in #1398
- [WIP] [FEAT] kryo serialization by @HeshamHM28 in #1390
- ⚡️ Speed up function
_get_test_module_target_dirby 43% in PR #1401 (fix/behavioral-equivalence-improvements) by @codeflash-ai[bot] in #1403 - fix: correct return value order in Java test_runner for coverage by @aseembits93 in #1417
- fix: prevent duplicate and wrong test-to-function associations in Java by @mashraf-222 in #1279
- Add concurrency pattern detection for Java optimization by @mashraf-222 in #1283
- Add line profiling for Java optimization by @mashraf-222 in #1281
- fix: wire Java formatter into detection pipeline by @mashraf-222 in #1400
- fix: detect and log Java compilation failures explicitly by @mashraf-222 in #1394
- fix: show actual test file paths in failure log by @mashraf-222 in #1393
- ⚡️ Speed up function
_extract_modules_from_pom_contentby 18% in PR #1401 (fix/behavioral-equivalence-improvements) by @codeflash-ai[bot] in #1434 - feat: Maven infrastructure and behavioral equivalence improvements by @mashraf-222 in #1401
- fix pom.xml by @HeshamHM28 in #1435
- fix: correct Java test file path generation for Maven structure by @mashraf-222 in #1436
- [FIX] java assertion transformer by @HeshamHM28 in #1450
- [FIX] JAVA line profiler attrs by @HeshamHM28 in #1449
- ⚡️ Speed up method
JavaAssertTransformer._generate_exception_replacementby 14% in PR #1443 (fix/java-exception-assignment-instrumentation) by @codeflash-ai[bot] in #1445 - ⚡️ Speed up method
JavaAssertTransformer._detect_variable_assignmentby 33% in PR #1443 (fix/java-exception-assignment-instrumentation) by @codeflash-ai[bot] in #1444 - fix: handle assertThrows variable assignment in Java instrumentation by @mashraf-222 in #1443
- fix: update failing unit tests in omni-java to match current behavior by @mashraf-222 in #1455
- fix: Java line profiler timeout and test categorization by @mashraf-222 in #1470
- fix(java): fix Java instrumentation, JPMS, and timeout bugs by @HeshamHM28 in #1472
- fix/e2e runtime java by @Saga4 in #1482
- fix: Java behavior test execution in multi-module Maven projects by @mashraf-222 in #1480
- fix/e2e runtime java by @Saga4 in #1483
- Replace Regex with tree-sitter by @HeshamHM28 in #1495
- [Fix] Java asserts removal by @HeshamHM28 in #1501
- fix: use tree-sitter name-based lookup for Java function extraction by @mashraf-222 in #1511
- [Fix] Java falling tests by @HeshamHM28 in #1496
- Instrumentation fixes by @misrasaurabh1 in #1517
- ⚡️ Speed up function
_format_skeleton_for_contextby 13% in PR #1514 (fix/java-e2e-critical-bugs) by @codeflash-ai[bot] in #1515 - fix: resolve 4 critical Java E2E pipeline bugs by @mashraf-222 in #1514
- Java fixes instrumentation by @misrasaurabh1 in #1521
- fix: Java test instrumentation and context improvements for E2E optimization by @mashraf-222 in #1530
- fix: correct field ordering, helper placement, indentation, and blank lines in Java code replacer by @misrasaurabh1 in #1555
- chore: sync main into omni-java (batch 1/4) by @KRRT7 in #1556
- chore: sync main into omni-java (batch 2/4) by @KRRT7 in #1557
- chore: sync main into omni-java (batch 3/4) by @KRRT7 in #1558
- chore: sync main into omni-java (batch 4/4) by @KRRT7 in #1560
- better coverage numbers by @misrasaurabh1 in #1564
- ⚡️ Speed up function
_find_java_executableby 13% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1576 - test: add comprehensive Java run-and-parse integration tests by @misrasaurabh1 in #1577
- ⚡️ Speed up method
JavaAssertTransformer._build_target_callby 1,947% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1597 - ⚡️ Speed up method
JavaAssertTransformer._find_balanced_parensby 35% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1602 - ⚡️ Speed up function
wrap_target_calls_with_treesitterby 61% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1601 - ⚡️ Speed up method
JavaLineProfiler._find_executable_linesby 77% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1591 - ⚡️ Speed up function
_infer_array_cast_typeby 81% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1590 - ⚡️ Speed up function
_should_include_methodby 22% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1587 - ⚡️ Speed up function
_extract_type_names_from_codeby 44,595% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1583 - ⚡️ Speed up function
_find_java_executableby 64% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1579 - ⚡️ Speed up function
_extract_type_names_from_codeby 10,968% in PR #1199 (omni-java) by @codeflash-ai[bot] in #1609 - fix: Java E2E pipeline — direct JVM benchmarking, JUnit detection, and instrumentation fixes by @mashraf-222 in #1580
- ⚡️ Speed up function
find_helper_functionsby 7,426% in PR #1199 (omni-java) by @codeflash-ai[...
Release v0.20.2
What's Changed
Release 0.20.2 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.20.2
What's Changed
- ⚡️ Speed up function
call_graph_summaryby 151% in PR #1460 (call-graphee) by @codeflash-ai[bot] in #1462 - ⚡️ Speed up function
_analyze_imports_in_optimized_codeby 39% in PR #1460 (call-graphee) by @codeflash-ai[bot] in #1463 - ⚡️ Speed up function
extract_init_stub_from_classby 70% in PR #1524 (fixes-for-core-unstructured-experimental) by @codeflash-ai[bot] in #1529 - ⚡️ Speed up function
find_functions_with_return_statementby 26% in PR #1460 (call-graphee) by @codeflash-ai[bot] in #1534 - ⚡️ Speed up function
function_has_return_statementby 147% in PR #1460 (call-graphee) by @codeflash-ai[bot] in #1535 - feat: make crosshair-tool optional for Python 3.15+ by @KRRT7 in #1537
- feat: replace rglob with os.walk and per-language directory pruning by @KRRT7 in #1539
- fix: include module-level variables and second-degree helpers in testgen helper FQNs by @KRRT7 in #1540
- perf: remove redundant project_root_path.resolve() from hot path by @KRRT7 in #1541
- fix: address security vulnerabilities while maintaining Python 3.9 support by @KRRT7 in #1544
- version bump by @misrasaurabh1 in #1545
- feat: add reference graph for Python by @KRRT7 in #1460
- ⚡️ Speed up method
PythonSupport.replace_functionby 523% in PR #1546 (follow-up-reference-graph) by @codeflash-ai[bot] in #1547 - refactor: move Python static analysis modules to languages/python/static_analysis/ by @KRRT7 in #1546
- chore: bump codeflash-benchmark version to 0.3.0 by @KRRT7 in #1536
- fix: resolve test file paths in discover_tests_pytest to fix path com… by @KRRT7 in #1605
- feat: add --agent mode flag by @KRRT7 in #1618
- fixes-for-core-unstructured-experimental by @KRRT7 in #1524
- fix: add types.UnionType support to comparator by @aseembits93 in #1617
- fix: importlens optimization bugs by @KRRT7 in #1641
- rework duplicate-code-detector a bit by @KRRT7 in #1643
- Prevent pytest fail with non unicode chars by @aseembits93 in #1384
- fix: use correct subagent flag in checkpoint guard by @aseembits93 in #1665
- feat: improve test generation context for external library types by @KRRT7 in #1678
- perf: optimize tracer hot path with string-based path ops and caching by @KRRT7 in #1686
- refactor: consolidate Python function discovery to CST path only by @KRRT7 in #1689
- feat: surface subagent optimization diffs in IDE's native diff view by @aseembits93 in #1666
- fix: handle itertools types in comparator with Python 3.9-3.14 support by @aseembits93 in #1690
- refactor: extract PythonFunctionOptimizer subclass by @KRRT7 in #1699
- refactor: extract JavaScript Optimizer subclass by @KRRT7 in #1708
- add Java scaffolding by @KRRT7 in #1715
- fix: rewrite Claude Code PR review prompt by @KRRT7 in #1718
- Docs to JS/TS by @Saga4 in #1551
- Multiple Small fixes on JS/TS codebases by @Saga4 in #1720
- fix: merge duplicate detector into claude workflow and add concurrency by @KRRT7 in #1724
- chore: switch claude workflow model from opus to sonnet 4.6 by @aseembits93 in #1734
- chore: limit claude workflow triggers to reduce spam by @KRRT7 in #1735
- fix/js vitest benchmarking and mocha cjs by @Saga4 in #1737
- Mocha test runner fix by @Saga4 in #1742
- chore: remove simplify step from Claude PR review and add prek rule by @KRRT7 in #1750
- chore: add pre-push prek rule and fix pr-review close permission by @KRRT7 in #1752
- fix looping with JS/TS by @Saga4 in #1764
- fix: close SQLite connections in finally blocks for Windows compatibility by @KRRT7 in #1766
- Minor fix on max loop by @Saga4 in #1769
- update docs and sidebar index by @Saga4 in #1770
- ⚡️ Speed up method
AiServiceClient.generate_regression_testsby 34,720% in PR #1714 (testgen-review) by @codeflash-ai[bot] in #1768 - fix: resolve LLM returning wrong file paths in multi-file optimization by @KRRT7 in #1772
- fix: detect attribute-referenced methods as used in unused helper detection by @aseembits93 in #1650
- ⚡️ Speed up method
InitDecorator.visit_ClassDefby 19% in PR #1714 (testgen-review) by @codeflash-ai[bot] in #1779 - fix failing unit tests with recent refactoring by @Saga4 in #1784
- [Fix] Normalizer and expand its scope by @Saga4 in #1780
- feat: per-function test quality review and repair by @KRRT7 in #1714
- [Fix] Github Actions init by @Saga4 in #1778
- update JS package to 0.10.2 by @Saga4 in #1798
- feat: set low effort and skip review/explanation in subagent mode by @aseembits93 in #1685
- feat: instruct Claude Code to review optimizations in subagent mode by @aseembits93 in #1785
- chore: release v0.20.2 by @aseembits93 in #1809
Full Changelog: v0.20.1...v0.20.2
Release v0.20.1
What's Changed
Release 0.20.1 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.20.1
What's Changed
- more comprehensive comparator for JS by @aseembits93 in #1128
- add --no-jit-opts to disable JIT optimizations by @KRRT7 in #1175
- clean up docs by @misrasaurabh1 in #1176
- Add CodeFlash GitHub Actions workflow by @codeflash-ai[bot] in #1182
- feat/ensure comparator works for temp paths by @aseembits93 in #1193
- feat: Add Line Profiler to webapp by @HeshamHM28 in #1139
- ⚡️ Speed up function
determine_dependency_managerby 15% in PR #1195 (liniting_issues) by @codeflash-ai[bot] in #1196 - remove ignored linting issues by @Saga4 in #1195
- codeflash-omni by @misrasaurabh1 in #1058
- Documentation for JIT support by @aseembits93 in #1145
- Chore: prevent saving duplicate code by @HeshamHM28 in #1194
- [FIX] correctly detect codeflash import by @mohammedahmed18 in #1201
- Tests be better from now - claude.md by @misrasaurabh1 in #1205
- fix: detect test directories inside module_root for JS/TS projects by @misrasaurabh1 in #1209
- test: add comprehensive TypeScript code extraction tests by @misrasaurabh1 in #1211
- fix: add --roots flag to Jest to include test file directories by @misrasaurabh1 in #1212
- fix: add warning log when Jest fails without XML output by @misrasaurabh1 in #1213
- fix: validate JS/TS functions are exported before optimization by @misrasaurabh1 in #1214
- fix: strip file extensions from JS/TS import paths in generated tests by @misrasaurabh1 in #1215
- fix: avoid nested progress bars causing LiveError by @misrasaurabh1 in #1216
- fix: prevent imported types from being duplicated during code replacement by @misrasaurabh1 in #1222
- Setup with auto detection process by @Saga4 in #1200
- fix(discovery): use pattern-based filtering when tests_root overlaps source by @Saga4 in #1228
- ⚡️ Speed up function
should_modify_package_json_configby 21% in PR #1231 (js-tests-root) by @codeflash-ai[bot] in #1232 - ⚡️ Speed up function
was_function_previously_optimizedby 335% in PR #1227 (limit-install-version) by @codeflash-ai[bot] in #1234 - limit the python version for the postinstall script by @KRRT7 in #1227
- Accept tests root in package.json config by @mohammedahmed18 in #1231
- [FIX] Determine language based on common formatters by @mohammedahmed18 in #1230
- feat: Add find references functionality for JavaScript/TypeScript by @misrasaurabh1 in #1226
- vitest support add to js/ts project by @Saga4 in #1204
- Pre check on env config dependencies in JS before calling aiservices API by @Saga4 in #1238
- Fix require() inside functions being treated as imports by @misrasaurabh1 in #1247
- Fix missing parameters in get_optimization_review by @misrasaurabh1 in #1251
- Fix class method export detection for JavaScript/TypeScript by @misrasaurabh1 in #1246
- Fix: Respect explicit setting in package.json codeflash config by @Saga4 in #1255
- pnpm package manager support for jS/ts by @Saga4 in #1257
- fix(js): pass project Jest config for TypeScript transformation by @misrasaurabh1 in #1244
- read xml and cleanup for vitest behavorial test results by @Saga4 in #1258
- vitest perf looping inefficiency fix by @Saga4 in #1259
- pnpm monorepos lock file detection by @Saga4 in #1263
- moduleResolution bundler in tsconfig.json by @Saga4 in #1262
- update package to 0.5.0 by @Saga4 in #1264
- [FIX][JS] Add new global definitions after their dependencies by @mohammedahmed18 in #1260
- refactor: use FunctionToOptimize dataclass instead of raw strings in JS optimizatio by @misrasaurabh1 in #1256
- refactor: move FunctionToOptimize to models/function_types to fix circular imports by @misrasaurabh1 in #1285
- alias support and vitest imports by @Saga4 in #1266
- ⚡️ Speed up function
ensure_vitest_importsby 11% in PR #1289 (fix/js-module-detection) by @codeflash-ai[bot] in #1307 - fix: JS/TS module system and test framework detection by @KRRT7 in #1289
- [JS] Fix context extraction: skip arrow functions in object properties by @mohammedahmed18 in #1265
- [JS] Skip module conversion only for TypeScript projects with ts-jest by @mohammedahmed18 in #1261
- fix: Convert destructuring aliases to import aliases in CommonJS->ESM by @mohammedahmed18 in #1302
- ⚡️ Speed up function
is_build_output_dirby 144% in PR #1308 (js-suggester) by @codeflash-ai[bot] in #1310 - fix detection wrt config by @KRRT7 in #1308
- fix: use getter functions for perf env vars to support Vitest module caching by @Saga4 in #1311
- fix: Jest XML path resolution and runner support for monorepos by @mohammedahmed18 in #1315
- fix: prevent false positive test file detection for projects in /tests/ folders by @Saga4 in #1320
- fix: Use function_name instead of name in Python find_references by @KRRT7 in #1328
- chore: add tool permissions to Claude workflow and strengthen CLAUDE.… by @KRRT7 in #1330
- test Claude perms by @KRRT7 in #1333
- agentic Claude for us by @KRRT7 in #1367
- fix: skip pr-review when triggered by claude bot by @KRRT7 in #1369
- feat: secure Claude workflow and add merge permissions by @KRRT7 in #1370
- ⚡️ Speed up function
_collect_numerical_importsby 159% in PR #1339 (coverage-no-files) by @codeflash-ai[bot] in #1343 - ⚡️ Speed up function
get_external_base_class_initsby 344% in PR #1339 (coverage-no-files) by @codeflash-ai[bot] in #1352 - ⚡️ Speed up function
extract_imports_for_classby 429% in PR #1339 (coverage-no-files) by @codeflash-ai[bot] in #1353 - ⚡️ Speed up method
PrComment.to_jsonby 46% in PR #1339 (coverage-no-files) by @codeflash-ai[bot] in #1357 - ⚡️ Speed up method
ReferenceFinder._find_reexportsby 14% in PR #1339 (coverage-no-files) by @codeflash-ai[bot] in #1362 - Skip when no gen tests and no existing tests by @aseembits93 in #1339
- ignore extra kwargs for Review and Staging (CF-1048, CF-1049) by @aseembits93 in #1208
- xml parsing fix and refactor to support directory by @Saga4 in #1375
- feat(ci): improve Claude PR review workflow by @KRRT7 in #1380
- feat(ci): auto-merge codeflash optimization PRs by @KRRT7 in #1381
- fix: support monorepo hoisted dependencies in JS requirements check by @mohammedahmed18 in #1376
- vitest dot notation for junit reporter by @Saga4 in #1382
- ⚡️ Speed up method
PrComment.to_jsonby 329% in PR #1318 (fix/js-jest30-loop-runner) by @codeflash-ai[bot] in #1383 - Multiple fixes around vitest by @Saga4 in #1386
- feat: support glob patterns in ignore_p...
Release v0.20.0
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
Release v0.19.1
What's Changed
Release 0.19.1 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.19.1
What's Changed
- Add Claude Code GitHub Workflow by @KRRT7 in #985
- docs: add image and language update by @misrasaurabh1 in #986
- ⚡️ Speed up function
should_stopby 438% in PR #967 (exp/consistent-loop-break) by @codeflash-ai[bot] in #984 - calling cf-api while setting up github actions during init command by @mashraf-222 in #907
- limit Claude Code reviews by @KRRT7 in #995
- fix future house test expectation by @KRRT7 in #996
- No Generated Tests Argument (cf-953) by @aseembits93 in #988
- Don't cleanup replays and traces by @KRRT7 in #993
- let's add diversity to our optimizations by @KRRT7 in #990
- [Enhancement] Stop looping when runtime is stable (CF-934) by @mohammedahmed18 in #967
- adopt conventional + atomic commits by @KRRT7 in #1006
- Fix: add support for numpy.dtypes for the comparator by @aseembits93 in #1007
- comparator fix for more numpy types by @aseembits93 in #1008
- [FEAT][EXP] Adaptive optimizations (CF-831) by @mohammedahmed18 in #1003
- Disable the adaptive optimization until we have the effort param. by @mohammedahmed18 in #1010
- [Code-Repair] Disable repair if there was correct candidates (CF-970) by @mohammedahmed18 in #1012
- Unstructured fixes by @KRRT7 in #1005
- [Chore] Refine candidates in parallel while testing others and apply the weighted ranking afterwards (CF-960) by @mohammedahmed18 in #1011
- for local dev set timeout to None by @KRRT7 in #1013
- Common JIT disable flags to ensure coverage works by @aseembits93 in #1018
- Fix for VSC windows by @mashraf-222 in #948
- feat: extract imported class definitions for testgen context by @KRRT7 in #1014
- feat: display the optimization reviewer result in the CLI by @KRRT7 in #1026
- fix: resolve Windows path case sensitivity in optimize changed code by @mashraf-222 in #1027
- fix: improve worktree path handling for cross-platform compatibility by @mashraf-222 in #1035
- FIX: Windows bug during remove worktree permission error by @mashraf-222 in #1036
- release/v0.19.1 by @mashraf-222 in #1037
Full Changelog: v0.19.0...v0.19.1
Release v0.19.0
What's Changed
Release 0.19.0 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.19.0
What's Changed
- ⚡️ Speed up function
parse_test_failures_from_stdoutby 16% in PR #945 (feat/feedback-loop-for-unmatched-test-results) by @codeflash-ai[bot] in #946 - use pytest as the execution engine for all tests by @KRRT7 in #951
- apply cancel-in-progress to all GHA by @KRRT7 in #956
- [FIX] incorrect PR message shown when --no-pr flag is passed by @mohammedahmed18 in #958
- Split test generation and optimizations generation into separate methods by @KRRT7 in #957
- CF-928 remove test_framework from pyproject.toml by @KRRT7 in #955
- extract logic for processing a candidate into a method for separation of concerns by @KRRT7 in #959
- chore: combine test errors for LSP by @HeshamHM28 in #961
- ⚡️ Speed up method
AiServiceClient._get_valid_candidatesby 45% in PR #945 (feat/feedback-loop-for-unmatched-test-results) by @codeflash-ai[bot] in #966 - Show Progress while profiling the candidate by @mohammedahmed18 in #968
- lsp tests validation by @mashraf-222 in #944
- shorten error string, more enhancements needed by @aseembits93 in #965
- Comparator support for tensorflow, dict views, slices, 0-d numpy arrays, torch dtypes by @misrasaurabh1 in #979
- [Enhancement] Use weighted ranking to cap refinement candidates (CF-931) by @mohammedahmed18 in #962
- tracer improvements by @KRRT7 in #970
- [FEAT] Code-repair for candidates with unmatched test results by @mohammedahmed18 in #945
- release/v0.19.0 by @misrasaurabh1 in #982
Full Changelog: v0.18.7...v0.19.0
Release v0.18.7
What's Changed
Release 0.18.7 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.18.7
What's Changed
- CF-900 allow async optimizations by default by @KRRT7 in #938
- [LSP] Runtime info for sucessful opt & cancel demo optimization by @mohammedahmed18 in #942
- ensure custom test root directory exists during init command by @mashraf-222 in #943
- saving the API key correctly for windows PowerShell by @mashraf-222 in #940
- Enhance CLI init GitHub app installation prompt visibility with ENTER in caps and >>> indicator by @mashraf-222 in #941
- release/v0.18.7 by @misrasaurabh1 in #952
Full Changelog: v0.18.6...v0.18.7
Release v0.18.6
What's Changed
Release 0.18.6 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.18.6
What's Changed
- ⚡️ Speed up function
levenshtein_distanceby 12% in PR #924 (small-fixes) by @codeflash-ai[bot] in #927 - log unknown comparator input types by @KRRT7 in #925
- refactor how async decorators are applied at source site by @KRRT7 in #897
- CF-815: check if branch is pushed for --file as well by @KRRT7 in #883
- Language update and more helpful error message by @misrasaurabh1 in #924
- [LSP][FIX] prefill the existing config values from the client by @mohammedahmed18 in #926
- [Chore] Validate API key in the init flow by @HeshamHM28 in #932
- Add Optimization Review Label in VSC Extension by @aseembits93 in #905
- Correct sample code for demo optimization (CF-876) by @mohammedahmed18 in #929
- Pytest discovery with fixtures for class instantiation by @aseembits93 in #934
- [FIX] Extract the required module names inside the read-writable context (CF-862) by @mohammedahmed18 in #935
- [Feat] CLI Login by @HeshamHM28 in #928
- Update version.py by @Saga4 in #937
Full Changelog: v0.18.5...v0.18.6
Release v0.18.5
What's Changed
Release 0.18.5 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.18.5
What's Changed
- submodule bugs by @misrasaurabh1 in #914
- dont format generated code if no formatter provided by @aseembits93 in #917
- Add VSC extension page by @Saga4 in #906
- only tag the single commit by codeflash bot and then revert to defaults by @misrasaurabh1 in #915
- [VSC] pyproject setup fix by @aseembits93 in #919
- misc fixes [VSC] by @Saga4 in #918
- release/v0.18.5 by @KRRT7 in #923
Full Changelog: v0.18.4...v0.18.5
Release v0.18.4
What's Changed
Release 0.18.4 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.18.4
What's Changed
- fix the tracer by @KRRT7 in #884
- Always use isort.code with exception catching everywhere by @aseembits93 in #896
- [FIX] Handle new added classes by @mohammedahmed18 in #898
- fix docs link by @misrasaurabh1 in #899
- Run Formatter on generated tests by @aseembits93 in #895
- dont display generated file if there are no test functions passing for that file by @aseembits93 in #900
- [LSP] Send the configured project settings to the client as default values by @mohammedahmed18 in #893
- [Chore] Better config file validation for the lsp by @mohammedahmed18 in #912
- v0.18.4 by @misrasaurabh1 in #913
Full Changelog: v0.18.3...v0.18.4