Skip to content

v3.0.2

Choose a tag to compare

@calina-c calina-c released this 06 Sep 09:50
· 308 commits to main since this release
2b86e91

Breaking changes:

  • Renamed assets/ddo/query endpoint to assets/query to avoid wrong regex matching of routes. This endpoint now takes a raw ES query and returns the results of that query, directly. It is a passthrough to the ES instance. Make sure to update any code dealing with query results.
  • Reflect query errors from Elasticsearch in the query response, helping users debug their queries. Document limitation of 10K results.
  • Return a standard format on all API endpoints. If there is an error, the JSON will contain the “error” key with a description of the relevant error.
  • datatoken was previously mapped as a symbol, it is now mapped as a text

Non-breaking changes:

  • Check if a DDO is encrypted before checking permissions with the RBAC server, to save some extra API calls
  • Removes the ES driver wrapper, which was rendered obsolete through the removal of other database drivers. Aquarius does not support MongoDB, nor BigchainDB, so remove support for plugging in other databases.
  • Added tests to 96% coverage.