The Wire · Showcase
SPRING DATA ELASTICSEARCH GOES SERVERLESS, BOOT FIXES OTLP TYPE BUG
By RepoJournal · Filed · About Spring
Spring Data Elasticsearch now supports serverless deployments with a new ElasticsearchServerType enum, while Spring Boot patches a stale metadata reference that broke OTLP logging transport configuration.
Spring Data Elasticsearch shipped support for Elasticsearch Serverless [1], replacing a boolean flag with an ElasticsearchServerType enum and refreshing the default refreshInterval configuration. The same project also landed custom index options for @Field/@InnerField annotations [2], unlocking K-NN indexing and other vendor-specific features that the predefined attribute set couldn't reach. Over in Spring Boot, maintainers fixed a stale type reference for OTLP logging transport metadata [3] that pointed to a nonexistent class; the correct package lives in org.springframework.boot.opentelemetry.autoconfigure.logging.otlp, and this fix aligns 4.1.x with the correction already applied to 4.0.x [4]. Spring Data Elasticsearch also bumped to Elasticsearch 9.4.4 [5], and Spring Framework updated Javadoc to clarify that active profile registration order is now preserved in test contexts [6]. The integration layer picked up routine dependency updates: JRuby to 10.1.1.0 [7] and GraalVM to 25.0.4 [8].
One email a day. Unsubscribe in one click.
Keep up with Spring in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review and upgrade Spring Data Elasticsearch if you use custom index options or serverless deployments spring-projects/spring-data-elasticsearch [plan]
- → Patch Spring Boot OTLP logging transport metadata reference before next 4.1.x deploy spring-projects/spring-boot [plan]
- → Update Spring Framework test context expectations for profile ordering spring-projects/spring-framework [monitor]
References
- [1] Support Elasticsearch Serverless ↗ spring-projects/spring-data-elasticsearch
- [2] Allow to provide non-standard (custom) index options for @Field / @InnerField ↗ spring-projects/spring-data-elasticsearch
- [3] Fix stale type reference for OTLP logging transport metadata ↗ spring-projects/spring-boot
- [4] Merge branch '4.1.x' spring-projects/spring-boot
- [5] Upgrade Elasticsearch to 9.4.4 ↗ spring-projects/spring-data-elasticsearch
- [6] Update Javadoc for active profile ordering spring-projects/spring-framework
- [7] Bump org.jruby:jruby-complete from 10.1.0.0 to 10.1.1.0 ↗ spring-projects/spring-integration
- [8] Bump graalvmVersion from 25.0.3 to 25.0.4 ↗ spring-projects/spring-integration