@@ -5,14 +5,20 @@ All notable changes will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ## Unreleased
8+ ## [ 0.3.0 ] - 2026-01-25
99
1010- Refactored ` CustomLexer ` to add a new ` CustomLexerContext ` type that is passed
11- to state functions. This context provides access to the underlying ` Lexer `
12- as well as additional helper methods for lexing.
13- - Refactored ` Parser ` to add a new ` ParserContext ` type that is passed
14- to state functions. This context provides access to the underlying ` Parser `
15- as well as additional helper methods for parsing.
11+ to state functions. This context provides access to the underlying ` Lexer ` as
12+ well as additional helper methods for lexing.
13+ - Refactored ` Parser ` to add a new ` ParserContext ` type that is passed to state
14+ functions. This context provides access to the underlying ` Parser ` as well as
15+ additional helper methods for parsing.
16+ - Updated the ` CustomLexer ` to not return ` io.EOF ` from ` CustomLexer.Err ` . It
17+ should only return unexpected errors
18+ ([ #170 ] ( https://github.com/ianlewis/lexparse/issues/170 ) ).
19+ - Fixed an issue where the ` Filename ` field was not set on ` Position ` values
20+ returned by the ` CustomLexer ` and ` ScanningLexer `
21+ ([ #169 ] ( https://github.com/ianlewis/lexparse/issues/169 ) ).
1622
1723## [ 0.2.0] - 2025-10-31
1824
@@ -33,3 +39,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3339
3440[ 0.1.0 ] : https://github.com/ianlewis/lexparse/releases/tag/v0.1.0
3541[ 0.2.0 ] : https://github.com/ianlewis/lexparse/releases/tag/v0.2.0
42+ [ 0.3.0 ] : https://github.com/ianlewis/lexparse/releases/tag/v0.3.0
0 commit comments