Skip to content

Commit c529b3f

Browse files
committed
Release version 1.0.0.
1 parent d5f0ff6 commit c529b3f

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

CHANGELOG.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Python JSONPath Change Log
22

3-
## Version 0.11.0 (unreleased)
3+
## Version 1.0.0
4+
5+
[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).
6+
7+
**Breaking Changes**
8+
9+
- The undocumented `keys` function extension is no longer enabled by default. A new, well-typed `keys` function is planned for the future.
410

511
**Fixes**
612

@@ -13,7 +19,7 @@
1319

1420
## Version 0.10.3
1521

16-
**Changes**
22+
**Breaking Changes**
1723

1824
- Changed the exception raised when attempting to compare a non-singular filter query from `JSONPathSyntaxError` to `JSONPathTypeError`.
1925

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1 align="center">Python JSONPath</h1>
22

33
<p align="center">
4-
A flexible JSONPath engine for Python with JSON Pointer and JSON Patch.
4+
A flexible JSONPath engine for Python.
55
<br>
66
We follow <a href="https://datatracker.ietf.org/doc/html/rfc9535">RFC 9535</a> and test against the <a href="https://github.com/jsonpath-standard/jsonpath-compliance-test-suite">JSONPath Compliance Test Suite</a>.
77
</p>
@@ -38,19 +38,19 @@ We follow <a href="https://datatracker.ietf.org/doc/html/rfc9535">RFC 9535</a> a
3838

3939
Install Python JSONPath using [pip](https://pip.pypa.io/en/stable/getting-started/):
4040

41-
```console
41+
```
4242
pip install python-jsonpath
4343
```
4444

4545
Or [Pipenv](https://pipenv.pypa.io/en/latest/):
4646

47-
```console
47+
```
4848
pipenv install -u python-jsonpath
4949
```
5050

5151
Or from [conda-forge](https://anaconda.org/conda-forge/python-jsonpath):
5252

53-
```console
53+
```
5454
conda install -c conda-forge python-jsonpath
5555
```
5656

jsonpath/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# SPDX-FileCopyrightText: 2023-present James Prior <[email protected]>
22
#
33
# SPDX-License-Identifier: MIT
4-
__version__ = "0.10.3"
4+
__version__ = "1.0.0"

jsonpath/env.py

-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ async def finditer_async(
336336

337337
def setup_function_extensions(self) -> None:
338338
"""Initialize function extensions."""
339-
self.function_extensions["keys"] = function_extensions.keys
340339
self.function_extensions["length"] = function_extensions.Length()
341340
self.function_extensions["count"] = function_extensions.Count()
342341
self.function_extensions["match"] = function_extensions.Match()

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = "MIT"
1111
keywords = []
1212
authors = [{ name = "James Prior", email = "[email protected]" }]
1313
classifiers = [
14-
"Development Status :: 4 - Beta",
14+
"Development Status :: 5 - Production/Stable",
1515
"Intended Audience :: Developers",
1616
"License :: OSI Approved :: MIT License",
1717
"Programming Language :: Python",

0 commit comments

Comments
 (0)