v6.4.0

crewAIInc/crewAIv6.4.0Nov 11, 2024by mo8it

AI Summary

This release introduces significant workflow improvements for Rustlings, including a searchable exercise list, a new `check-all` command, and UX refinements such as removing confirmation prompts and fixing terminal contrast issues.

Key Highlights

  • Searchable exercise list using 's' or '/'
  • New 'check-all' command and 'c' option for manual checks
  • UX improvements: no ENTER confirmation on Unix-like systems and fixed light theme contrast
  • Exercise updates: 'enums3' removed redundant task, 'if2' made less confusing

New Features

  • Searchable exercise list
  • Manual check all exercises (option 'c' and command)
  • Reset current exercise file (option 'x')
  • Allow dead_code for all exercises and solutions
  • Pause input while running an exercise
  • Maximum limit of 999 exercises
  • Optimized file watcher

Full Release Notes

### Added

- The list of exercises is now searchable by pressing `s` or `/` πŸ”οΈ (thanks to [@frroossst](https://github.com/frroossst))
- New option `c` in the prompt to manually check all exercises βœ… (thanks to [@Nahor](https://github.com/Nahor))
- New command `check-all` to manually check all exercises βœ… (thanks to [@Nahor](https://github.com/Nahor))
- Addictive animation for showing the progress of checking all exercises. A nice showcase of parallelism in Rust ✨
- New option `x` in the prompt to reset the file of the current exercise πŸ”„
- Allow `dead_code` for all exercises and solutions ⚰️ (thanks to [@huss4in](https://github.com/huss4in))
- Pause input while running an exercise to avoid unexpected prompt interactions ⏸️
- Limit the maximum number of exercises to 999. Any third-party exercises willing to reach that limit? πŸ”

### Changed

- `enums3`: Remove redundant enum definition task (thanks to [@senekor](https://github.com/senekor))
- `if2`: Make the exercise less confusing by avoiding "fizz", "fuzz", "foo", "bar" and "baz" (thanks to [@senekor](https://github.com/senekor))
- `hashmap3`: Use the method `Entry::or_default`.
- Update the state of all exercises when checking all of them (thanks to [@Nahor](https://github.com/Nahor))
- The main prompt doesn't need a confirmation with ENTER on Unix-like systems anymore.
- No more jumping back to a previous exercise when its file is changed. Use the list to jump between exercises.
- Dump the solution file after an exercise is done even if the solution's directory doesn't exist.
- Rework the footer in the list.
- Optimize the file watcher.

### Fixed

- Fix bad contrast in the list on terminals with a light theme.

![out](https://github.com/user-attachments/assets/2bb3c7a7-f751-4972-9309-8566cf6e443c)