Skip to content

Release 4.1.0 - #288

Merged
HuiJun merged 119 commits into
masterfrom
release/4.1.0
Nov 18, 2026
Merged

HuiJun merged 119 commits into
masterfrom
release/4.1.0

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Release branch for 4.1.0: current develop plus the version bump from 4.0.20 to 4.1.0 in gradle.properties and docs/conf.py. build.gradle rejects a tag that differs from gradle.properties, so the tag must be exactly 4.1.0.

What is in the release since 4.0.20

  • Search backend: Elasticsearch 9 and OpenSearch 3 through one low-level REST client, chosen by the existing elasticsearch.host / elasticsearch.port / elasticsearch.http settings. Elasticsearch 7 is no longer supported.
  • Spring Boot 3.5 with the jakarta namespaces, Hibernate 6, Spring Security 6, springdoc 2 and AWS SDK v2.
  • Image: multi-stage build on eclipse-temurin:17-jre, running as the non-root mms user.
  • CORS: the * default now works with credentialed requests, so View Editor can log in without an explicit origin list. An explicit list remains the stricter setting.
  • Publishing: Maven artifacts go to Maven Central through the Central Portal.
  • Tests: S3Mock replaces MinIO in the test stack, and the unit suite passes again.

Upgrade notes

  • Search data: Elasticsearch 7 indices cannot be opened by Elasticsearch 9 or OpenSearch 3. Migrate them into a new cluster with the script described in docs/search-migration.rst.
  • Properties: PostgreSQL10Dialect must become PostgreSQLDialect, and spring.datasource.initialization-mode becomes spring.sql.init.mode.
  • PostgreSQL: Hibernate 6.6 supports PostgreSQL 12 and later.
  • Library consumers: applications built on the MMS modules must move to Spring Boot 3 and jakarta.

After merging

Tag the merge commit on master as 4.1.0, which triggers deploy_release, then merge master back into develop.

Link to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/d9f10869eb3d4b268da3834fb1b42689
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/d9f10869eb3d4b268da3834fb1b42689?variant=devin
Requested by: @HuiJun


🟢 Devin Review found nothing to fix · View findings · Follow Devin's work

Devin Review

BA-MBSE and others added 30 commits March 17, 2023 15:11
…ers.

Introduces a unified persistence layer interface with a federated implementation.
Added msosa, view, and oauth modules
…preventing them from getting transaction proxies created
 into develop

# Conflicts:
#	crud/src/main/java/org/openmbee/mms/crud/services/DefaultBranchService.java
…vice doesn't need to pass in commitIds (this is so it's not getting json just to get ids as getting entire commit json is expensive for federated persistence)
…ndling ve structural changes and has been taken out of ve (5+)
HuiJun and others added 18 commits November 13, 2026 11:01
* chore: restore the build and move the image to eclipse-temurin 17 JRE

Drop the unused jfrog and bintray Gradle plugins, whose transitive
http-builder 0.7.2 is no longer resolvable, so a clean build configures
again.

Build the image in two stages: compile on eclipse-temurin:17-jdk and run
the boot jar on eclipse-temurin:17-jre as an unprivileged user. The JaCoCo
agent is no longer hardcoded in the entrypoint; CircleCI enables it through
JDK_JAVA_OPTIONS.

Replace the minio/minio compose image, which is gone from Docker Hub, with
cgr.dev/chainguard/minio, and bring the CodeQL workflow to JDK 17 and
current action versions.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* chore: use Apache-2.0 S3Mock as the compose S3 service instead of MinIO

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* chore: keep S3Mock objects across a restart of the compose service

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* ci: use the sonarcloud orb 4.0.0, whose scanner bundles its own JRE

SonarQube Cloud now rejects analysis from Java 17, which is what the
2.0.0 orb's scanner picked up from the executor.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* ci: check out a full clone so the SonarQube scan can blame files

The GitHub App pipeline defaults to a blobless clone, and the scan job
reads history from the persisted workspace without git credentials.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: jason.han <hanhuijun@gmail.com>
…umps

* chore: restore the build and move the image to eclipse-temurin 17 JRE

Drop the unused jfrog and bintray Gradle plugins, whose transitive
http-builder 0.7.2 is no longer resolvable, so a clean build configures
again.

Build the image in two stages: compile on eclipse-temurin:17-jdk and run
the boot jar on eclipse-temurin:17-jre as an unprivileged user. The JaCoCo
agent is no longer hardcoded in the entrypoint; CircleCI enables it through
JDK_JAVA_OPTIONS.

Replace the minio/minio compose image, which is gone from Docker Hub, with
cgr.dev/chainguard/minio, and bring the CodeQL workflow to JDK 17 and
current action versions.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* chore: use Apache-2.0 S3Mock as the compose S3 service instead of MinIO

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* chore: keep S3Mock objects across a restart of the compose service

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* chore: patch-level dependency bumps within Spring Boot 2.7

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* ci: use the sonarcloud orb 4.0.0, whose scanner bundles its own JRE

SonarQube Cloud now rejects analysis from Java 17, which is what the
2.0.0 orb's scanner picked up from the executor.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* ci: check out a full clone so the SonarQube scan can blame files

The GitHub App pipeline defaults to a blobless clone, and the scan job
reads history from the persisted workspace without git credentials.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: jason.han <hanhuijun@gmail.com>
…ch-rest-client

* chore: restore the build and move the image to eclipse-temurin 17 JRE

Drop the unused jfrog and bintray Gradle plugins, whose transitive
http-builder 0.7.2 is no longer resolvable, so a clean build configures
again.

Build the image in two stages: compile on eclipse-temurin:17-jdk and run
the boot jar on eclipse-temurin:17-jre as an unprivileged user. The JaCoCo
agent is no longer hardcoded in the entrypoint; CircleCI enables it through
JDK_JAVA_OPTIONS.

