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.
-
Foxx: method
controller.collection()
has been removed entirely. Please useappContext.collection()
instead. -
Foxx: method
FoxxRepository.modelPrototype
has been removed entirely. Please useFoxxRepository.model
instead. -
Foxx: the signature of
Model.extend()
has changed.Model.extend({}, {attributes: {}})
does not work anymore. Please useModel.extend({schema: {}})
instead. -
Foxx: the signature of method
requestContext.bodyParam()
has changed.requestContext.bodyParam(paramName, description, Model)
does not work anymore. Please userequestContext.bodyParam(paramName, options)
instead. -
Foxx: the signature of method
requestContext.queryParam()
has changed.requestContext.queryParam({type: "string"})
does not work anymore. Please userequestContext.queryParam({type: joi.string()})
instead. -
Foxx: the signature of method
requestContext.pathParam()
has changed.requestContext.pathParam({type: "string"})
does not work anymore. Please userequestContext.pathParam({type: joi.string()})
instead. -
Foxx: method
Model#toJSONSchema(id)
is deprecated, it will raise a warning if you use it. Please useFoxx.toJSONSchema(id, model)
instead. -
General-Graph: In the module
org/arangodb/general-graph
the functions_undirectedRelation
and_directedRelation
are no longer available. Both functions have been unified to_relation
. -
Graphs: The modules
org/arangodb/graph
andorg/arangodb/graph-blueprint
are deprecated. Please use moduleorg/arangodb/general-graph
instead. -
HTTP API: The api
_api/graph
is deprecated. Please use the general graph api_api/gharial
instead.
- Foxx: method
Model#toJSONSchema(id)
has been removed entirely. Please useFoxx.toJSONSchema(id, model)
instead. - Foxx: Function-based Foxx Queue job types are deprecated and known to cause issues, they will raise a warning if you use them. Please use the new script-based job types instead.
- Foxx: the property
assets
in manifests is deprecated, it will raise a warning if you use it. Please use thefiles
property and an external build tool instead. - Foxx: properties
setup
andteardown
in manifests are deprecated, they will raise a warning if you use them. Please use thescripts
property instead. - The module
org/arangodb/extend
is deprecated. Please use the moduleextendible
instead.
- Foxx: the property
assets
in manifests has been removed entirely. Please use thefiles
property and an external build tool instead. - Foxx: properties
setup
andteardown
in manifests have been removed entirely. Please use thescripts
property instead. - Foxx: Function-based Foxx Queue job types have been removed entirely. Please use the new script-based job types instead.
- The module
org/arangodb/extend
has been removed entirely. Please use the moduleextendible
instead.