Releases: SoftInstigate/restheart
8.4.3
RESTHeart 8.4.3 Release Notes
Release Date: June 9, 2025
Bug Fixes
Embedded Static Resources
-
Fixed validation logic for embedded static resources: Removed incorrect validation that was preventing embedded static resources from using absolute paths. This fix allows embedded static resources to properly use absolute classpath paths starting with '/' as required by
ResourcesExtractor.extract()
andClassLoader.getResource()
methods. -
Corrected error messages: Fixed misleading error messages in the Bootstrapper that incorrectly referenced the 'where' parameter when actually validating the 'what' parameter for embedded static resources binding.
-
Removed redundant null check: Cleaned up unnecessary null validation for the 'what' parameter in embedded static resources binding logic.
Technical Details
The primary issue addressed in this release was related to the validation of embedded static resources configuration. Previously, the system incorrectly blocked the use of absolute paths like "/assets" for embedded static resources, even though these paths are required for proper resource resolution from the classpath. This release ensures that embedded static resources can be properly configured and accessed as intended.
Full Changelog: 8.4.2...8.4.3
8.4.2
RESTHeart 8.4.2 Release Notes
Documentation Improvements
This patch release focuses on enhancing the documentation and developer experience:
- Improved Javadoc Coverage: Added comprehensive documentation to plugin interfaces and core packages
- Package Documentation: Added package-info files for commons packages to provide better module-level documentation
- Fixed Documentation Issues:
- Corrected injection documentation from "conf" to "config" parameter name
- Resolved Javadoc warnings in the commons module
- Enhanced Provider and Inject annotations documentation
- Improved documentation for the
org.restheart.plugins
package
Summary
Version 8.4.2 is a documentation-focused release that improves the developer experience by providing clearer and more comprehensive API documentation throughout the codebase. No functional changes or bug fixes are included in this release.
8.4.1
RESTHeart 8.4.1 Release Notes
Documentation Improvements
This release significantly enhances API documentation across multiple core packages:
- Comprehensive JavaDoc Coverage: Added detailed documentation to the following packages:
org.restheart.polyglot
- Polyglot scripting supportorg.restheart.security
- Security componentsorg.restheart.mongodb
- MongoDB integrationorg.restheart.graal
- GraalVM integrationorg.restheart.handlers
- Request handlersorg.restheart.metrics
- Metrics collectionorg.restheart.configuration
- Configuration managementorg.restheart.cache
- Caching utilitiesorg.restheart.utils
- Utility classes
Bug Fixes
- Fixed incorrect parameter type in
interpolateBson
method - Fixed lenient flag documentation in overrides method
- Corrected various typos in method names, exception classes, comments, and error messages throughout the codebase
Testing
- Added test coverage for MongoRequest with path template mounts, including support for trailing wildcards
Infrastructure Updates
- Maven Central Integration: Updated build configuration for Maven Central publishing
- JDK 24 Support: Added optimized Dockerfile for JDK 24
- Build Improvements:
- Migrated to central-publishing-maven-plugin
- Updated dependencies and versions
- Improved POM formatting
- Excluded test-plugins from publishing
Summary
Version 8.4.1 is a quality-focused release that improves documentation coverage, fixes minor issues, and updates the build infrastructure for better maintainability and distribution through Maven
6.6.4
6.6.3
RESTHeart 6.6.3 Release Notes
This is a bug fix release.
A bug was fixed related to invalid collection names when the length is 64 characters
Several dependencies were upgraded:
- MongoDB drivers to v4.8.2
- Undertow to v2.3.3.Final
- org.json to v20220924
8.4.0
Release Notes - Version 8.4.0
Features
-
Raw Request Body Access
- Added new
RawBodyAccessor
interface for retrieving raw request bodies - Implemented
RawBodyAccessor
inBsonRequest
andJsonRequest
classes for direct access to raw body content
- Added new
-
Enhanced Ping Service
- Added
enable-extended-response
configuration option for ping service - Extended ping response now includes client IP address and host information
- Updated ping service configuration in YAML files to support the new extended response details
- Added
Example of new extended ping service:
GET http://localhost:8080/ping
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Location, ETag, Auth-Token, Auth-Token-Valid-Until, Auth-Token-Location, X-Powered-By
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 126
Content-Type: application/json
Date: Fri, 21 Mar 2025 11:18:29 GMT
X-Powered-By: restheart.org
{
"client_ip": "127.0.0.1",
"host": "localhost:8080",
"message": "Greetings from RESTHeart!",
"version": "8.4.0"
}
- Docker Improvements
- Enhanced Dockerfiles with additional metadata labels for better container information
- Optimized Docker image size for improved efficiency
- Updated base image to Debian 12.10-slim in native Dockerfile
Full Changelog: 8.3.4...8.4.0
8.3.4
RESTHeart 8.3.4 Release Notes
This release primarily focuses on improving regex handling consistency and safety within RESTHeart's codebase.
Highlights
- Regex Handling Improvements: Standardized the use of
Pattern.quote()
to ensure proper regex escaping in allreplaceFirst()
andreplaceAll()
invocations.
Changes
- Refactoring for Regex Safety:
Full Changelog: 8.3.3...8.3.4
8.3.3
RESTHeart 8.3.3 Release Notes
Bug Fixes
- MongoRequest URI Processing: Fixed an issue where certain
mongo-mount
mapped URIs could be mistakenly interpreted as regular expressions, potentially leading to unintended behavior. This fix ensures that URI processing is handled correctly without regex interpretation issues. ([cdbee84])
Release Information
- Version: 8.3.3
- Release Date: February 24, 2025
Full Changelog: 8.3.2...8.3.3
8.3.2
Release 8.3.2
Bug Fixes
- 🐛 Fixed stale cache issues in GraphQL AppDefinitionLoadingCache
Resolved an issue where outdated cached data could cause NOT FOUND in existing GraphQL app.
Dependency Updates
- ⬆️ Upgraded dependencies to latest versions:
gson
java-jwt
tika-core
- ⬆️ Updated MongoDB Java driver (
mongodb-driver-sync
) to version 5.3.1
Full Changelog: 8.3.1...8.3.2
8.3.1
Release 8.3.1
This release includes bug fixes and dependency updates.
Changes
Bug Fixes
- Mongo Service: Fixed an issue where an invalid sort parameter would result in a 500 Internal Server Error. Now correctly returns a 400 Bad Request. (commit 21f2cee)
Dependency Updates
- Updated the following libraries:
mongodb-driver-sync
to version 5.3.0.dropwizard-metrics
to version 4.2.30. (commit d24eaf6)
Full Changelog: 8.3.0...8.3.1