0.8.0 (2020-08-05)
++++++++++++++++++
- Dropped Support for Python 2.7, 3.4, 3.5
- It's possible to use ``pathlib.Path`` objects now in the API
- The stubs are gone, we are now using annotations
- ``namedexpr_test`` nodes are now a proper class called ``NamedExpr``
- A lot of smaller refactorings
0.7.1
- Fixed a couple of smaller bugs (mostly syntax error detection in
``Grammar.iter_errors``)
This is going to be the last release that supports Python 2.7, 3.4 and 3.5.
0.7.0:
- Fix a lot of annoying bugs in the diff parser. The fuzzer did not find
issues anymore even after running it for more than 24 hours (500k tests).
- Small grammar change: suites can now contain newlines even after a newline.
This should really not matter if you don't use error recovery. It allows for
nicer error recovery.
0.5.2:
- Add include_setitem to get_definition/is_definition and get_defined_names
- Fix named expression error listing
- Fix some f-string tokenizer issues
0.5.0:
- **Breaking Change** comp_for is now called sync_comp_for for all Python
versions to be compatible with the Python 3.8 Grammar
- Added .pyi stubs for a lot of the parso API
- Small FileIO changes
0.3.4:
- Fix an f-string tokenizer error
0.3.3:
- Fix async errors in the diff parser
- A fix in iter_errors
- This is a very small bugfix release
0.3.2:
- 20+ bugfixes in the diff parser and 3 in the tokenizer
- A fuzzer for the diff parser, to give confidence that the diff parser is in a
good shape.
- Some bugfixes for f-string
0.3.1:
- Bugfixes in the diff parser and keyword-only arguments
0.3.0:
- Rewrote the pgen2 parser generator.
0.2.1:
- A bugfix for the diff parser.
- Grammar files can now be loaded from a specific path.
0.2.0:
- f-strings are now parsed as a part of the normal Python grammar. This makes
it way easier to deal with them.
0.1.1:
- Fixed a few bugs in the caching layer
- Added support for Python 3.7
for different Python versions (in multiple Python versions). Parso is also
able to list multiple syntax errors in your python file.
Parso has been battle-tested by jedi. It was pulled out of jedi to be useful
for other projects as well.
Parso consists of a small API to parse Python and analyse the syntax tree.