Repository navigation
Comparing changes
Open a pull request
base repository: rayokota/JSONata4Java
base: master
head repository: IBM/JSONata4Java
compare: master
- 7 commits
- 121 files changed
- 6 contributors
Commits on Jul 6, 2026
-
Add pluggable regex engine support (IBM#428)
Signed-off-by: Robert Yokota <rayokota@gmail.com> Thank you for your work.
Configuration menu - View commit details
-
Copy full SHA for 3416fe7 - Browse repository at this point
Copy the full SHA 3416fe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba13f67 - Browse repository at this point
Copy the full SHA ba13f67View commit details
Commits on Jul 7, 2026
-
Migrate from Jackson 2.x to Jackson 3 (tools.jackson) (IBM#430) (IBM#431
) * Add design spec for Jackson 3 migration (IBM#430) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: wnm3 <wnm3@us.ibm.com> * Add implementation plan for Jackson 3 migration (IBM#430) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: wnm3 <wnm3@us.ibm.com> * Expand version-bump scope to README and launch scripts per ReleaseProcedure.txt (IBM#430) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: wnm3 <wnm3@us.ibm.com> * Migrate from Jackson 2.x to Jackson 3 (tools.jackson) (IBM#430) Move the codebase from com.fasterxml.jackson 2.x to tools.jackson 3.2.0. - pom.xml: use tools.jackson.core:jackson-databind and tools.jackson.dataformat:jackson-dataformat-xml 3.2.0; remove the Jackson 2.x databind and dataformat-xml deps (woodstox-core retained); bump project version 2.6.4 -> 3.0.0. - Package/class/method renames across main and test sources: com.fasterxml.jackson.* -> tools.jackson.*, TextNode -> StringNode, JsonFactory -> tools.jackson.core.json.JsonFactory, JsonProcessingException -> JacksonException, JsonMappingException -> DatabindException, immutable mapper builders. Behavior-preserving fixes for Jackson 3 default/API changes (no test assertion or expected value was changed): - MatchFunction/ReplaceFunction: guard the pattern emptiness checks so a POJONode-wrapped RegularExpression never reaches the now-throwing asText(); logic is identical to Jackson 2. - ArrayUtils.compare: pass "" default to asText() so container operands coerce to "" as they did under Jackson 2 instead of throwing. - AgnosticTestSuite: normalize whole-number doubles with (long) d, replicating Jackson 2's silent narrowing (Jackson 3's asLong() throws on out-of-long-range values). - Utils test mapper: disable FAIL_ON_TRAILING_TOKENS to restore the Jackson 2 default so existing test inputs parse identically. - catch (IOException) -> catch (JacksonException) where Jackson 3 methods no longer throw checked IOException. - README and launch scripts (tester.sh, testerui.sh, testerui.cmd): version 2.6.4 -> 3.0.0. Verified: mvn clean test green (1223 tests, 0 failures, 93 skipped); mvn package builds JSONata4Java-3.0.0.jar with an OSGi Import-Package header referencing only tools.jackson.* [3.2,4); Tester CLI evaluation and XML round-trip smoke-tested. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: wnm3 <wnm3@us.ibm.com> * Document retained Jackson 2 behaviors and known issues (IBM#430) - Add a "Retained Jackson 2 behaviors (as-built)" section to the design spec listing each compatibility decision (container asText(""), POJONode emptiness guards, (long) d narrowing, FAIL_ON_TRAILING_TOKENS, unchecked-exception catches), plus the pre-existing Tester EOF NPE and the acceptable transitive jackson-annotations dependency. - Add explanatory comments at the MatchFunction/ReplaceFunction guard sites so the isTextual()-guarded emptiness checks are self-documenting. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: wnm3 <wnm3@us.ibm.com> * Fix out-of-range numeric coercion and related Jackson 3 fail-fast crashes (IBM#433) Jackson 3 makes asInt()/asLong()/textValue()/asBoolean() fail-fast: they throw JsonNodeException for out-of-range or wrong-type nodes where Jackson 2 silently narrowed/coerced. Several unchanged call sites therefore flipped from "return a value" to "crash with a raw Jackson exception". Fix them to use the widest-safe representation (BigInteger/double) or a controlled JSONata error, matching jsonata.org 2.2.1 where known. IBM#433 numeric coercion: - ExpressionsVisitor.isWholeNumber(JsonNode): use the double overload instead of asInt()==asDouble() (threw for integral doubles > int range, e.g. 1e19). - Array index: only select when canConvertToInt(); out-of-int-range indices are out of bounds and select nothing (e.g. ["a","b"][3000000000] -> undefined). - Range visitSeq: compute bounds and size with BigInteger, raising the controlled "sequence too big" error for [1..1e19]/[1..3000000000] (also fixes a latent int count overflow). - Unary minus: negate an out-of-long-range BigIntegerNode exactly. - Equality (=) and ordering (< > <= >=): compare integral operands via exact bigIntegerValue(), hardening the same crash class on BigInteger operands. - SumFunction: oversized integral elements fall back to the double-sum path. - FromMillis/FromMillisZoned: convert an out-of-range magnitude to a controlled "Number out of range" error while preserving fractional-millis truncation. - FormatBase: use the full long value + Long.toString instead of a 32-bit int ($formatBase(5890840712243076) -> "5890840712243076", was "1008002948"). Related migration compatibility fixes swept in: - JoinFunction (IBM#434): every element must be a string; error on any non-string (including nested arrays) instead of flattening, matching the reference and avoiding textValue() throwing. - BooleanUtils: return false for a BinaryNode (JSON/reference has no binary type; Jackson 3's no-arg asBoolean() throws) consistent with prior behavior. - Ordering operators: array/object operands raise "must evaluate to numeric or string values" rather than returning null. Adds BasicExpressionsTests.testOutOfRangeNumericCoercion documenting the fixed behavior. Full suite: 1223 run, 0 failures, 0 errors, 93 skipped. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: wnm3 <wnm3@us.ibm.com> * Fix Maven build warnings in pom.xml - Export com.api.jsonata4java.expressions.regex so bnd no longer flags it as a private reference leaked through the public API of the com.api.jsonata4java and com.api.jsonata4java.expressions exports. - Remove empty <additionalClasspathElements/> from maven-compiler-plugin (not a valid parameter for that plugin). - Remove <excludes> from maven-assembly-plugin single goal (not a valid parameter; exclusions belong in an assembly descriptor). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: wnm3 <wnm3@us.ibm.com> * Document Maven build-warning cleanup in migration design doc (IBM#430) Record the pom.xml build-warning fixes (bnd private-reference exports, invalid maven-compiler-plugin/maven-assembly-plugin parameters) and note that the gpg.passphrase deprecation originates from local settings.xml, not the project pom. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: wnm3 <wnm3@us.ibm.com> * Ignore local .superpowers/ tooling directory Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: wnm3 <wnm3@us.ibm.com> --------- Signed-off-by: wnm3 <wnm3@us.ibm.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 01f1157 - Browse repository at this point
Copy the full SHA 01f1157View commit details
Commits on Jul 10, 2026
-
Update jackson monorepo to v3.2.1 (IBM#441)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4c08c32 - Browse repository at this point
Copy the full SHA 4c08c32View commit details
Commits on Jul 22, 2026
-
Update dependency org.apache.maven.plugins:maven-jar-plugin to v3.5.1 (…
…IBM#442) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9d832df - Browse repository at this point
Copy the full SHA 9d832dfView commit details
Commits on Nov 13, 2026
-
- Bump jackson-databind and jackson-dataformat-xml from 3.2.1 to 3.2.3 to resolve Dependabot alerts IBM#8-IBM#12 (DoS issues, incomplete PolymorphicTypeValidator denylist, Path deserialization scheme checks). - Restrict the CI workflow token to `contents: read` (code scanning alert actions/missing-workflow-permissions). - Replace implicit double-to-int compound assignment in DateTimeUtils.lettersToDecimal with integer arithmetic (code scanning alert java/implicit-cast-in-compound-assignment). Signed-off-by: Radu Florian <raduf@us.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 5529a24 - Browse repository at this point
Copy the full SHA 5529a24View commit details -
Merge pull request IBM#463 from IBM/fix/security-alerts
Fix open security alerts
Configuration menu - View commit details
-
Copy full SHA for 8accd6f - Browse repository at this point
Copy the full SHA 8accd6fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master