Skip to content

Releases: SoftInstigate/restheart

3.0.3

12 Apr 09:25
Compare
Choose a tag to compare

Release Notes - Restheart - Version 3.0.3

Bug

  • [RH-243] - hooks called after response has been closed

Commits

3.0.2

23 Mar 19:10
Compare
Choose a tag to compare

Commits

  • bcb1bf5 - (tag: 3.0.2) Release 3.0.2 (5 minutes ago)
  • c7d8085 - fixed NPE on JsonSchemaTransformer see #200 (8 minutes ago)
  • 440781e - modified: README.md (2 weeks ago)
  • f48ae50 - Deploy only if not from a pull request (2 weeks ago)
  • bb41a93 - Add deploy-settings.xml (2 weeks ago)
  • 61d0ccb - Tag and push the docker image as "latest" if branch is "master" (2 weeks ago)
  • 11376cf - Use the --quiet parameter (2 weeks ago)
  • 43754bd - if "$TRAVIS_TAG" then tag the image also as latest (2 weeks ago)
  • d6eb8da - Automatic build of docker image (2 weeks ago)
  • 6700405 - Create the Docker folder and files (2 weeks ago)
  • d07b930 - modified: README.md (2 weeks ago)
  • ddf7b53 - Modified .gitignore (2 weeks ago)
  • 8809858 - Release 3.0.2-SNAPSHOT (2 weeks ago)

3.0.1

07 Mar 23:29
Compare
Choose a tag to compare

Release Notes - Restheart - Version 3.0.1

    Release Notes - Restheart - Version 3.0.1

Bug

  • [RH-212] - NPE creating index without ops property (options)
  • [RH-226] - Wrong Location returned after a PUT on a binary collection
  • [RH-228] - error GET /db/bucker.files/<fileid>/binary if fileid is not an ObjectId
  • [RH-231] - DbIdentityManager requires mongodb user with listDatabases perminssion
  • [RH-233] - json minify class is not thread safe, leads to errors on heavy load
  • [RH-235] - NPE on GET /db/_schemas
  • [RH-236] - wrong http return code on METHOD_NOT_ALLOWED and RESERVED RESOURCE errors

Improvement

  • [RH-224] - extend configuration of DbIdentityManager to allow specifying prop names for id, passoword and roles
  • [RH-225] - RequestContext helper methods to simplify request type check
  • [RH-227] - PLAIN_JSON representation should include _links with rh:xxx namespace
  • [RH-229] - improve json minification time
  • [RH-230] - epochTimeStamp property of RequestPropsInjecterTransformer now in milliseconds (was in seconds) as required by mongo Date https://docs.mongodb.com/manual/reference/mongodb-extended-json/
  • [RH-232] - DbIdentityManager configuration option to create a default user if none exists
  • [RH-234] - improve DbIdentityManager to update user roles associated with auth-token

Commits

3.0.0

31 Dec 15:37
Compare
Choose a tag to compare

Release Notes - Restheart - Version 3.0.0

Major release supporting a more compact and easier to use representation format, code refactoring to use the new MongoDB java driver 3.x, improved transformers and many minor improvements and bug fixes.

Note that HAL representation format can be requested using the rep=HAL qparam or set as default format via configuration file.

Sub-task

  • [RH-210] - add configuration option to select the default representation format

Bug

  • [RH-206] - aggregation variables passed via avars are being processed as string literals
  • [RH-214] - if No-Auth-Challenge header is specified, requests to protected resource without authentication lead to '403 Forbidden', should be 401 'Not Authorized'
  • [RH-221] - missing _link from plain json representation
  • [RH-222] - allow to remove default sorting option by _id

Improvement

  • [RH-100] - Refactor code to use the new Mongodb driver 3.0 API
  • [RH-207] - The ETag header values must be in quoted strings
  • [RH-208] - improve transformers (now they can only manipulate the hal json object passed as reference)
  • [RH-209] - add pj qparam to get a plain json representation of the resource
  • [RH-211] - request transformer to be applied to GET request as well
  • [RH-213] - extend response transformers to write request
  • [RH-217] - filter qparam to apply to GET /db/coll/docid requests
  • [RH-218] - When the "np" parameter is specified, I want the response to be an array of embedded resources
  • [RH-219] - DbIdentityManager to support authentication against bcrypt salted hashed password
  • [RH-220] - transformer to bcrypt hash a property on write requests

3.0.0-beta-3

08 Dec 14:33
Compare
Choose a tag to compare
3.0.0-beta-3 Pre-release
Pre-release

Commits

3.0.0-beta-2

