mirror of https://gitee.com/bigwinds/arangodb
1.3 KiB
1.3 KiB
Incompatible changes in ArangoDB 3.4
It is recommended to check the following list of incompatible changes before upgrading to ArangoDB 3.4, and adjust any client programs if necessary.
The following incompatible changes have been made in ArangoDB 3.4:
Client tools
REST API
- GET /_api/aqlfunction/ was migrated to match the general structure of ArangoDB Replies. It now returns an object with a "result" attribute that contains the list of available AQL user functions:
{
code: 200,
error: false,
result: [
{
"name":"UnitTests::mytest1",
"code":"function () { return 1; }",
"isDeterministic":false
}]}
In previous versions, this REST API returned only the list of available AQL user functions on the top level of the response.
Each AQL user function description now also contains the 'isDeterministic' attribute.
- DELETE /_api/aqlfunction/ now returns the number of deleted functions:
{code: 200, error: false, deletedCount: 10}
Miscellaneous
AQL Functions
- CALL / APPLY
- may emmit
ERROR_QUERY_FUNCTION_NAME_UNKNOWN
orERROR_QUERY_FUNCTION_ARGUMENT_TYPE_MISMATCH
instead ofERROR_QUERY_FUNCTION_NOT_FOUND
in some situations. - are now able to be invoked recursive
- may emmit