1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-12 11:14:55 +02:00
rustlings/CHANGELOG.md
2020-11-07 14:21:10 +01:00

22 KiB

4.2.0 (2020-11-07)

Features

Bug Fixes

  • log error output when inotify limit is exceeded (d61b4e5a)
  • more unique temp_file (5643ef05)
  • installation: Update the MinRustVersion (21bfb2d4)
  • iterators2: Update description (#578) (197d3a3d)
  • primitive_types6:
    • remove 'unused doc comment' warning (472d8592)
    • missing comma in test (4fb230da)
  • quiz3: Second test is for odd numbers, not even. (#553) (18e0bfef)

4.1.0 (2020-10-05)

Bug Fixes

  • Update rustlings version in Cargo.lock (1cc40bc9)
  • arc1: index mod should equal thread count (b4062ef6)
  • enums3: Update Message::ChangeColor to take a tuple. (#457) (4b6540c7)
  • exercises: adding question mark to quiz2 (101072ab)
  • generics3: clarify grade change (47f7672c)
  • structs3: Small adjustment of variable name (114b54cb)
  • using_as: Add test so that proper type is returned. (#512) (3286c5ec)

Features

  • Added iterators1.rs exercise (9642f5a3)
  • Add ability to run rustlings on repl.it (#471) (8f7b5bd0)
  • Add gitpod support (#473) (4821a8be)
  • Remind the user of the hint option (#425) (816b1f5e)
  • Remind the user of the hint option (#425) (9f61db5d)
  • cli: Added 'cls' command to 'watch' mode (#474) (4f2468e1)
  • try_from_into: Add insufficient length test (#469) (523d18b8)

4.0.0 (2020-07-08)

Breaking Changes

  • Add a --nocapture option to display test harnesses' outputs (8ad5f9bf)
  • Rename test to quiz, fixes #244 (010a0456)

Features

Bug Fixes

  • Change then to than (ddd98ad7)
  • rename quiz1 to tests1 in info (#420) (0dd1c6ca)
  • fix quiz naming inconsistency (#421) (5563adbb)
  • confine the user further in variable exercises (06ef4cc6)
  • update iterator and macro text for typos and clarity (95900828)
  • update generics2 closes #362 (964c974a)
  • confusing comment in conversions/try_from_into.rs (c9e4f2cf)
  • arc1: Passively introduce attributes (#429) (113cdae2)
  • box1: fix comment typo (#426) (bb2ca251)
  • errorsn: Try harder to confine the user. (#388) (2b20c8a0)
  • from_into.rs: typo (a901499e)
  • generics2: Guide students to the answer (#430) (e6bd8021)
  • installation:
    • Provide a backup git reference when tag can't be curl (9e4fb100)
    • Check if python is available while checking for git,rustc and cargo (9cfb617d)
  • option1:
    • Don't add only zeros to the numbers array (cce6a442)
    • Add cast to usize, as it is confusing in the context of an exercise about Option (f6cffc7e)
  • option2: Add TODO to comments (#400) (10967bce)
  • options1: Add hint about Array Initialization (#389) (9f75554f)
  • test2: name of type String and &str (#394) (d6c0a688)
  • variables6: minor typo (#419) (524e17df)

3.0.0 (2020-04-11)

Breaking Changes

  • make "compile" exercises print output (#278) (3b6d5c)

Bug Fixes

  • primitive_types: revert primitive_types4 (#296) (b3a3351e)
  • run: compile clippy exercise files (#295) (3ab084a4)
  • conversions:
    • add additional test to meet exercise rules (#284) (bc22ec3)
    • remove duplicate not done comment (#292) (dab90f)
  • don't hardcode documentation version for traits (#288) (30e6af)

Features

  • add Option2 exercise (#290) (86b5c08b)
  • add excercise for option (#282) (135e5d47)
  • add new exercises for generics (#280) (76be5e4e)
  • ci: add buildkite config (b049fa2c)

2.2.1 (2020-02-27)

Bug Fixes

  • Re-add cloning the repo to install scripts (3d9b03c5)

Features

2.2.0 (2020-02-25)

Bug Fixes

  • Update deps to version compatable with aarch64-pc-windows (#263) (19a93428)
  • docs:
    • Added a necessary step to Windows installation process (#242) (3906efcd)
    • Fixed mangled sentence from book; edited for clarity (#266) (ade52ff)
    • Updated iterators readme to account for iterators4 exercise (#273) (bec8e3a)
  • installation: make fatal errors more obvious (#272) (17d0951e)
  • iterators2:
    • Remove reference to missing iterators2.rs (#245) (419f7797)
  • as_ref_mut: Enable a test and improve per clippy's suggestion (#256) (dfdf809)
  • tests1:
    • Change test command (fe10e06c
    • Correct test command in tests1.rs comment (#263) (39fa7ae)

Features

  • Add variables5.rs exercise (#264) (0c73609e)
  • Show a completion message when watching (#253) (d25ee55a)
  • Add type conversion and parsing exercises (#249) (0c85dc11)
  • Created consistent money unit (#258) (fd57f8f)
  • Enable test for exercise test4 (#276) (8b971ff)
  • Added traits exercises (#274 but specifically #216, which originally added this ❤️) (b559cdd)

2.1.0 (2019-11-27)

Bug Fixes

  • add line numbers in several exercises and hints (b565c4d3)
  • arc1: Fix some words in the comment (c42c3b21)
  • enums: Add link to chapter on pattern syntax (#242) (615ce327)
  • primitive_types4:
  • strings2: update line number in hint (a09f684f)
  • variables1: Correct wrong word in comment (fda5a470)

Features

  • watch: show hint while watching (8143d57b)

2.0.0 (2019-11-12)

Bug Fixes

  • default: Clarify the installation procedure (c371b853)
  • info: Fix trailing newlines for hints (795b6e34)
  • run: make run never prompt (4b265465)

Breaking Changes

Features

  • cli: check for rustc before doing anything (36a033b8)
  • hint: Add test for hint (ce9fa6eb)

1.5.1 (2019-11-11)

Bug Fixes

  • errors3: Update hint (dcfb427b, closes #185)
  • if1: Remove return reference (ad03d180)
  • strings: Move Strings before Structs (6dcecb38, closes #204)
  • structs1: Remove misleading comment (f72e5a8f)
  • threads: Move Threads behind SLT (fbe91a67, closes #205)
  • watch: clear screen before each verify() (3aff590)

1.5.0 (2019-11-09)

Bug Fixes

  • test1: Rewrite logic (79a56942)
  • installation: Fix rustlings installation check (7a252c47)
  • iterators: Rename iterator3.rs (433d2115)
  • iterators2: Remove syntax resulting in misleading error message (4cde8664)
  • option1:
    • Fix arguments passed to assert! macro (#222) (4c2cf6da)
    • Fix arguments passed to assert! macro (ead4f7af)
    • Add test for prematurely passing exercise (a750e4a1)
  • primitive_types4: Fail on a slice covering the wrong area (5b1e673c)
  • readme: http to https (70946b85)
  • test1:
    • Swap assertion parameter order (4086d463)
    • renamed function name to snake case closes #180 (89d5186c)

Features

  • Add enums exercises (dc150321)
  • Added exercise for struct update syntax (1c4c8764)
  • iterators2: adds iterators2 exercise including config (9288fccf)

1.4.1 (2019-08-13)

Bug Fixes

  • iterators2: Remove syntax resulting in misleading error message (4cde8664)
  • option1: Add test for prematurely passing exercise (a750e4a1)
  • test1: Swap assertion parameter order (4086d463)

1.4.0 (2019-07-13)

Bug Fixes

  • installation: Fix rustlings installation check (7a252c47)
  • iterators: Rename iterator3.rs (433d2115)
  • readme: http to https (70946b85)
  • test1: renamed function name to snake case (89d5186c)
  • cli: Check if changed exercise file exists before calling verify (ba85ca3)
  • structs1: Fix the irrefutable let pattern warning (cc6a141)

Features

  • changelog: Use clog for changelogs (34e31232)
  • iterators2: adds iterators2 exercise including config (9288fccf)

1.3.0 (2019-06-05)

Features

  • Adds a simple exercise for structures (#163, @briankung)

Bug Fixes

  • Add Result type signature as it is difficult for new comers to understand Generics and Error all at once. (#157, @veggiemonk)
  • Rustfmt and whitespace fixes (#161, @eddyp)
  • errorsn.rs: Separate also the hints from each other to avoid accidental viewing (#162, @eddyp)
  • fixed outdated links (#165, @gushroom)
  • Fix broken link (#164, @HanKruiger)
  • Remove highlighting and syntect (#167, @komaeda)

1.2.2 (2019-05-07)

Bug Fixes

  • Reverted --nocapture flag since it was causing tests to pass unconditionally

1.2.1 (2019-04-22)

Bug Fixes

  • Fix the --nocapture feature (@komaeda)
  • Provide a nicer error message for when you're in the wrong directory

1.2.0 (2019-04-22)

Features

  • Add errors to exercises that compile without user changes (@yvan-sraka)
  • Use --nocapture when testing, enabling println! when running (@komaeda)

1.1.1 (2019-04-14)

Bug fixes

  • Fix permissions on exercise files (@zacanger, #133)
  • Make installation checks more thorough (@komaeda, 1b3469f236)
  • Fix order of true/false in tests for executables (@mgeier, #137)
  • Stop run from panicking when compile fails (@cjpearce, #141)
  • Fix intermittent test failure caused by race condition (@cjpearce, #140)
  • Fix links by deleting book version (@diodfr, #142)
  • Canonicalize paths to fix path matching (@cjpearce, #143)

1.1.0 (2019-03-20)

  • errors2.rs: update link to Rust book (#124)
  • Start verification at most recently modified file (#120)
  • Watch for file creation events in watch mode (#117)
  • Add standard library types to exercises suite (#119)
  • Give a warning when Rustlings isn't run from the right directory (#123)
  • Verify that rust version is recent enough to install Rustlings (#131)

1.0.1 (2019-03-06)

  • Adds a way to install Rustlings in one command (curl -L https://git.io/rustlings | bash)
  • Makes rustlings watch react to create file events (@shaunbennett, #117)
  • Reworks the exercise management to use an external TOML file instead of just listing them in the code

1.0.0 (2019-03-06)

Initial release.