Skip to content

Releases: SoftInstigate/restheart

8.4.0

24 Mar 09:48
f6b1429
Compare
Choose a tag to compare

Release Notes - Version 8.4.0

Features

  • Raw Request Body Access

    • Added new RawBodyAccessor interface for retrieving raw request bodies
    • Implemented RawBodyAccessor in BsonRequest and JsonRequest classes for direct access to raw body content
  • 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

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

11 Mar 20:25
1c4e9ef
Compare
Choose a tag to compare

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 all replaceFirst() and replaceAll() invocations.

Changes

  • Refactoring for Regex Safety:
    • Updated all instances of replaceFirst() and replaceAll() to use Pattern.quote() for safer regex handling ([b6b556b]).
    • Applied Pattern.quote() specifically to regex escaping in MongoRequest ([e70b6c4]).

Full Changelog: 8.3.3...8.3.4

8.3.3

11 Mar 20:22
07da8b2
Compare
Choose a tag to compare

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

06 Feb 16:55
9b9b860
Compare
Choose a tag to compare

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

19 Jan 11:47
6565067
Compare
Choose a tag to compare

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

8.3.0

08 Jan 11:54
341a0c9
Compare
Choose a tag to compare

Release 8.3.0

This release adds the ability to specify a hint index by name for MongoDB REST queries and keeping dependencies up to date.

Key Highlights

  • Version Release: Version 8.3.0 introduces a new feature for MongoDB REST queries and updates a critical dependency.

Features and Enhancements

  • Hint Index by Name: Added the ability to specify a hint index by name for MongoDB REST queries, improving query performance and flexibility. For more details, refer to the documentation.

Dependency Updates

  • JSON Dependency Update: Updated the json dependency to version 20250107 in pom.xml for improved compatibility and performance.

Full Changelog: 8.2.0...8.3.0

8.2.0

07 Jan 18:12
5f76c7b
Compare
Choose a tag to compare

Release 8.2.0

Key Highlights

  • Version Release: Version 8.2.0 focuses on compatibility with the latest MongoDB 8.0 version.

Features and Enhancements

  • Dependency Updates:
    • Updated MongoDB driver to version 5.2 for compatibility with MongoDB 8.0.
    • Updated MongoDB version to 8.0 in workflow files and pom.xml.
    • Upgraded GraalVM and Truffle to version 24.1.1 in pom.xml for enhanced performance and support.
    • Updated various plugin versions in pom.xml to their latest releases.

Full Changelog: 8.1.7...8.2.0

8.1.7

11 Dec 15:33
735cbb3
Compare
Choose a tag to compare

Release 8.1.7

Bug Fixes

  • Metrics Service URI Change Issue: Fixed an issue where the URI of the metrics service could not be changed. (Commit: bdf19b8)
  • GitHub Actions Workflow Step ID: Renamed the step ID for setting the version in the GitHub Actions workflow to avoid conflicts or confusion. (Commit: b4c8c34)

Code Improvements

  • Code Cleanup and Formatting: Improved code readability by cleaning up import statements and enhancing code formatting in the DirectoryWatcher module. (Commit: dfc492d)

8.1.6

25 Nov 10:28
4b9c6be
Compare
Choose a tag to compare

Release 8.1.6

Version 8.1.6 focuses on bug fixes and improvements for better cross-platform compatibility, particularly on Windows.

Bug Fixes

  • Plugin Path Resolution Improvements: Updated plugin path resolution in JSInterceptorFactory and JSStringService to use URI for better handling across different platforms. Added debug logging to aid in troubleshooting these path issues.
  • PolyglotDeployer Fixes: Refactored PolyglotDeployer to catch specific exceptions and manage deployment timeouts more effectively. Addressed path handling issues specifically impacting Windows environments.
  • Cross-Platform Path Handling: Fixed multiple errors related to path handling in PolyglotDeployer to improve compatibility for Windows users.
  • Debug Output Enhancements: Added debug output for version input in workflows and updated version output handling to improve CI traceability.

Refactoring and Enhancements

  • JSStringService Refactoring: Refactored JSStringService for better code formatting, consistency, and improved path resolution, leading to increased maintainability.
  • PolyglotDeployer Reformatting: Reformatted the PolyglotDeployer class for improved readability and consistency in code style.

8.1.5

20 Nov 11:16
1fe237e
Compare
Choose a tag to compare

Release 8.1.5

Bug Fixes

  • Cross-OS Plugin Path Handling: Fixed path issues in PluginsScanner using Path.isAbsolute() to ensure cross-platform consistency, addressing problems on Windows (#531).
  • Trailing Slash in MongoDB URL Mapping: Fixed an issue with MongoDB URL mapping where trailing slashes in path templates caused incorrect matching.
  • PluginsScanner Errors on Windows: Resolved errors related to incorrect path handling when running PluginsScanner on Windows.

Dependency Updates

  • Classgraph Version Bump: Updated classgraph dependency to version 4.8.179

This release focuses on improving cross-platform compatibility, especially for Windows, while refining workflows and enhancing version management processes. Let us know if you need any assistance or further information!