File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,18 @@ and this project adheres to
88
99## [ Unreleased]
1010
11+ ## [ 3.8.1] - 2026-03-15
12+
13+ ### Fixed
14+
15+ - ` PIECE_MOVE ` no longer accepts promotion syntax (` =Q ` , ` =N ` , etc.) on non-pawn
16+ pieces. ` Nf3=Q ` previously parsed silently and produced a ` Move ` object with a
17+ nonsensical ` promotion ` field; it now causes a parse failure. Only ` PAWN_PUSH `
18+ and ` PAWN_CAPTURE ` accept the ` PROMO ` suffix, as required by the PGN spec.
19+ - ` Meta.Result ` is now typed as optional (` Result?: Result ` ) to reflect that
20+ tagless games (no tag pairs) return ` meta: {} ` with no ` Result ` key. The field
21+ was previously typed as required, which was incorrect at runtime.
22+
1123## [ 3.8.0] - 2026-03-15
1224
1325### Added
Original file line number Diff line number Diff line change 8282 },
8383 "type" : " module" ,
8484 "types" : " dist/index.d.ts" ,
85- "version" : " 3.8.0 "
85+ "version" : " 3.8.1 "
8686}
You can’t perform that action at this time.
0 commit comments