08 Nov 13:47
Compare
Choose a tag to compare
3.0.0-beta-2 Pre-release
Pre-release

Commits

3.0.0-beta-1

01 Sep 17:00
Compare
Choose a tag to compare
3.0.0-beta-1 Pre-release
Pre-release

We refactored the code to use the new MongoDB Java driver 3.0, which required several internal changes.

See https://softinstigate.atlassian.net/browse/RH-100

This is an EXPERIMENTAL RELEASE do not use in production!

2.0.2

01 Jul 21:35
Compare
Choose a tag to compare

Release Notes - Restheart - Version 2.0.2

Bug

  • [RH-200] - NPE if specified configuration file does not exist
  • [RH-201] - ETag not returned on GET document

Improvement

  • [RH-197] - remove _links prop from /db/col/_indexes in hal=c mode

2.0.1

07 Jun 11:51
Compare
Choose a tag to compare

Release Notes - Restheart - Version 2.0.1

Bug

  • [RH-191] - wrong _returned property when projection excludes _id
  • [RH-192] - checkContent regex checker evaluates strings surrounded with quotation marks
  • [RH-194] - GET not existing schema store not returning 404
  • [RH-195] - db resources embed schema store with wrong type property
  • [RH-196] - static resource mount fails if path contains .. after updating to undertow 1.3.23.Final

Improvement

  • [RH-190] - support json sort expression in sort_by query parameter

2.0.0

21 Apr 12:24
Compare
Choose a tag to compare

Release Notes - Restheart - Version 2.0.0

Major release supporting bulk requests, more compact resource representation, easier API usage with optional ETag checking, requests hooks, dot notation and update operators on all write verbs, json schema validation and many improvements and bug fixes

New Feature

  • [RH-7] - bulk requests
  • [RH-19] - support array push and properties deletion
  • [RH-73] - webhooks
  • [RH-133] - json-schema based request checker
  • [RH-151] - support field update operators

Improvement

  • [RH-79] - Add RESTHeart artifacts to Maven Central
  • [RH-127] - requests logging (can be enabled from configuration)
  • [RH-134] - Fix the Maven site and report generation parts
  • [RH-138] - Automatic deployment of maven artifacts
  • [RH-144] - avoid auto fixing _properties
  • [RH-147] - Make the ETag check optional on write operations
  • [RH-150] - allow to configure more undertow listener options, specifically NO_REQUEST_TIMEOUT
  • [RH-159] - modify the hal browser to add hal=f query parameter to requests
  • [RH-163] - add query parameter to write requests in order to support custom shard keys
  • [RH-165] - support dot notation in aggregation operations
  • [RH-175] - add np (no props) qparam to exclude props from db/collection representation
  • [RH-176] - Add mongodb integration test to travis-ci
  • [RH-186] - return link to binary data in file representation also in hal compact mode
  • [RH-187] - allow to give a name to restheart instance in configuration file
  • [RH-189] - automatically escape . and $ prefixed keys in aggregation metadata (currently need to explicitly use escapes : and _$)

Bug

  • [RH-135] - files are embedded as rh:doc array instead of rh:file
  • [RH-145] - OPTIONS request may fail if wrong parameters
  • [RH-146] - multiple filter qparams on same property override each other
  • [RH-149] - 409 on update if etag is missing in document, but document gets updated
  • [RH-154] - NPE if document exists with _id: null
  • [RH-155] - last in pagination links is wrong in case total pages are 1
  • [RH-156] - reserved _id keys are not rejected on POST /db/coll
  • [RH-160] - JsonPathConditionsChecker can fail to check mandatory fields on PATCH
  • [RH-161] - update fails if _id is set via update operator
  • [RH-172] - aggregation operation fails for any operation which takes string parameters.
  • [RH-177] - NPE using $set operator
  • [RH-178] - Undertow is not fully compliant with rfc2046
  • [RH-179] - empty collections and buckets not returned on GET /db
  • [RH-180] - avoid to inject operators via avars query parameter
  • [RH-181] - No CORS headers for bulk operations
  • [RH-182] - AsyncAppender logs "No context given.."
  • [RH-183] - db cursor pooling: quick sequential access to collection randomly gives no results
  • [RH-188] - slow insert POSTing without specifying _id

Sub-task

  • [RH-153] - add schema link to collection representation
  • [RH-157] - add support to json schema check to bulk writes if possibile
  • [RH-158] - add support to before write checkers to bulk writes
  • [RH-162] - add support for request transformers to bulk writes
  • [RH-173] - on exceptions, remove stack trace from the response