Replace the minio/minio compose image, which is gone from Docker Hub, with
cgr.dev/chainguard/minio, and bring the CodeQL workflow to JDK 17 and
current action versions.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* chore: use Apache-2.0 S3Mock as the compose S3 service instead of MinIO

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* chore: keep S3Mock objects across a restart of the compose service

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* chore: patch-level dependency bumps within Spring Boot 2.7

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* feat: support Elasticsearch 9 and OpenSearch 3 through the shared REST API

Replace the Elasticsearch 7 high-level client with the low-level REST
client and JSON request bodies, so one code path serves both servers
and the backend is chosen by elasticsearch.host/port alone.

Drop the unused Elasticsearch dependency from twc, add a compose
override for OpenSearch and run the search collections against it in CI.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* ci: trigger CircleCI through the GitHub App pipeline

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* ci: use the sonarcloud orb 4.0.0, whose scanner bundles its own JRE

SonarQube Cloud now rejects analysis from Java 17, which is what the
2.0.0 orb's scanner picked up from the executor.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* ci: check out a full clone so the SonarQube scan can blame files

The GitHub App pipeline defaults to a blobless clone, and the scan job
reads history from the persisted workspace without git credentials.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: jason.han <hanhuijun@gmail.com>
TwcPermissionUtilsTest passed a Mockito mock of HttpHeaders to the
ResponseEntity constructor. Spring Framework 5.3 reads the mock's null
backing map there and throws 'MultiValueMap must not be null'; a real
HttpHeaders instance is used instead.

DefaultCommitServiceTest still stubbed the CommitPersistence calls that
DefaultCommitService stopped making: getElementCommits now calls
elementHistory(projectId, refId, elementId) and isProjectNew calls
findByProjectAndRefAndTimestampAndLimit(projectId, "master", null, 1).

Co-Authored-By: jason.han <hanhuijun@gmail.com>
… SDK v2

Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
Copies the MMS indices of an Elasticsearch 7 deployment into Elasticsearch 9
or OpenSearch 3, creating each target index with the shipped mapping, and
verifies the result by document count or content.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
…I document

Co-Authored-By: jason.han <hanhuijun@gmail.com>
TwcPermissionUtilsTest passed a Mockito mock of HttpHeaders to the
ResponseEntity constructor. Spring Framework 5.3 reads the mock's null
backing map there and throws 'MultiValueMap must not be null'; a real
HttpHeaders instance is used instead.

DefaultCommitServiceTest still stubbed the CommitPersistence calls that
DefaultCommitService stopped making: getElementCommits now calls
elementHistory(projectId, refId, elementId) and isProjectNew calls
findByProjectAndRefAndTimestampAndLimit(projectId, "master", null, 1).

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ials provider

Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: jason.han <hanhuijun@gmail.com>
* Migrate to Spring Boot 3.5, Gradle 8, Jakarta EE, Hibernate 6 and AWS SDK v2

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* Close the S3 client when bucket initialization fails

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* Register the ElementVersion schema referenced by Commit in the OpenAPI document

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* Make SpringDocRequestBuilder static and build the default AWS credentials provider

Co-Authored-By: jason.han <hanhuijun@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: jason.han <hanhuijun@gmail.com>
…ion-script

* Add script and operator guide for migrating Elasticsearch 7 indices

Copies the MMS indices of an Elasticsearch 7 deployment into Elasticsearch 9
or OpenSearch 3, creating each target index with the shipped mapping, and
verifies the result by document count or content.

Co-Authored-By: jason.han <hanhuijun@gmail.com>

* Fail on partial shard answers and size bulk requests in bytes

Co-Authored-By: jason.han <hanhuijun@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: jason.han <hanhuijun@gmail.com>
oss.sonatype.org no longer accepts uploads. Releases are staged locally,
zipped by the centralBundle task and uploaded through the Central
Publisher API; snapshots go to the Central Portal snapshot repository.
Credentials and the signing key come from the 'Maven Central' context.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…hing

oss.sonatype.org no longer accepts uploads. Releases are staged locally,
zipped by the centralBundle task and uploaded through the Central
Publisher API; snapshots go to the Central Portal snapshot repository.
Credentials and the signing key come from the 'Maven Central' context.

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration
devin-ai-integration Bot changed the base branch from develop to master November 17, 2026 02:58
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration Bot and others added 3 commits November 17, 2026 04:21
…, view child posts and delete events

- Webhook lookups return the owning project, so a posted id that belongs to
  another project is refused; the persistence layer refuses it as well.
- OAuthProcessor keeps the parsed token grants in a local variable instead of
  a field shared by all requests.
- FederatedNodePersistence.commitChanges opens its transaction only when there
  is something to save, so a write that changes nothing leaves none open.
- DefaultNodeService.createOrUpdate iterates a copy of the updated map, since
  view services add generated elements to it while processing.
- DefaultNodeService.delete publishes the commit event like createOrUpdate.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
- Webhook lookups return the owning project, so a posted id that belongs to
  another project is refused; the persistence layer refuses it as well.
- OAuthProcessor keeps the parsed token grants in a local variable instead of
  a field shared by all requests.
- FederatedNodePersistence.commitChanges opens its transaction only when there
  is something to save, so a write that changes nothing leaves none open.
- DefaultNodeService.createOrUpdate iterates a copy of the updated map, since
  view services add generated elements to it while processing.
- DefaultNodeService.delete publishes the commit event like createOrUpdate.

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: jason.han <hanhuijun@gmail.com>
@HuiJun
HuiJun merged commit 1967b22 into master Nov 18, 2026
3 checks passed

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@HuiJun
HuiJun deleted the release/4.1.0 branch November 18, 2026 16:18
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.

5 participants