Skip to content

Commit cc3e1a8

Browse files
committed
doc: update changelog
1 parent c791cf4 commit cc3e1a8

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,76 @@
1+
<a name="5.0.0"></a>
2+
## 5.0.0 (2022-07-16)
3+
4+
#### Features
5+
6+
- Hint comments in exercises now also include a reference to the
7+
`hint` watch mode subcommand.
8+
- **intro1**: Added more hints to point the user to the source file.
9+
- **variables**: Switched variables3 and variables4.
10+
- Moved `vec` and `primitive_types` exercises before `move_semantics`.
11+
- Renamed `vec` to `vecs` to be more in line with the naming in general.
12+
- Split up the `collections` exercises in their own folders.
13+
- **vec2**: Added a second part of the function that provides an alternative,
14+
immutable way of modifying vec values.
15+
- **enums3**: Added a hint.
16+
- Moved `strings` before `modules`.
17+
- Added a `strings3` exercise to teach modifying strings.
18+
- Added a `hashmaps3` exercise for some advanced usage of hashmaps.
19+
- Moved the original `quiz2` to be `strings4`, since it only tested strings
20+
anyways.
21+
- Reworked `quiz2` into a new exercise that tests more chapters.
22+
- Renamed `option` to `options`.
23+
- **options1**: Rewrote parts of the exercise to remove the weird array
24+
iteration stuff.
25+
- Moved `generics3` to be `quiz3`.
26+
- Moved box/arc exercises behind `iterators`.
27+
- **iterators4**: Added a test for factorials of zero.
28+
- Split `threads1` between two exercises, the first one focusing more on
29+
`JoinHandle`s.
30+
- Added a `threads3` exercises that uses `std::sync::mpsc`.
31+
- Added a `clippy3` exercises with some more interesting checks.
32+
- **as_ref_mut**: Added a section that actually tests `AsMut`.
33+
- Added 3 new lifetimes exercises.
34+
- Added 3 new traits exercises.
35+
36+
#### Bug Fixes
37+
38+
- **variables2**: Made output messages more verbose.
39+
- **variables5**: Added a nudging hint about shadowing.
40+
- **variables6**: Fixed link to book.
41+
- **functions**: Clarified the README wording. Generally cleaned up
42+
some hints and added some extra comments.
43+
- **if2**: Renamed function name to `foo_if_fizz`.
44+
- **move_semantics**: Clarified some hints.
45+
- **quiz1**: Renamed the function name to be more verbose.
46+
- **structs1**: Use an integer type instead of strings. Renamed "unit structs"
47+
to "unit-like structs", as is used in the book.
48+
- **structs3**: Added the `panic!` statement in from the beginning.
49+
- **errors1**: Use `is_empty()` instead of `len() > 0`
50+
- **errors3**: Improved the hint.
51+
- **errors5**: Improved exercise instructions and the hint.
52+
- **errors6**: Provided the skeleton of one of the functions that's supposed
53+
to be implemented.
54+
- **iterators3**: Inserted `todo!` into `divide()` to keep a compiler error
55+
from happening.
56+
- **from_str**: Added a hint comment about string error message conversion with
57+
`Box<dyn Error>`.
58+
- **try_from_into**: Fixed the function name in comment.
59+
60+
#### Removed
61+
62+
- Removed the legacy LSP feature that was using `mod.rs` files.
63+
- Removed `quiz4`.
64+
- Removed `advanced_errs`. These were the last exercises in the recommended
65+
order, and I've always felt like they didn't quite fit in with the mostly
66+
simple, book-following style we've had in Rustlings.
67+
68+
#### Housekeeping
69+
70+
- Added missing exercises to the book index.
71+
- Updated spacing in Cargo.toml.
72+
- Added a GitHub actions config so that tests run on every PR/commit.
73+
174
<a name="4.8.0"></a>
275
## 4.8.0 (2022-07-01)
376

0 commit comments

Comments
 (0)