rustlings/changelog/v6.4.0/index.html

139 lines
5.8 KiB
HTML

<!DOCTYPE html>
<html lang="en" id="oranda" class="dark">
<head>
<title>rustlings</title>
<meta property="og:url" content="https://rustlings.cool" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Small exercises to get you used to reading and writing Rust code!" />
<meta property="og:description" content="Small exercises to get you used to reading and writing Rust code!" />
<meta property="og:type" content="website" />
<meta property="og:title" content="rustlings" />
<meta http-equiv="Permissions-Policy" content="interest-cohort=()" />
<link rel="stylesheet" href="/oranda-v0.3.1.css" />
</head>
<body>
<div class="container">
<div class="page-body">
<div class="repo_banner">
<a href="https://github.com/rust-lang/rustlings">
<div class="github-icon" aria-hidden="true"></div>
Check out our GitHub!
</a>
</div>
<main>
<header>
<h1 class="title">rustlings</h1>
<nav class="nav">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/changelog/">Changelog</a></li>
</ul>
</nav>
</header>
<div>
<h1>Rustlings 6.4.0</h1>
<div class="releases-body">
<section class="release ">
<div class="release-info">
<span class="flex items-center gap-2">
<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'>
<path stroke-linecap='round' stroke-linejoin='round' d='M9.568 3H5.25A2.25 2.25 0 003 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 005.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 009.568 3z' />
<path stroke-linecap='round' stroke-linejoin='round' d='M6 6h.008v.008H6V6z' /></svg>
v6.4.0
</span>
<span class="flex items-center gap-2">
<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'><path stroke-linecap='round' stroke-linejoin='round' d='M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5' /></svg>
Nov 11 2024 at 14:58 UTC
</span>
</div>
<div class="release-body">
<h3>Added</h3>
<ul>
<li>The list of exercises is now searchable by pressing <code>s</code> or <code>/</code> 🔍️ (thanks to <a href="https://github.com/frroossst" rel="noopener noreferrer">@frroossst</a>)</li>
<li>New option <code>c</code> in the prompt to manually check all exercises ✅ (thanks to <a href="https://github.com/Nahor" rel="noopener noreferrer">@Nahor</a>)</li>
<li>New command <code>check-all</code> to manually check all exercises ✅ (thanks to <a href="https://github.com/Nahor" rel="noopener noreferrer">@Nahor</a>)</li>
<li>Addictive animation for showing the progress of checking all exercises. A nice showcase of parallelism in Rust ✨</li>
<li>New option <code>x</code> in the prompt to reset the file of the current exercise 🔄</li>
<li>Allow <code>dead_code</code> for all exercises and solutions ⚰️ (thanks to <a href="https://github.com/huss4in" rel="noopener noreferrer">@huss4in</a>)</li>
<li>Pause input while running an exercise to avoid unexpected prompt interactions ⏸️</li>
<li>Limit the maximum number of exercises to 999. Any third-party exercises willing to reach that limit? 🔝</li>
</ul>
<h3>Changed</h3>
<ul>
<li><code>enums3</code>: Remove redundant enum definition task (thanks to <a href="https://github.com/senekor" rel="noopener noreferrer">@senekor</a>)</li>
<li><code>if2</code>: Make the exercise less confusing by avoiding "fizz", "fuzz", "foo", "bar" and "baz" (thanks to <a href="https://github.com/senekor" rel="noopener noreferrer">@senekor</a>)</li>
<li><code>hashmap3</code>: Use the method <code>Entry::or_default</code>.</li>
<li>Update the state of all exercises when checking all of them (thanks to <a href="https://github.com/Nahor" rel="noopener noreferrer">@Nahor</a>)</li>
<li>The main prompt doesn't need a confirmation with ENTER on Unix-like systems anymore.</li>
<li>No more jumping back to a previous exercise when its file is changed. Use the list to jump between exercises.</li>
<li>Dump the solution file after an exercise is done even if the solution's directory doesn't exist.</li>
<li>Rework the footer in the list.</li>
<li>Optimize the file watcher.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix bad contrast in the list on terminals with a light theme.</li>
</ul>
<p><a rel="noopener noreferrer"></a></p>
</div>
</section>
</div>
</div>
</main>
</div>
<footer>
<a href="https://github.com/rust-lang/rustlings"><div class="github-icon" aria-hidden="true"></div></a>
<span>
rustlings, MIT
</span>
</footer>
</div>
<script defer="true" data-domain="rustlings.cool" src="https://plausible.io/js/script.js"></script>
</body>
</html>