Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
Notable changes per release. Dates are the release date; the PR numbers link the
detail, which is where the reasoning lives.

## Unreleased
## 0.3.2 — 2026-08-23

Three ways a deck file could be damaged or a path mistyped, all of them found
by pointing the app at files nobody had thought to point it at.
by pointing the app at files nobody had thought to point it at. The first is
the one to upgrade for: it could delete lines out of a file you wrote.

### Fixed

Expand All @@ -27,18 +28,19 @@ by pointing the app at files nobody had thought to point it at.

Blank lines are carried the same way, so a deck with sections in it round
trips byte for byte and a save that changes nothing still writes nothing.
(#27)

- **A deck path that cannot hold a deck is refused, before the menu.** Naming a
directory loaded an empty deck and opened as normal; so did naming a file
under a directory that does not exist. Either way the problem only surfaced
as a failed save, after a card had been typed in. Both are checked up front
now, for every mode, and exit 2 with the reason.
now, for every mode, and exit 2 with the reason. (#27)

- **CRLF decks load clean.** A deck written on Windows, or exported by a
spreadsheet, kept the carriage return as part of each answer. It was
invisible on screen, but it went back to disk as a quoted `"hello\r"` and
stayed there. The line ending is now stripped where the line is parsed, which
covers imports as well as decks, and writing normalises to `\n`.
covers imports as well as decks, and writing normalises to `\n`. (#27)

## 0.3.1 — 2026-08-20

Expand Down
2 changes: 1 addition & 1 deletion src/cli.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace FlashTerm {
// Pre-1.0 on purpose: the deck format and review flow are still gaining
// features, and 1.0.0 would promise a stability that is not being offered yet.
inline constexpr char kVersion[] = "0.3.1";
inline constexpr char kVersion[] = "0.3.2";

// What the command line asked for. Anything that is not RunDeck is handled and
// exited on immediately, before a deck is touched.
Expand Down
Loading