Skip to content

RegexSolver Java v1.1.0 - #1

Merged
alexvbrdn merged 24 commits into
mainfrom
v1.1
Aug 8, 2026
Merged

RegexSolver Java v1.1.0#1
alexvbrdn merged 24 commits into
mainfrom
v1.1

Conversation

@alexvbrdn

Copy link
Copy Markdown
Member

No description provided.

alexvbrdn and others added 22 commits October 20, 2025 22:03
The pom did not pin maven-surefire-plugin, so Maven's default 2.12.4 ran
zero tests: the JUnit 5 suite had never executed in CI. Pinning surefire
3.2.5 exposed 20 broken tests, which in turn surfaced a real bug.

module-info.java did not open the generated DTO package to Jackson, so on
the module path every readValue() threw InaccessibleObjectException. That
exception is swallowed in mapException(), collapsing every API error into
a generic BadRequestException instead of InvalidJsonException,
TooManyTermsException, QuotaExceededException and friends.

The remaining failures were stale assertions: Optional-returning getters
compared with isEqualTo, a Python-style Term repr, and Mockito stubs on
overloads the client no longer calls. Mockito is bumped to 5.20 so the
build also works on current JDKs.

Consistency with the other two SDKs:
- maven.yml -> ci.yml, named CI, triggered on main, Java matrix now
  includes 11 (the documented and published minimum)
- publish.yml runs tests before deploying, imports the GPG key with
  GPG_PASSPHRASE (GPG_SIGNING_PASSPHRASE was never defined), uses
  setup-java@v4 and drops the -P release profile absent from the pom
- README: options paragraph now describes OperationOptions, the only
  options type this SDK has; installation layout, ResponseFormat.ANY note
  and typo fix aligned with the JS and Python READMEs
- executionTimeout javadoc said seconds; the API takes milliseconds
- dropped the unused generated copy of openapi.yaml and rewrote
  .gitignore in the shared layout

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@alexvbrdn alexvbrdn self-assigned this Aug 8, 2026
@alexvbrdn
alexvbrdn merged commit 3fbad60 into main Aug 8, 2026
3 checks passed
@alexvbrdn
alexvbrdn deleted the v1.1 branch August 8, 2026 12:45
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