Skip to content

Update JavaRosa to 6.0.0 - #105

Merged
lognaturel merged 1 commit into
getodk:masterfrom
lindsay-stevens:javarosa-6.0.0
Oct 29, 2026
Merged

lognaturel merged 1 commit into
getodk:masterfrom
lindsay-stevens:javarosa-6.0.0

Conversation

@lindsay-stevens

Copy link
Copy Markdown
Contributor

Also update IFunctionHandler to match changes in getodk/javarosa#837 commit getodk/javarosa@0230651

What has been done to verify that this works as intended?

Ran gradle clean check jar locally, and checked the CI workflow was successful (run log here).

Why is this the best possible solution? Were any other approaches considered?

pyxform currently bundles Validate v1.2.0 (released 2026-01-09) which has JavaRosa v5.1.0. JavaRosa v6.0.0 was released 2026-08-21, so this update would allow pyxform to update Validate accordingly. In the JavaRosa release note there are some changes that seem relevant to pyxform, such as validation of choices and date/time values.

Are there any risks to merging this code? If so, what are they?

I only considered what was required for the jar build to work with the new JavaRosa version. I didn't look at it from a wider maintenance perspective e.g. are there any other sensible changes to Validate code, tests, or open issues for the new JavaRosa version; or anything about the project build process or other dependencies (the built jar is about the same size, 5.6MB).

- update IFunctionHandler to match changes in javarosa/#837
  commit 0230651

@lognaturel lognaturel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

We have JR 7.0 coming up soon but I don't think it makes any changes that will be visible to Validate. We can decide whether or not to prioritize upgrade when it's out.

@lognaturel
lognaturel merged commit 258fe89 into getodk:master Oct 29, 2026
1 check passed
@lindsay-stevens
lindsay-stevens deleted the javarosa-6.0.0 branch October 30, 2026 05:23
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