All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
1.4.15 24-05-04
- #488 Migrated from mocha tests to uvu
- #528 Fix strange chessjs format of move numbers (
11. ... Rd8
)
1.4.14 24-01-03
- #463 Document handling of additional characters in PGN (which may be interpreted as move)
- #444 Upgrade to Typescript 5.3.2
- #462 Fix wrong handling with multiple newline characters doing the split
1.4.13 23-11-18
- #439 Remove support for node 14
- #430 Allow 1/2 as valid result
- #436 Allow Z0 as empty move in PGN
- #391 Allow additional colors from chess.com
1.4.12 23-05-29
- #349 Allow BOM in PGN (exported by Chessbase)
1.4.11 23-05-10
- #365 Have TimeControl string as value after parsing
1.4.9 23-05-07
- #362 Allow chess.com commentary (ignored then)
1.4.6 23-02-02
- #332 Added
pgn-types
- #333 Fixes some problems with combinations of circle and arrows in comments
1.4.5 22-11-05
1.4.4 22-02-09
- #100 Cleanup of unnecessary
@ts-ignore
- #162 Export SyntaxError
1.4.3 22-01-29
- #136 Final solution: use UMD only, provide examples for different contexts
1.4.2 22-01-21
1.4.1 22-01-06
- #99 Result in SAN is kept as tag
- #57 Add draw offer to notation
- #113 Allow 'e.p.' when parsing
- #114 Allow leaving out '=' when promoting
- #117 Combine
movesInSeconds
withincrement
TimeControl
- #83 Set ELO to 0 if not set
- #101 Be robust with unknown TimeControl tag
- #116 Allow more than 1 period in TimeFormat
1.4.0 21-11-16
1.3.7 21-11-16
- #102 Fix for bug when using library in strict mode
1.3.6 21-11-16
- #97 Fix for bug when using library in strict mode
1.3.5 21-08-15
- #74 First working split solution
- #80 Cleanup code for splitting
- #90 Allow arbitrary action commands, keep the values
1.3.4 21-06-21
- #65 Fixed reset of messages
1.3.3 21-06-21
- #63 Added tags for Clock, WhiteClock, BlackClock
1.3.2 21-06-03
- #55 Be more resilient with clock annotations
1.3.1 21-05-30
- #62 Don't record turn if not known
1.3.0 21-05-30
- #58 Wrong date now recorded as message, not as parse error
1.2.8 21-04-30
- #54 Add drop notation for crazyhouse
1.2.7 21-04-18
- #52 Allow additional whitespace in tags
1.2.6 21-04-13
- #41 Comment
%eval
reads now a number
1.2.5 21-04-06
- #51 Allow any additional tags
1.2.4 21-04-03
- #45 Refactoring of unit tests
- #46 Implemented all date and time tags with correct structure
- #47 Implemented TimeControl fully to the spec
- #49 Add additional lichess tags to avoid errors
- #44 Fix for race conditions when having games without whitespace in between
1.2.3 21-03-30
- #43 Fix for race conditions when having games without whitespace in between
1.2.2 21-03-30
- #42 Ignores whitespace between comments
1.2.1 21-03-26
- #40 Ignore unknown actions in comments like
1. e4 {[%foo 1.01]}
. - #41 Read eval comments and store in
commentDiags
lock.
1.2.0 21-03-14
- Cleaned up grammar about comments, with a breaking change (removing
commentBefore
).
- #25 Was fixed some time before, added a test case.
- #34 Add game comment at the beginning, could be used for graphical annotations of the start position as well. PGN works with Chesstempo, Lichess, Scid.
- #35 Cleaned up grammar, remove
commentBefore
. - #36 Restricted move numbers to the valid format from spec.
1.1.6 21-03-10
- Restructured grammar, especially the part about comments.
- Reformatted test cases to avoid
var
.
- #8 Changed format
{ clock: { key: "clk", value: "01:01:01" } }
to{ clk: "01:01:01" }
. - #31 Reworked grammar according to the spec and supplement.
- #32 All mix of comments now possible.
1.1.5 21-02-28
- #33 Allow end-of-line comments triggered by
;
. - #29 Integrate Chessbase style of arrows mixing comments in.
- #28 Fixes typo in README.
- #27 Update Mocha (dependabot).
- #25 Fixes problem with SAN, RAV and result in PGN.
1.1.4 21-01-21
NPM trouble.
1.1.3 20-12-30
- #24 Fixing whitespace problems.
1.1.2 20-12-29
- #23 Add test case to demonstrate how to read one game.
- #22 How to use library in the browser.
- #21 Update Mocha (dependabot).
- #20 Update Mocha (dependabot).
- #19 Update Mocha (dependabot).
- #18 Update Mocha (dependabot).
- #17 Update Mocha (dependabot).
- #16 Update Mocha (dependabot).
- #15 Update Lodash (dependabot).
1.1.1 20-06-17
NPM trouble.
1.1.0 20-06-17
- Updated
CHANGELOG.md
to include the latest changes. - Updated
README.md
to explain how to use different start rules. - Adding test cases missing.
- 12 New parse rule
games
. Incredible speed (>9.000 games in 2.5s). - #9 Working on tags, spelling, case ...
- #14 Update Mocha (dependabot).
1.0.1 20-05-29
- Removed doublequotes from the tags, because they are not included in the original spec.
1.0.0 20-05-27
- Migrated from expect to should.
- Top level rules are now game, pgn, tags.
- #11 Read a complete game at once (tags and pgn).
0.10.0 20-05-17
- Added grammar for tags.
- Kept as default rule
pgn
to be backward compatible. - Added Github workflow to check at each commit build and tests.
- Migrated to Mocha and Expect.
- #1 Migrated all test cases to Mocha, developed mostly new ones.
- #3 Provide a useful README to explain installation, usage, ...
- #6 Integrates tags into the grammar.
0.9.9 20-05-11
- #3 Provides a speaking nice
README.md
with sufficient information. - #1 Defined a lot of test cases to have the complete scope of the grammar.
- #2 Automate the build of the generation of the parser.
0.9.8 2019-05-10
Inital version, functional identical to file PgnViewerJS/src/pgn-parser.ts
(now deleted).
- Made it buildable by NPM.
- Deployed that version as fully functional package that can be used by
npm i mliebelt@pgn-parser
.
Nothing