Skip to content

Backport upstream 2026 11 - #139

Open
uw4 wants to merge 5 commits into
mainfrom
backport-upstream-2026-11
Open

uw4 wants to merge 5 commits into
mainfrom
backport-upstream-2026-11

Conversation

@uw4

@uw4 uw4 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

uw4 and others added 5 commits November 17, 2026 22:47
Original commit:
jsonata-js/jsonata@c5be116

The timestamp is now kept in the evaluation frame (Frame.time, inherited
from the enclosing frame like the JS `timestamp`) instead of the Jsonata
instance. In Java the old field was read via the shared ThreadLocal, so
$millis()/$now() could return a stale timestamp of another instance, of
an earlier evaluation on another thread, or of a nested evaluation.
evaluate() now always creates a per evaluation frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Original commit:
jsonata-js/jsonata@3fc1ee1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Original commit:
jsonata-js/jsonata@6d9d829

Note: changes the expected result of parent-operator/parent.json case 2,
which is updated with the jsonata submodule bump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Original commit:
jsonata-js/jsonata@67c36a5

Not ported: Java's $formatNumber is based on java.text.DecimalFormat,
which does not support irregular grouping (e.g. '#,##,##0'). The failing
cases of function-formatNumber/issue851.json are overridden for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@uw4
uw4 requested a review from aeberhart November 18, 2026 07:47
@uw4 uw4 self-assigned this Nov 18, 2026
@github-actions

Copy link
Copy Markdown

Test Results

1 895 tests  +53   1 893 ✅ +53   9s ⏱️ +2s
  126 suites ± 0       2 💤 ± 0 
  126 files   ± 0       0 ❌ ± 0 

Results for commit 85cd641. ± Comparison against base commit 3ef38b8.

@aeberhart aeberhart left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1:1 port of the changes in jsonata-js

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.

2 participants