You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# Python JSONPath Change Log
2
2
3
+
## Version 0.10.0 (unreleased)
4
+
5
+
**Breaking Changes**
6
+
7
+
- The JSONPath lexer now yields distinct tokens for single and double quoted string literals. This is so the parser can do a better job of detecting invalid escape sequences.
8
+
- Changed the canonical representation of a JSONPath string literal to use double quotes instead of single quotes.
9
+
10
+
**Fixes**
11
+
12
+
- We no longer silently ignore invalid escape sequences in JSONPath string literals. For example, `$['\"']` used to be OK, it now raises a `JSONPathSyntaxError`.
Copy file name to clipboardExpand all lines: docs/syntax.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,6 @@ And this is a list of areas where we deviate from the [IETF JSONPath draft](http
193
193
- The root token (default `$`) is optional.
194
194
- Paths starting with a dot (`.`) are OK. `.thing` is the same as `$.thing`, as is `thing`, `$[thing]` and `$["thing"]`.
195
195
- The built-in `match()` and `search()` filter functions use Python's standard library `re` module, which, at least, doesn't support Unicode properties. We might add an implementation of `match()` and `search()` using the third party [regex](https://pypi.org/project/regex/) package in the future.
196
-
- We silently ignore unnecessary escaping when parsing some quoted selectors. The standard treats this as an "invalid selector".
197
196
198
197
And this is a list of features that are uncommon or unique to Python JSONPath.
0 commit comments