Skip to content

Commit 67c32bf

Browse files
committed
Update change log
1 parent 75f6556 commit 67c32bf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Python JSONPath Change Log
22

3+
## Version 1.1.0 (unreleased)
4+
5+
**Features**
6+
7+
- Added the "query API", a fluent, chainable API for manipulating `JSONPathMatch` iterators.
8+
39
## Version 1.0.0
410

511
[RFC 9535](https://datatracker.ietf.org/doc/html/rfc9535) (JSONPath: Query Expressions for JSON) is now out, replacing the [draft IETF JSONPath base](https://datatracker.ietf.org/doc/html/draft-ietf-jsonpath-base-21).

docs/query.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In addition to [`findall()`](api.md#jsonpath.JSONPathEnvironment.findall) and [`
66

77
[`Query`](api.md#jsonpath.Query) objects provide chainable methods for manipulating a [`JSONPathMatch`](api.md#jsonpath.JSONPathMatch) iterator, just like you'd get from `finditer()`. Obtain a `Query` object using the package-level `query()` function or [`JSONPathEnvironment.query()`](api.md#jsonpath.JSONPathEnvironment.query).
88

9-
This example uses the query API to skip the first 5 matches, limit the total number of matches to 10, and get the value associated with each match.
9+
This example uses the query API to skip the first five matches, limit the total number of matches to ten, and get the value associated with each match.
1010

1111
```python
1212
from jsonpath import query

0 commit comments

Comments
 (0)