Skip to content

Commit 1e66520

Browse files
committed
Prepare release notes for v0.21.1
1 parent 251a24b commit 1e66520

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file.
66

77
- Ongoing work toward the next pre-1.0 release.
88

9+
## v0.21.1 - 2026-03-08
10+
11+
- Fixed bare zero-arg `yield` parsing so newline-separated assignments and expressions no longer get misparsed as implicit yield arguments.
12+
- Added parser regression coverage for zero-arg and inline-arg `yield` forms.
13+
- Added a compile-all `examples/` test to catch unreferenced example parse failures in CI and fixed `examples/blocks/yield_patterns.vibe` to use the intended zero-paren `yield` form again.
14+
915
## v0.21.0 - 2026-03-08
1016

1117
- Added nominal enums with `::` member access, reflective member helpers, and typed symbol coercion across function and block boundaries.

ROADMAP.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,3 +454,27 @@ Goal: add first-class nominal enums and harden the typed runtime around enum res
454454
- [x] Enum syntax and typed-runtime behavior are documented and exercised by runnable examples and tests.
455455
- [x] Enum resolution behaves correctly across modules, blocks, shadowed scopes, and typed normalization paths.
456456
- [x] Tooling and release automation changes are documented and stable for the next release cycle.
457+
458+
---
459+
460+
## v0.21.1 - Yield Parsing and Example Coverage (completed 2026-03-08)
461+
462+
Goal: close the gap between curated example tests and stricter startup paths while fixing zero-arg `yield` parsing in multiline assignment contexts.
463+
464+
### Parser Correctness
465+
466+
- [x] Allow bare zero-arg `yield` to terminate cleanly at line boundaries instead of consuming the next line as an implicit argument.
467+
- [x] Preserve inline `yield value` parsing for same-line implicit argument forms.
468+
- [x] Add parser regression coverage for zero-arg and inline-arg `yield` assignments.
469+
470+
### Example Coverage
471+
472+
- [x] Compile every `.vibe` file under `examples/` in CI instead of only relying on the curated `TestExamples` matrix.
473+
- [x] Fix `examples/blocks/yield_patterns.vibe` to match the intended zero-paren `yield` behavior.
474+
- [x] Ensure the full `./vibes` package remains green with the new compile-all-examples guard enabled.
475+
476+
### v0.21.1 Definition of Done
477+
478+
- [x] Bare zero-arg `yield` works in multiline assignment and expression contexts without requiring `yield()`.
479+
- [x] Example startup paths and CI now agree on whether every file under `examples/` compiles.
480+
- [x] Patch release notes and roadmap entries are ready for tagging.

cmd/vibes/repl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ func (m replModel) View() tea.View {
561561
var b strings.Builder
562562

563563
header := headerStyle.Render("VibeScript REPL")
564-
version := mutedStyle.Render("v0.20.0")
564+
version := mutedStyle.Render("v0.21.1")
565565
b.WriteString(header + " " + version + "\n")
566566
b.WriteString(mutedStyle.Render(strings.Repeat("─", min(m.width-2, 60))) + "\n\n")
567567

0 commit comments

Comments
 (0)