Skip to content

Releases: echecsjs/fen

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 28 May 19:57
eb82830

Removed

  • BREAKING: Default export of parse. Use the named export instead:
    import { parse } from '@echecs/fen'.

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 01 May 14:54
5003c72

Changed

  • All shared types (Color, Square, Piece, CastlingRights, etc.) are now
    re-exported from @echecs/position instead of being defined locally.
  • parse() returns PositionData | null (was Position | null).
  • stringify() accepts PositionData (was Position) and fills defaults for
    omitted fields.
  • @echecs/position@^4.0.0 is now a required peer dependency.

Added

  • PositionData type export (re-exported from @echecs/position).

Removed

  • Position type export. Use PositionData from @echecs/position instead.

v2.1.1

Choose a tag to compare

@github-actions github-actions released this 17 Apr 09:00
9fdf46a

Fixed

  • Added top-level types field to package.json for TypeScript configs that
    don't resolve types through exports conditions.

Changed

  • Updated repository URLs after org transfer to echecsjs.

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Apr 18:58
4445054

Added

  • parse as a named export (import { parse } from '@echecs/fen').

Deprecated

  • Default export of parse. Use the named export instead. Will be removed in
    v3.

v2.0.2

Choose a tag to compare

@github-actions github-actions released this 09 Apr 17:21
2d6e7e3

Changed

  • added no-dependencies and serializer keywords

v2.0.1

Choose a tag to compare

@github-actions github-actions released this 09 Apr 16:59
159787e

Fixed

  • documented ParseOptions type export
  • documented SideCastlingRights type export
  • clarified named type exports

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 08 Apr 22:41
56ef1c6

Changed

  • Color type from 'w' | 'b' to 'white' | 'black'.
  • PieceType type from single-char ('p', 'n', 'b', 'r', 'q', 'k')
    to full names ('pawn', 'knight', 'bishop', 'rook', 'queen',
    'king').
  • CastlingRights from flat { wK, wQ, bK, bQ } to nested
    { white: { king, queen }, black: { king, queen } }.
  • Position.board from Map to ReadonlyMap.
  • En passant square type narrowed from Square to `${File}${'3' | '6'}`.

Added

  • EnPassantSquare and SideCastlingRights type exports.

Fixed

  • ESLint config ordering (eslint-config-prettier moved to end of array).

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 19 Mar 22:35
94d5ad7

Fixed

  • Updated lockfile after removing @echecs/position dependency.