Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stleary/JSON-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 20260522
Choose a base ref
...
head repository: stleary/JSON-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 20260719
Choose a head ref
  • 20 commits
  • 14 files changed
  • 6 contributors

Commits on May 29, 2026

  1. docs-and-warnings-cleanup cleanup some doc files, update pom for depl…

    …oyment, fix some JSONObject warnings
    Sean Leary Sean Leary
    Sean Leary authored and Sean Leary committed May 29, 2026
    Configuration menu
    Copy the full SHA
    d84fa1a View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2026

  1. Merge pull request #1058 from stleary/docs-and-warnings-cleanup

    docs-and-warnings-cleanup
    stleary authored Jun 1, 2026
    Configuration menu
    Copy the full SHA
    33a4698 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2026

  1. restore-lenient-jsonarray initial commit

    Sean Leary Sean Leary
    Sean Leary authored and Sean Leary committed Jun 15, 2026
    Configuration menu
    Copy the full SHA
    c073157 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2026

  1. restore-lenient-jsonarray fix some sonarcube issues

    Sean Leary Sean Leary
    Sean Leary authored and Sean Leary committed Jun 16, 2026
    Configuration menu
    Copy the full SHA
    ad26e94 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26ee6eb View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2026

  1. Configuration menu
    Copy the full SHA
    8353b59 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2026

  1. Merge pull request #1061 from stleary/restore-lenient-jsonarray

    restore-lenient-jsonarray allow consecutive commas and insert null
    stleary authored Jun 18, 2026
    Configuration menu
    Copy the full SHA
    4a23fd8 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2026

  1. Merge pull request #1062 from Fahmida-Hossain-Charu/pr/refactor-cdl-r…

    …ow-serialization
    
    Refactor CDL row serialization for readability
    stleary authored Jun 21, 2026
    Configuration menu
    Copy the full SHA
    c91d821 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2026

  1. Configuration menu
    Copy the full SHA
    ab92bb9 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2026

  1. Merge pull request #1065 from Damien-Warren-206/master

    Fixes CVE-2026-59171
    stleary authored Jul 6, 2026
    Configuration menu
    Copy the full SHA
    1efb5f6 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2026

  1. 1063-option-3 parserConfig set max len

    Sean Leary Sean Leary
    Sean Leary authored and Sean Leary committed Jul 13, 2026
    Configuration menu
    Copy the full SHA
    90563eb View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2026

  1. #1063: bound BigDecimal->BigInteger expansion in objectToBigInteger

    Completes the CVE-2026-59171 fix started in ab92bb9 / #1065. The
    1000-char length guard in stringToValue admits short exponent-notation
    literals (e.g. 1e100000000, 11 chars) which are stored compactly as
    BigDecimal and only expand when getBigInteger/optBigInteger calls
    BigDecimal.toBigInteger(), materialising ~10^8 digits and stalling the
    thread or throwing OOM.
    
    Guard both toBigInteger() sites in objectToBigInteger by rejecting any
    BigDecimal whose integer part would exceed
    ParserConfiguration.DEFAULT_MAX_NUMBER_LENGTH decimal digits
    (precision() - scale(), both O(1) reads). Returns defaultValue on
    overflow, matching the method's existing behaviour for non-finite and
    unparseable values.
    
    Covers JSONObject.getBigInteger/optBigInteger and
    JSONArray.getBigInteger/optBigInteger (all delegate to this helper).
    
    Adds JSONObjectTest.getBigIntegerHugeExponentReturnsDefault with a 5s
    timeout so a regression fails fast rather than hanging CI.
    
    Co-Authored-By: Claude <[email protected]>
    mechko and claude committed Jul 14, 2026
    Configuration menu
    Copy the full SHA
    fce83c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e40d933 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2026

  1. #1063: add JSONParserConfiguration overloads for getBigInteger/optBig…

    …Integer
    
    Per review on #1067:
    - objectToBigInteger(val, dflt, JSONParserConfiguration) uses
      cfg.getMaxNumberLength() for the digit-count guard; -1 disables it.
      Existing 2-arg form delegates with a default config.
    - New public overloads on JSONObject and JSONArray:
      getBigInteger(key, cfg) / optBigInteger(key, dflt, cfg).
      Existing methods delegate with a default config.
    - objectToBigDecimal left unchanged (no expansion path; agreed on PR).
    - Tests cover default (1000), raised (2000), lowered (5), disabled (-1),
      null config, and JSONArray overloads.
    
    Co-Authored-By: Claude <[email protected]>
    mechko and claude committed Jul 16, 2026
    Configuration menu
    Copy the full SHA
    703ac34 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1067 from mechko/1063-biginteger-exponent-dos

    #1063: bound BigDecimal→BigInteger expansion in objectToBigInteger (completes CVE-2026-59171 fix)
    stleary authored Jul 16, 2026
    Configuration menu
    Copy the full SHA
    a28328c View commit details
    Browse the repository at this point in the history
  3. max-number-length-config sonarqube fixes

    Sean Leary Sean Leary
    Sean Leary authored and Sean Leary committed Jul 16, 2026
    Configuration menu
    Copy the full SHA
    9953b76 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2026

  1. Merge pull request #1068 from stleary/max-number-length-config

    Max number length config for BigInteger and BigDecimal
    stleary authored Jul 19, 2026
    Configuration menu
    Copy the full SHA
    80efb52 View commit details
    Browse the repository at this point in the history
  2. pre-release-20260719 initial commit

    Sean Leary Sean Leary
    Sean Leary authored and Sean Leary committed Jul 19, 2026
    Configuration menu
    Copy the full SHA
    d24bc9e View commit details
    Browse the repository at this point in the history
  3. pre-release-20260719 oops forgot to update new unit tests for strict …

    …mode
    Sean Leary Sean Leary
    Sean Leary authored and Sean Leary committed Jul 19, 2026
    Configuration menu
    Copy the full SHA
    da757c6 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1069 from stleary/pre-release-20260719

    20260719 prep for next release
    stleary authored Jul 19, 2026
    Configuration menu
    Copy the full SHA
    1795e8c View commit details
    Browse the repository at this point in the history
Loading