Skip to content

Releases: SoftInstigate/restheart

4.1.2

19 Oct 15:09
Compare
Choose a tag to compare
Release 4.1.2

4.1.1

19 Oct 11:16
Compare
Choose a tag to compare

New commits

This release mainly fixes an issue with configuration properties not being included in the tar and zip archives.

  • f989d2c - (tag: 4.1.1) Release 4.1.1
  • cc54536 - Include properties file in zip and tar archives
  • fc08505 - Include all yaml files in assembly.xml
  • 6b127da - Set 'root-mongo-resource = /restheart' in Docker container configuration
  • 580c2ce - Add auth to jsonMode test to work with restheart-security e2e-tests

4.1.0

07 Oct 14:39
Compare
Choose a tag to compare

New commits since 4.0.0

  • c7a079b - (tag: 4.1.0) Release 4.1.0
  • c563902 - Bump to 4.1.0-SNAPSHOT
  • f8f6739 - Refactoring
  • 2ee4f11 - Remove unused methods
  • 3555c51 - CMD ["--envFile", "etc/config.properties"]
  • 2fbec1b - Fix KARATE_OPS
  • bd68bef - Refactoring
  • c36ff1c - Use try ... close statement
  • 65cbbeb - Add log warning message if MongoDB user cannot snoop replicat set configuration due to lack of permissions
  • a7f2331 - Generalize error message when ETag is missing
  • 8a6267e - Fix error message cleaned up in CsvLoader
  • 6ec2a60 - Fix RequestContext.mapPathUri() when a db is bound to /
  • c456edd - Apply AggregationTransformer to /_meta
  • 8ace31e - Handle CORS headers for /_meta
  • 233fdce - Improve request logging
  • 457ecd2 - Fix test case
  • 56b8f3c - Send 409 Conflict in case of index or filter constraint violation
  • d2c3665 - Improve error handling for write request failing due to filter or index contraints, return HTTP code 417 Expectation Failed
  • 060fa84 - Decode query string in log messages
  • f54de0b - Update org.everit.json.schema to v1.11.1
  • 51cdb88 - removing trace headers from thread local MDC after call is done (#364)
  • fc37ad4 - Add test for jsonMode
  • d9b20d9 - Handle jsonMode query parameter
  • 490e7f5 - Fix name of transformer for ValidOidsStringsAsOidsTransformer
  • bc9d7f7 - Fix typo [skip ci]
  • 4cc4da7 - fix: pom.xml to reduce vulnerabilities (#360)
  • 2e204dd - Update pom.xml
  • cfaef98 - fix: pom.xml to reduce vulnerabilities (#359)
  • 9e6917b - Update README [skip ci]
  • d01bb3c - Update README [skip ci]
  • ef2645e - Update README [skip ci]
  • 90f04a2 - image: softinstigate/restheart:latest
  • a407b22 - Refactoring
  • bee7839 - Refactoring
  • 27fad55 - Fix upsert behavior and its default value (#349)
  • 9b53c6e - Update bwcv3.properties
  • 07adc34 - Update standalone.properties
  • 87dde22 - Update default.properties
  • 2e080e3 - [skip ci] Fix README
  • 430a288 - [skip ci] fix typo
  • ff94ceb - [skip ci] Add more detailed setup instructions
  • 4b83559 - [skip ci] Fix README
  • 78db7e2 - [skip ci] Fix README
  • 71f7eec - [skip ci] Fix broken image
  • 8ecb646 - Bump to 4.0.1-SNAPSHOT
  • 916a6dd - (tag: 4.0.0) Release 4.0.0

4.0.0

27 Jun 15:27
Compare
Choose a tag to compare

Release 4.0.0

To read about the differences between RESTHeart v3 and v4 please go to https://restheart.org/docs/upgrade-to-v4/

3.10.1

13 Jun 16:05
Compare
Choose a tag to compare

Release 3.10.1

Set MongoDB "config" database as reserved resource, so that is not exposed via RESTHeart.

Ref issue #347

3.10.0

27 Apr 23:45
Compare
Choose a tag to compare

Release 3.10.0

This release fixes issue #345 "If you were to put a wrong/typo name for a transformer (phase = REQUEST), you cant use the PATCH request on a collection to unset it". Now if a transformer or checker fails (for instance, if its name contains a typo and cannot be found in configuration) the request is executed, a warn is added to the response and the error is logged. This way this issue can be fixed PATCHing the rts metadata.

Then we changed the Dockerfile, moving to gcr.io/distroless/java:8 as the new base for our RESTHeart Docker image. Distroless images combines the small size of an Alpine distribution with a minimal security attack surface.

pioneered by Google. With this technique, the footprint of the image is reduced to the application, its resources and language runtime dependencies, without operating system distribution. The advantages of this technique include reduced noise of security scanners, smaller security attack surface, reduced overhead of patching vulnerabilities and even smaller image size for higher performance.

If you want to know more about Distroless images, read this.

As usual, we added a set of minor bug fixes.

Commits

  • 14f35bd - (tag: 3.10.0) Release 3.10.0 (Fixed Docker Hub credentials)
  • 03d35ff - Remove expired credentials from travis.yml
  • 0e23469 - Edit comment in docker-compose.yml file
  • fccf1b8 - Fix #345
  • 7e0bb75 - Upgrade travis-ci build using dist: xenial
  • 24e38e1 - Rename scripts to avoid future merge conflicts
  • 6c639e0 - Fix build.sh
  • 31e11a7 - Fix the surefire plugin bug on Linux
  • b55692a - Add build.sh script to build with docker
  • 52c4740 - Use gcr.io/distroless/java:8 as base image
  • 132be45 - [skip ci] fix comment
  • c4d7dc0 - [skip ci] ITs refactoring
  • 210ab2e - Improve log message in overriddenValueFromEnv method
  • 888b6a0 - [skip ci] Ignore testConfigurationTemplate
  • 8070425 - (documentdb) Always use etc/test/restheart-integrationtest.yml config for tests
  • 12a5660 - Pass MongoClientURI in MongoDBClientSingleton.init
  • 7e01d4d - added contributor agreement
  • dd7b154 - Improve maven-deploy.sh script
  • c41c809 - Optimize deployment pipeline
  • b9c3fdd - Indent document

3.9.0

21 Mar 17:35
Compare
Choose a tag to compare

Release 3.9.0

What's new

Prometheus database and collection labels for request to root metrics

  • provide all metrics per database and collection for prometheus using labels on root metrics endpoint only (#340).

Ref: https://restheart.org/learn/requests-metrics/

Additional configuration options

  • Enable select config file with env variable (#335)
  • Allows configuration override with java properties (#334)

Ref: http://restheart.org/learn/requests-metrics/#whats-new-in-39

Commits

  • 4ab5405 - provide all metrics per database and collection for prometheus using labels on root metrics endpoint only (#340)
  • c878326 - minor refactoring on account info in request log
  • 4cfbb71 - hide sensitive headers values from request dump
  • fb4040f - Better error message when conf file not found
  • 8543f8e - Activate HTTP listener in default configuration
  • 7ed4e8c - Enable select config file with env variable (#335)
  • edb911e - Allows config override with java properties (#334)
  • 45b77ed - Wrong license file in restheart.jar

Docker image

docker pull softinstigate/restheart:3.9.0

https://cloud.docker.com/u/softinstigate/repository/docker/softinstigate/restheart/general

3.8.1

01 Mar 01:27
Compare
Choose a tag to compare

Release 3.8.1

This release fixes a problem with the PGP signature of maven artifacts which prevented the upload of the JAR to both Maven Central and Docker Hub.

Commits

  • ba19b4e - New bin/codesigning.asc.enc
  • a0d04ba - Wrong license file in restheart.jar

3.8.0

13 Feb 09:44
Compare
Choose a tag to compare

Release 3.8.0

This release fix several minor bugs and introduces two main changes:

  1. Allow 'upsert' option when uploading a CSV file with query parameter "update=true" (see issue #328).
  2. RESTHeart now throws a better HTTP code when facing a duplicate key error. We replaced HTTP error 417 EXPECTATION FAILED with a more usual 409 CONFLICT (see issue #330).

New commits

  • 9830637 - (tag: 3.8.0) Release 3.8.0
  • 5668590 - Updated POM dependencies
  • f302668 - add upsert qparam in CsvLoaderHandler (#328)
  • 2437b99 - Raise error 409 CONFLICT when key is duplicate.
  • 823be13 - Create DUPLICATE_KEY_ERROR constant
  • c2ef4fb - Refactoring
  • f998dbb - updated undertow to v2.0.17.Final and its dependecies to avoid warning message with java 9+
  • 66eca10 - Version 3.8.0-SNAPSHOT
  • 4b1b6a6 - Fix Objects.requireNonNull(id)
  • 91a129e - Fix reliance on default encoding in JwtAuthenticationManagerFactory
  • 27902d0 - Fix redundant nullcheck of phase, which is known to be non-null
  • 269f1f9 - Fix impossible cast from org.bson.BsonValue to Integer
  • 8bbda6f - Fix reliance on default encoding
  • d94a657 - Useless condition: it's known that skipNotSupported == false at this point
  • 3c58a74 - Fix negating the result of compareTo()/compare()
  • 58de4ce - Remove redundant nullcheck of value known to be non-null
  • ff3a2f0 - Fix reliance on default encoding
  • 0749718 - Remove useless condition
  • 64c2423 - Fix redundant nullcheck of value known to be non-null
  • 1ca1936 - Remove useless object
  • 0db41b1 - throw IllegalArgumentException instead of System.exit

3.7.0

24 Jan 17:17
Compare
Choose a tag to compare

Release 3.7.0

This releases fixes a bug with the new configuration file format and move configuration files in this new format.

Specifically, in the yml configuration file the properties were defined as {{mongo-uri}}, with two curly braces. However with mustache.java (the library used to replace variables):

Outputting data with {{data}} (double mustache) always escapes html characters. Use {{{data}}} (triple mustache) if you don't want it escaped.

In this release we just had to re-define vars as {{{mongo-uri}}}, so with three curly braces.

We also did some refactoring with old integration tests.

In general, you should be able safely upgrade to 3.7 from 3.6 and 3.5 without any problem.

Commits

  • 74d4e58 - (tag: 3.7.0, origin/master, origin/HEAD, master) Release 3.7.0
  • a3976b4 - Change testConfigurationTemplate to reproduce issue #327
  • 0c0f0f5 - using triple mustaches {{{ in conf file variables to avoid escaping special chars
  • 9e709e5 - Fix wrong mongouri to mongo-uri
  • 21396a6 - Sleep 1 second to avoid NoHttpResponseException in PutFileHandlerIT
  • 59706c3 - Add license headers on java files
  • ac7daab - io-threads: 4 and worker-threads: 32
  • f7b87e1 - Fix handling of MongoWriteException
  • 5fdac8b - Simplify testGetNotExistingFile
  • 890d194 - Fix relative path for security.yml
  • 3ef9dfa - Move etc/restheart-integrationtest.yml to etc/test/
  • c0cc179 - Remove references to static configuration file from tests
  • bcb3232 - Ignore unused test
  • ebdbca2 - ITs refactoring
  • 68c8aac - Remove duplicated ITs initialisation code
  • 5b5f371 - Add bin/build-docker.sh script
  • baf7593 - Remove unused push.sh script
  • 193b4ca - Fix properties
  • 359a6fe - Format yaml
  • 403615c - Pass --fork as a parameter to start.sh
  • 6f49708 - Merge dev and default configuration files
  • f1a591b - Indent yaml files
  • b5c6979 - Upgrade POM dependencies to latest patches
  • d70bf68 - Delete RequestDispacherHandlerTest.java
  • 356ced3 - Fix imports
  • caa7b4f - Add Docker/etc/config.properties to restheart configuration
  • bd7d2b7 - FROM openjdk:8u191-jre-alpine
  • 691ed04 - Add a comment to etc/dev.properties
  • 263ad8a - Remove redundant check
  • c8bfcc4 - A POST to a file bucket must be a multipart request
  • 13aca89 - updated tika to 1.20
  • 8947156 - fixed issue #299
  • f2b79b3 - added env argument to netbeans start conf
  • 7a66a95 - Bump to version 3.7.0-SNAPSHOT