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
StreamReaderBufferwill 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
ForwardandGrouptoimport * from biteimport.Added
Forwardtoimport * from bite.parsersimport.Added
Grouptomiport * from bite.transformsimport.
Changed
Merged
bite.coreintobite.parsers.
[0.1.1] - 2022-01-30
Added
Grouptransform to introduce explicit groupings, now that parse values are flattened otherwise (see below).Notparser to allow for negative look-ahead.Forwarddeclaration parser to allow for recursive rules.BytesBufferandparse_bytesfor easier usage without asyncio streams.
Changed
Renamed the
valueproperty ofParseNodetovalues. All nodes return now iterables and sub-values will be flattened into a common iterable.Renamed
TransformValuetoTransformValueas it now gets and is expected to produce an iterable of values.Opthas no longer a custom implementation, but is just equivalent toexpr[0, 1].
Removed
OnlyValue
Fixed
Fixed detection of EOF in streams to prevent
parse_incrementalfrom raising unexpected parse errors. TheMockReaderis 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.