Skip to content

Commit

Permalink
Release version 1.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jg-rp committed Feb 23, 2024
1 parent d5f0ff6 commit c529b3f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Python JSONPath Change Log

## Version 0.11.0 (unreleased)
## Version 1.0.0

[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).

**Breaking Changes**

- The undocumented `keys` function extension is no longer enabled by default. A new, well-typed `keys` function is planned for the future.

**Fixes**

Expand All @@ -13,7 +19,7 @@

## Version 0.10.3

**Changes**
**Breaking Changes**

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

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 align="center">Python JSONPath</h1>

<p align="center">
A flexible JSONPath engine for Python with JSON Pointer and JSON Patch.
A flexible JSONPath engine for Python.
<br>
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>.
</p>
Expand Down Expand Up @@ -38,19 +38,19 @@ We follow <a href="https://datatracker.ietf.org/doc/html/rfc9535">RFC 9535</a> a

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

```console
```
pip install python-jsonpath
```

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

```console
```
pipenv install -u python-jsonpath
```

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

```console
```
conda install -c conda-forge python-jsonpath
```

Expand Down
2 changes: 1 addition & 1 deletion jsonpath/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023-present James Prior <[email protected]>
#
# SPDX-License-Identifier: MIT
__version__ = "0.10.3"
__version__ = "1.0.0"
1 change: 0 additions & 1 deletion jsonpath/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ async def finditer_async(

def setup_function_extensions(self) -> None:
"""Initialize function extensions."""
self.function_extensions["keys"] = function_extensions.keys
self.function_extensions["length"] = function_extensions.Length()
self.function_extensions["count"] = function_extensions.Count()
self.function_extensions["match"] = function_extensions.Match()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license = "MIT"
keywords = []
authors = [{ name = "James Prior", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
Expand Down

0 comments on commit c529b3f

Please sign in to comment.