mirror of https://gitee.com/bigwinds/arangodb
14 KiB
14 KiB
Deprecated Features
This file lists all features that have been deprecated in ArangoDB or are known to become deprecated in a future version of ArangoDB. Deprecated features will likely be removed in upcoming versions of ArangoDB and shouldn't be used if possible.
Scheduled removal dates or releases will be listed here. Possible migrations will also be detailed here.
2.2
- Foxx: The usage of
controller.collection
is no longer suggested, it will be deprecated in the next version. Please useappContext.collection
instead. - Foxx: The usage of
Model.extend({}, {attributes: {}})
is no longer suggested, it will be deprecated in the next version. Please useModel.extend({schema: {}})
instead. - Foxx: The usage of
requestContext.bodyParam(paramName, description, Model)
is no longer suggested, it will be deprecated in the next version. Please userequestContext.bodyParam(paramName, options)
instead. - Foxx: The usage of
requestContext.queryParam({type: string})
is no longer suggested, it will be deprecated in the next version. Please userequestContext.queryParam({type: joi})
instead. - Foxx: The usage of
requestContext.pathParam({type: string})
is no longer suggested, it will be deprecated in the next version. Please userequestContext.pathParam({type: joi})
instead. - Foxx: The usage of
apps
in manifest files is no longer possible, please usecontrollers
instead. - Graph: The usage of the modules
org/arangodb/graph
andorg/arangodb/graph-blueprint
is no longer suggested, it will be deprecated in the next version. Please use moduleorg/arangodb/general-graph
instead. - Graph: The module
org/arangodb/graph
will now load the moduleorg/arangodb/graph-blueprint
. - AQL: The function
PATHS
is no longer suggested, it will be deprecated in the next version. Please useGRAPH_PATHS
instead. - AQL: The function
SHORTEST_PATH
is no longer suggested, it will be deprecated in the next version. Please useGRAPH_SHORTEST_PATH
instead. - AQL: The function
TRAVERSAL
is no longer suggested, it will be deprecated in the next version. Please useGRAPH_TRAVERSAL
instead. - AQL: The function
TRAVERSAL_TREE
is no longer suggested, it will be deprecated in the next version. Please useGRAPH_TRAVERSAL_TREE
instead. - AQL: The function
NEIGHBORS
is no longer suggested, it will be deprecated in the next version. Please useGRAPH_NEIGHBORS
instead. - Traversal: The usage of the traversal datasource
collectionDatasourceFactory
is no longer suggested, it will be deprecated in the next version. Please usegeneralGraphDatasourceFactory
instead. - Http: The api
_api/graph
is no longer suggested, it will be deprecated in the next version. Please use the general graph api_api/gharial
instead. - Http: In
POST _api/traversal
the usage of the body parameteredgeCollection
is no longer suggested, it will be deprecated in the next version. Please usegraphName
instead. - MRuby: The MRuby server integration for arangod has been removed and can no longer be used.
- Replication: the methods
logger.start
,logger.stop
andlogger.properties
are no-ops since ArangoDB 2.2. They are available in this version only for backwards-compatibility. Usage is no longer suggested as they will be deprecated in the next version. - Replication: the HTTP methods
PUT /_api/replication/logger-start
,PUT /_api/replication/logger-stop
,GET /_api/replication/logger-config
andPUT /_api/replication/logger-config
are no-ops since ArangoDB 2.2. They are available in this version only for backwards-compatibility. Usage is no longer suggested as they will be deprecated in the next version.
2.3
- Foxx:
controller.collection
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please useappContext.collection
instead. - Foxx:
Model.extend({}, {attributes: {}})
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please useModel.extend({schema: {}})
instead. - Foxx:
requestContext.bodyParam(paramName, description, Model)
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please userequestContext.bodyParam(paramName, options)
instead. - Foxx:
requestContext.queryParam({type: string})
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please userequestContext.queryParam({type: joi})
instead. - Foxx:
requestContext.pathParam({type: string})
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please userequestContext.pathParam({type: joi})
instead. - Graph: The modules
org/arangodb/graph
andorg/arangodb/graph-blueprint
are now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please use moduleorg/arangodb/general-graph
instead. - AQL: The function
PATHS
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please useGRAPH_PATHS
instead. - AQL: The function
SHORTEST_PATH
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please useGRAPH_SHORTEST_PATH
instead. - AQL: The function
TRAVERSAL
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please useGRAPH_TRAVERSAL
instead. - AQL: The function
TRAVERSAL_TREE
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please useGRAPH_TRAVERSAL_TREE
instead. - AQL: The function
NEIGHBORS
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please useGRAPH_NEIGHBORS
instead. - Traversal: The usage of the traversal datasource
collectionDatasourceFactory
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please usegeneralGraphDatasourceFactory
instead. - Http: The api
_api/graph
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please use the general graph api_api/gharial
instead. - Http: In
POST _api/traversal
the usage of the body parameteredgeCollection
is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. Please usegraphName
instead. - Replication: the methods
logger.start
,logger.stop
andlogger.properties
are now deprecated. Using them will raise a warning. - Replication: the HTTP methods
PUT /_api/replication/logger-start
,PUT /_api/replication/logger-stop
,GET /_api/replication/logger-config
andPUT /_api/replication/logger-config
are now deprecated. Using them will raise a warning. - General-Graph: In the module
org/arangodb/general-graph
the functions_undirectedRelation
and_directedRelation
is no longer suggested, they will be deprecated int the next version. Both functions have been unified to_relation
.
2.4
- Foxx:
controller.collection
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please useappContext.collection
instead. - Foxx:
Model.extend({}, {attributes: {}})
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please useModel.extend({schema: {}})
instead. - Foxx:
requestContext.bodyParam(paramName, description, Model)
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please userequestContext.bodyParam(paramName, options)
instead. - Foxx:
requestContext.queryParam({type: string})
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please userequestContext.queryParam({type: joi})
instead. - Foxx:
requestContext.pathParam({type: string})
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please userequestContext.pathParam({type: joi})
instead. - Graph: The modules
org/arangodb/graph
andorg/arangodb/graph-blueprint
are no longer available by default. If you still want to use them, please startarangod
with the option--server.default-api-compatibility 20200
. Please use moduleorg/arangodb/general-graph
instead. - AQL: The function
PATHS
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please useGRAPH_PATHS
instead. - AQL: The function
SHORTEST_PATH
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please useGRAPH_SHORTEST_PATH
instead. - AQL: The function
TRAVERSAL
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please useGRAPH_TRAVERSAL
instead. - AQL: The function
TRAVERSAL_TREE
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please useGRAPH_TRAVERSAL_TREE
instead. - AQL: The function
NEIGHBORS
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please useGRAPH_NEIGHBORS
instead. - Traversal: The usage of the traversal datasource
collectionDatasourceFactory
is no longer available by default. If you still want to use it. Please usegeneralGraphDatasourceFactory
instead. - Http: The api
_api/graph
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please use the general graph api_api/gharial
instead. - Http: In
POST _api/traversal
the usage of the body parameteredgeCollection
is no longer available by default. If you still want to use it, please startarangod
with the option--server.default-api-compatibility 20200
. Please usegraphName
instead. - Replication: the methods
logger.start
,logger.stop
andlogger.properties
are no longer available. - Replication: the HTTP methods
PUT /_api/replication/logger-start
,PUT /_api/replication/logger-stop
,GET /_api/replication/logger-config
andPUT /_api/replication/logger-config
are no longer available. To suppress the warning, please startarangod
with the option--server.default-api-compatibility 20200
. - General-Graph: In the module
org/arangodb/general-graph
the functions_undirectedRelation
and_directedRelation
are deprecated and will throw an error if you use them. Both functions have been unified to_relation
.
2.5
- Foxx:
controller.collection
has been removed entirely. Please useappContext.collection
instead. - Foxx:
Model.extend({}, {attributes: {}})
has been removed entirely. Please useModel.extend({schema: {}})
instead. - Foxx:
requestContext.bodyParam(paramName, description, Model)
has been removed entirely. Please userequestContext.bodyParam(paramName, options)
instead. - Foxx:
requestContext.queryParam({type: string})
has been removed entirely. Please userequestContext.queryParam({type: joi})
instead. - Foxx:
requestContext.pathParam({type: string})
has been removed entirely. Please userequestContext.pathParam({type: joi})
instead. - Graph: The modules
org/arangodb/graph
andorg/arangodb/graph-blueprint
have been removed entirely. Please use moduleorg/arangodb/general-graph
instead. - AQL: The function
PATHS
has been removed entirely. Please useGRAPH_PATHS
instead. - AQL: The function
SHORTEST_PATH
has been removed entirely. Please useGRAPH_SHORTEST_PATH
instead. - AQL: The function
TRAVERSAL
has been removed entirely. Please useGRAPH_TRAVERSAL
instead. - AQL: The function
TRAVERSAL_TREE
has been removed entirely. Please useGRAPH_TRAVERSAL_TREE
instead. - AQL: The function
NEIGHBORS
has been removed entirely. Please useGRAPH_NEIGHBORS
instead. - Traversal: The usage of the traversal datasource
collectionDatasourceFactory
has been removed entirely. Please usegeneralGraphDatasourceFactory
instead. - Http: The api
_api/graph
has been removed entirely. Please use the general graph api_api/gharial
instead. - Http: In
POST _api/traversal
the usage of the body parameteredgeCollection
has been removed entirely. Please usegraphName
instead. - General-Graph: In the module
org/arangodb/general-graph
the functions_undirectedRelation
and_directedRelation
are no longer available by default, if you still want to use them startarangod
with the option--server.default-api-compatibility 20300
. Both functions have been unified to_relation
.