Skip to content

Commit 5b918d0

Browse files
committed
docs: update breaking changes with v6
1 parent b7898ee commit 5b918d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,5 +253,9 @@ console.log(pointer); // output: '/my pointer/to/property'
253253

254254
## Breaking Changes
255255

256+
- 2024/04/06 with `v6`, selection of empty properties is supported:
257+
- "/" now selects an empty property (previously root-pointer)
258+
- "a//b" is now a valid pointer to `"a" » "" » "b"`
259+
- `join` no longer removes double slashes when joining `join("/a/", "/b")` » "/a//b"
256260
- 2022/12/02 with `v5`, package has been renamed to `json-pointer` and published under `@sagold/json-pointer`
257261
- 2020/11/09 with `v4`, `pointer.delete` has been renamed to `remove`

0 commit comments

Comments
 (0)