Skip to content

breaking(assertjson): remove deprecated APIs and JSON Pointer paths - #26

Merged
strider2038 merged 2 commits into
masterfrom
remove-deprecated-assertjson-api
Sep 23, 2026
Merged

strider2038 merged 2 commits into
masterfrom
remove-deprecated-assertjson-api

Conversation

@strider2038

Copy link
Copy Markdown
Contributor

Summary

  • Remove all previously deprecated assertjson symbols (legacy AssertNode helpers, Nodef/Atf, UUID chain aliases).
  • Drop JSON Pointer strings as a single path argument to Node/At; navigation is path elements only.
  • Update README, EXAMPLES, and CHANGELOG for the breaking change.

Test plan

  • bash scripts/test-all.sh

Migration

  • Replace EqualToTheString → IsString().EqualTo, numeric/array/object helpers → fluent IsInteger() / IsNumber() / IsArray() / IsObject() chains.
  • Replace Node("/a/b") → Node("a", "b") (or numeric indices as separate args).
  • UUID: Nil/Version/… → IsNil/OfVersion/…

Made with Cursor

Igor Lazarev and others added 2 commits September 23, 2026 08:13
Drop legacy AssertNode helpers, Nodef/Atf, and single-string JSON Pointer navigation in favor of fluent chains and path elements.

Co-authored-by: Cursor <cursoragent@cursor.com>
Switch to gomodguard_v2, exclude goconst in tests, and fix govet inline on nilable kinds.

Co-authored-by: Cursor <cursoragent@cursor.com>
@strider2038
strider2038 merged commit f0282e6 into master Sep 23, 2026
1 check passed
@strider2038
strider2038 deleted the remove-deprecated-assertjson-api branch September 23, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant