Releases: SoftInstigate/restheart
7.4.0
Release 7.4.0
This release adds the following new features:
- MongoService supports
application/x-www-form-urlencoded
andmultipart/form-data content
types for write requests jwtTokenManager
can be configured to add properties from account document to the JWT
It also updates all dependencies to latest versions.
Notable commits since the previous release
9f0f5fe 🥅 Improve response error for GraphQL app with missing db or collection in mapping
23ae157 ✨ jwtTokenManager can be configured to add properties from account document to the JWT
d859462 Upgrade all tests to JUnit 5
bb0c919 ✅ Add test for MongoService support of application/x-www-form-urlencoded and multipart/form-data content types
3d1bbe7 ♻️ Improve MongoService handling of multipart/form requests
27037c1 ✨ MongoService handles multipart/form write requests to collections building BSONdocument from parts/fields
fdaa6a4 🥅 Avoid closing request channel in AuthenticationCallHandler when Transfer-Encoding=chunked
321cea4 ✨ MongoService accepts Content-Type application/x-www-form-urlencoded or multipart/form-data for write requests
Full Changelog: https://github.com/SoftInstigate/restheart/compare/7.3.5..7.4.0
7.3.5
Release 7.3.5
This release fixes the following bugs and upgrades org.everit.json.schema to v1.14.2:
- request content is not initialized if request.isInError() is true
- avoid $merge/$out-suffixed aggregations to return data
New commits since the previous release
4eb66d2 🐛 Fix request content is not initialized if request.isInError() is true
8b3f449 ♻️ Replace String.trim() with String.strip()
77c19af 🐛 Avoid $merge/$out-suffixed aggregations to return data
59b90e4 ⬆️ Upgrade org.everit.json.schema to v1.14.2
Full Changelog: https://github.com/SoftInstigate/restheart/compare/7.3.34..7.3.5
7.3.4
Release 7.3.4
This release upgrades all major dependencies to latest version including Undertow, MongoDB driver and json-path.
It fixes a security issue that might cause unauthorized requests from utilizing system resources.
It also fixes some minor bugs and introduces performance improvements.
New commits since the previous release
74fafc6 🔧 Update reflect-config to fix MongoService ?cache with native images
0a96be6 🔧 Update reflect configuration for native image builds after dependencies upgrade
fa9c3ab 🥅 Avoid closing request channel in AuthenticationCallHandler when Transfer-Encoding=chunked
e9363f6 ♻️ Refactoring MongoService file content type detection moving logic from MongoRequestContentInjector to new interceptor FileMediaTypeDetector
e8feba1 ⬆️ Upgrade MongoDB driver to v4.9.0
e6f4296 ⚡ Avoid MongoService read operation after document insert with POST and PUT
4072bbd ⚡ Close the request channel before endExchange in AuthenticationCallHandler to prevent delays when handling requests with large data payloads
7c91adc ⬆️ Upgrade json-path to v2.8.0
21a3637 ⬆️ Upgrade undertow to v2.3.5.Final and graphql-java to v20.1
e1e967e 🔒 Request content is lazily read when Request.getContent() is first invoked. This prevents unauthorized requests from utilizing system resources
afb7858 ⚡ Small performance improvement when tracing headers are not used
0413ca1 ♻️ Refactor code to generate the Location response header in PostCollectionHandler
65ac8e5 🐛 Fix #452
Full Changelog: 7.3.3...7.3.4
7.3.3
Release 7.3.3
Fix minor issues.
New commits since the previous release
- 021d4fb - (tag: 7.3.3) Release version 7.3.3
- d54521d - 🔧 Update native image build resource-config.json to avoid warning SLF4J: Class path contains multiple SLF4J bindings
- 745d595 - 🔊 Add logs to monitor scanning of jars for plugins
- d01014d - ✨ Add plugins-packages and plugins-scanning-verbose configuration parameters. Also use the number of threads equal to availableProcessors() for plugins scanning
- 0dea144 - 🥅 Handle MongoDB error 51108 (invalid flag in regex options) to return 400 Bad Request
- 06d8bca - Update README [skip ci]
- a84a357 - ✨ MongoService handles DELETE /_sessions/sid to kill a session
- dda8ab1 - Fix typos in const name [skip ci]
- d0b8497 - Merge branch 'master' into 7.3.x
|\
| * 8e8e579 - Replace deprecated method [skip ci]
| * ab7b3d1 - Replace deprecated method - | 93f35df - 7.3.3-SNAPSHOT [skip ci]
Full Changelog: 7.3.2...7.3.3
7.3.2
Release 7.3.2
Minor bug fixes.
- Fix content injection in MongoService when
Content-Length
request header is missing as when Transfer-Encoding is chunked. - upgrade undertow-core to 2.3.4.Final
New commits
- 6ac5cf9 - (tag: 7.3.2) Release 7.3.2
- 733a5ff - Merge branch 'master' into 7.3.x
|
| * 05bdc44 - (origin/master, origin/HEAD, master) 🐛 Fix content injection in MongoService when Content-Length request header is missing as when Transfer-Encoding is chunked
| * f7c7419 - 🥅 Improve error msg in Exception
| * 6e32882 - Upgrade io.undertow-undertow-core dependency to 2.3.4.Final
| * 902b868 - Upgrade org.json-json dependency to 20230227
| * 348bd79 - Upgrade com.google.code.gson-gson dependency to 2.10.1
Full Changelog: 7.3.1...7.3.2
7.3.1
7.3.0
Release 7.3.0
This releases adds the following new features:
MongoService:
- Support update with aggregation pipeline via PATCH requests. See https://restheart.org/docs/mongodb-rest/write-docs#update-with-aggregation-pipeline
- Aggregation variables with default value. See https://restheart.org/docs/mongodb-rest/aggregations#variables-with-default-values
- Aggregation pipelines with optional stages. See https://restheart.org/docs/mongodb-rest/aggregations#optional-stages
- Hides from override logs the password in MongoDB connection string
- Improved error messages in case of
MongoCommandException
and errors executing aggregations
Framework
- Requests are automatically aborted when any applicable
Interceptor.resolve()
method throws an Exception
Notable commits
New features:
7cc80b1 🥅 Improve errors on file update with PUT due to orphaned chunks
fbb73e6 ✨ Support update with aggregation pipeline via PATCH requests
57d74fa ✨ Property type is optional in aggregation definition with default value "pipeline"
9857dff ✨ aggregation variable with default value and optional stages
c138dbf 🔒 Hides from override logs the password in MongoDB connection string
92fcae7 ✨ Return 422 Unprocessable Entity in case of errors executing aggregations
10165e0 ✨ Requests are automatically aborted when any applicable Interceptor.resolve() method throws an Exception
57238e2 ✨ Improve error response when a MongoCommandException occurs
f9d9de3 ✨ Add new example plugin x-headers-to-qparams
2200770 ⬆️ Upgrade snakeyaml to v2.0
Bug Fixes:
f828217 🐛 Fix PUT /bucket.files/file and PATCH /bucket.files/file can mess up file metadata
b6a668a 🐛 Fix error if propreties field is the empty string in a MongoDB file create request
2290299 🐛 Fix error in mongo's GetRootHandler when db and collection properties cache is disabled
58d30e9 🐛 Add ErrorHandler to handlers chain for dispached Services
4ae482c 🐛 Fix REQUEST_BEFORE_EXCHANGE_INIT interceptor not executed on proxied resources
99119b3 🐛 Fix aggregations not executed on file buckets
c2ddfaa 🔧 Disable MongoDb services /ic and /csv in standalone configuration
New commits
Full Changelog: https://github.com/SoftInstigate/restheart/compare/7.2.7..7.3.0
7.2.7
Release 7.2.7
This is a bug fix release.
Fixes some minor bugs and:
- Hides from override logs the password in MongoDB connection string
- Requests are automatically aborted when any applicable Interceptor.resolve() method throws an Exception
New commits
f0c5ee3 🐛 Fix error if properties field is the empty string in a MongoDB file create request
f79a9c3 🔒 Hides from override logs the password in MongoDB connection string
160ef81 🐛 Fix error in mongo's GetRootHandler when db and collection properties cache is disabled
1cc2eca ✨ Return 422 Unprocessable Entity in case of errors executing aggregations
1911c4e ✨ Requests are automatically aborted when any applicable Interceptor.resolve() method throws an Exception
b7e9dd4 🐛 Add ErrorHandler to handlers chain for dispached Services
fd9bfd0 ✨ Improve error response when a MongoCommandException occurs
da457e9 🐛 Fix REQUEST_BEFORE_EXCHANGE_INIT interceptor not executed on proxied resources
Full Changelog: https://github.com/SoftInstigate/restheart/compare/7.2.6..7.2.7
7.2.6
Release 7.2.6
This is a bug fix release.
Fix aggregations not executed on file buckets
New commits
a00d30f 🐛 Fix aggregations not executed on file buckets
Full Changelog: https://github.com/SoftInstigate/restheart/compare/7.2.5..7.2.6
7.2.5
Release 7.2.5
This is a bug fix release.
Fixes #447
New commits
6792542 🐛 Fix check of rolesClaim and fixedRoles configuration properties in jwtAuthenticationMechanism
b6f34e2 🐛 Fix cannot override configuration value to null using json ovveride file
Full Changelog: https://github.com/SoftInstigate/restheart/compare/7.2.4..7.2.5