Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Nov 4, 2022

This PR updates funcparserlib from 0.3.6 to 1.0.1.

Changelog

1.0.1

------------------

Added

* Added support for Python 3.11

1.0.0

------------------

The stable 1.0.0 release freezes the API of funcparserlib 0.3.6 which was released on
2013-05-02, with a few bug fixes and small features.

Added

* Added support for Python 3.10
* Added support for Python 3.9
([63](https://github.com/vlasovskikh/funcparserlib/pull/63))
(Thanks to [pkulev](https://github.com/pkulev))
* Added support for Python 3.8
* Added `-p` (the same as `skip(p)`) with more strict type hints for `-p` and `p1 + p2`
* Added `tok(type[, value])` for more compact grammars, better error messages
* Added `TokenSpec(type, pattern[, flags])` to simplify the use of `make_tokenizer()`
* Added type hints for the public API
* Added the new library homepage with the new Getting Started guide and the new API
reference

Changed

* Parse exceptions now show expected tokens and grammar rules at the stopped position
([52](https://github.com/vlasovskikh/funcparserlib/issues/52))
* Dropped support for Python 3.4, 3.5, 3.6 (end of life)
* Dropped support for Python 2.5, 2.6, 3.3 (end of life), modernized code for Python 
3 to run without obsolete `2to3`
([57](https://github.com/vlasovskikh/funcparserlib/pull/57))
(Thanks to [jdufresne](https://github.com/jdufresne))
* Removed documentation and unit tests from the distribution
* Switched from setuptools to Poetry
* Switched to poetry-core for lighter PEP 517 builds
([73](https://github.com/vlasovskikh/funcparserlib/pull/73))
(Thanks to [fabaff](https://github.com/fabaff))
* Run unit tests on GitHub Actions for all supported Pythons

Fixed

* Fixed `TypeError` in `oneplus` when applying it `parser + parser` 
([66](https://github.com/vlasovskikh/funcparserlib/issues/66))
(Thanks to [martica](https://github.com/martica))
* Fixed `AttributeError` when comparing `Token` objects to `None`
([58](https://github.com/vlasovskikh/funcparserlib/pull/58))
(Thanks to [Halolegend94](https://github.com/Halolegend94))
* Fixed doctests in the tutorial
([49](https://github.com/vlasovskikh/funcparserlib/issues/49))
* Fixed several cases of wrong expected tokens in error messages
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant