4.0.0

rust-lang/rustlings4.0.0Jul 8, 2020by manyinsects

AI Summary

A major version bump introducing a renaming of exercise files and a new CLI flag for test output display.

Key Highlights

  • Renamed `testX.rs` files to `quizX.rs`
  • Added `--nocapture` option to display console output for tests

Breaking Changes

  • Renamed `testX.rs` files to `quizX.rs`
  • Added a new boolean argument `--nocapture` to most CLI commands

New Features

  • Renamed exercise files
  • Console output display for tests via `--nocapture`

Full Release Notes

See the [changelog](https://github.com/rust-lang/rustlings/blob/main/CHANGELOG.md#400-2020-07-08) for what's changed.

The important breaking changes that make this a major release are:
- `testX.rs` files have been renamed `quizX.rs`, due to people confusing them with the similarly-named `testsX.rs` exercises (which are about testing, not _being_ tested)
- You can now display the console output for tests using the new `--nocapture` option. This adds a new boolean argument to most CLI commands.

Thanks to all of the people who contributed! A full list can be seen [here](https://github.com/rust-lang/rustlings/compare/3.0.0...4.0.0), there's too many people for me to manually list here, sorry 😓 

To upgrade:
```sh
git fetch
git checkout tags/4.0.0
```