Releases: codeflash-ai/codeflash
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
Release v0.18.3
What's Changed
Release 0.18.3 of codeflash.
Full Changelog: https://github.com/codeflash-ai/codeflash/commits/v0.18.3
What's Changed
- fix publish workflow by @misrasaurabh1 in #888
- release/v0.18.3 by @misrasaurabh1 in #889
Full Changelog: v0.18.2...v0.18.3
v0.14.7
What's Changed
- Made codeflash generate better reporting
- fix important errors while finding optimizations
- Codeflash can also optimize random functions now
- don't fail for open source packages for external contributors
- make test generation a lot faster.
Full release notes -
- release/v0.14.6 by @misrasaurabh1 in #377
- patch randomness while running tests by @misrasaurabh1 in #378
- uuid comparator test by @misrasaurabh1 in #382
- [Chore] Error message on missing API key for forks (CF-675) by @mohammedahmed18 in #371
- barebones LSP Server implementation by @KRRT7 in #309
- [LSP] discover existing tests and return the best candidate to the client by @mohammedahmed18 in #441
- minor modification for checking replay tests passing by @aseembits93 in #443
- Rename the test files and Workflow name as all of them have same name by @Saga4 in #442
- avoid serializing optimized code by @mohammedahmed18 in #446
- concolic time from 64 to 20s per condition by @misrasaurabh1 in #445
- Add no-pr argument to CF LSP by @Saga4 in #449
- improve codeflash debugging exp on VSC by @KRRT7 in #444
- disable concolic testing in LSP mode by @KRRT7 in #450
- Just clean all leftover instrumented tests by @misrasaurabh1 in #454
- [FIX] Circular dependency and global assignments imports by @mohammedahmed18 in #448
- saga4/fix optimizable functions by @Saga4 in #452
- cleanup by @misrasaurabh1 in #457
Full Changelog: v0.14.6...v0.14.7
v0.13.0
What's Changed
- remove set while runnin formatters by @misrasaurabh1 in #252
- Refactor checking of formatter by using existing function
format_codeby @aseembits93 in #254 - propagate cf-api errors by @KRRT7 in #241
- release v0.12.4 by @misrasaurabh1 in #253
- docs improvement by @misrasaurabh1 in #257
- optimize codeflash import time by @KRRT7 in #245
- Replay test template bug by @aseembits93 in #255
- don't count nested functions as it's own func by @KRRT7 in #258
- increase the min number of test cases passed by @misrasaurabh1 in #259
- Do not output formmater check output by @aseembits93 in #260
- coverage undefined bug fix by @Saga4 in #263
- Rich error output during baseline establishment (CF-646) by @aseembits93 in #265
- More precise stdout capture by @misrasaurabh1 in #273
Full Changelog: v0.12.4...v0.13.0
v0.12.3
What's Changed
- Add option to enable/disable telemetry in codeflash init (CF-623) by @dasarchan in #185
- Cache discovered tests by @KRRT7 in #184
- Fix GHA by @misrasaurabh1 in #189
- Prevent large inputs in tracer tests by @aseembits93 in #192
- Faster Testgen (CF-621) by @aseembits93 in #191
- Fix Prompt for checkpoint being displayed correctly in DEBUG mode by @aseembits93 in #194
- Roboflow fixes by @KRRT7 in #190
- Update docs by @misrasaurabh1 in #193
- add more pytest plugins to blocklist by @misrasaurabh1 in #178
- add array.array to comparator by @KRRT7 in #195
- Codeflash Capture should not depend on anything inside codeflash by @aseembits93 in #196
- Faster test results analysis (CF-625) by @aseembits93 in #198
- Python 'range' objects can be compared with double equal by @aseembits93 in #201
- Updated message that displays in terminal when codeflash creates a PR by @zomglings in #204
- Update README.md by @misrasaurabh1 in #183
- fix docs header by @misrasaurabh1 in #207
- bump setup-uv by @misrasaurabh1 in #208
- add an informative message by @misrasaurabh1 in #213
- Days output when converting from nanoseconds by @aseembits93 in #216
- Fix loop ending when all candidates have been tested but line profiler hasn't returned new candidates by @aseembits93 in #226
- Remove tiktoken from the codebase by @aseembits93 in #224
- add a sleep to reduce empty loops while waiting for line profiler results by @aseembits93 in #230
- Hotfix for tiktoken removal by @aseembits93 in #231
- improve the text by @misrasaurabh1 in #233
- Adding type hints to the dummy code for
verify-setup(CF-647) by @aseembits93 in #234 - Quick fix for running verify-setup for py39 by @aseembits93 in #237
- Fixing
codeflash initfor Python 3.9 (CF-649) by @aseembits93 in #239 - cleanup concolic dirs properly, add precommit by @KRRT7 in #217
New Contributors
- @zomglings made their first contribution in #204
Full Changelog: v0.12.2...v0.12.3