Skip to content

Commit db25182

Browse files
committed
chore: fix linting issue, update change log
1 parent 79360f6 commit db25182

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Version 0.6.0
44

5+
**Features**
6+
7+
- Added the keys/properties selector (`~`).
8+
59
**IETF JSONPath Draft compliance**
610

711
- Don't allow leading zeros in index selectors. We now raise a `JSONPathSyntaxError`.

‎docs/syntax.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ $.categories[0].products[*]
6868

6969
### Keys (`.~` or `[~]`)
7070

71+
**_New in version 0.6.0_**
72+
7173
Select keys/properties from an object using `~`.
7274

7375
```text

‎jsonpath/selectors.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
from typing import TypeVar
1616
from typing import Union
1717

18-
from jsonpath.match import JSONPathMatch
19-
2018
from .exceptions import JSONPathIndexError
2119
from .exceptions import JSONPathTypeError
2220
from .match import JSONPathMatch

0 commit comments

Comments
 (0)