Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.2.5] - 2024-10-27
Added
Official support for Python 3.13.
Removed
Support for Python 3.8 removed.
[0.2.4] - 2024-01-05
Added
Official support for Python 3.12.
[0.2.3] - 2023-08-01
Fixed
Remove unnecessary dependency on
typing-extensions
.
[0.2.2] - 2023-02-09
Fixed
StreamReaderBuffer
will always read sufficient bytes (or up to EOF) before returning the slice or index requested with theget()
method. Previously, less bytes might have been read causing improper parsing when usingparse_incremental
.
[0.2.1] - 2023-01-10
Fixed
Remove Python 3.7 classifier as it is no longer supported.
[0.2.0] - 2023-01-10
Added
Better error reporting if parsing fails: the current input is included in the message with the error position highlighted.
Declare official Python 3.11 support.
Changed
Drop Python 3.7 support
[0.1.3] - 2022-06-11
Fixed
Allow install with Python 3.10 (and later)
[0.1.2] - 2022-02-13
Added
Documentation
Added
Forward
andGroup
toimport * from bite
import.Added
Forward
toimport * from bite.parsers
import.Added
Group
tomiport * from bite.transforms
import.
Changed
Merged
bite.core
intobite.parsers
.
[0.1.1] - 2022-01-30
Added
Group
transform to introduce explicit groupings, now that parse values are flattened otherwise (see below).Not
parser to allow for negative look-ahead.Forward
declaration parser to allow for recursive rules.BytesBuffer
andparse_bytes
for easier usage without asyncio streams.
Changed
Renamed the
value
property ofParseNode
tovalues
. All nodes return now iterables and sub-values will be flattened into a common iterable.Renamed
TransformValue
toTransformValue
as it now gets and is expected to produce an iterable of values.Opt
has no longer a custom implementation, but is just equivalent toexpr[0, 1]
.
Removed
OnlyValue
Fixed
Fixed detection of EOF in streams to prevent
parse_incremental
from raising unexpected parse errors. TheMockReader
is now more closely matching the EOF behavior ofStreamReader
.Fixed off-by-one error which could lead to a stalling reader waiting for a byte that never will be sent.
[0.1.0] - 2022-01-29
Initial release.