mirror of https://gitee.com/bigwinds/arangodb
8.6 KiB
8.6 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.collectionis no longer suggested, it will be deprecated in the next version. Please useappContext.collectioninstead. - 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
appsin manifest files is no longer possible, please usecontrollersinstead. - Graph: The usage of the modules
org/arangodb/graphandorg/arangodb/graph-blueprintis no longer suggested, it will be deprecated in the next version. Please use moduleorg/arangodb/general-graphinstead. - Graph: The module
org/arangodb/graphwill now load the moduleorg/arangodb/graph-blueprint. - Http: The api
_api/graphis no longer suggested, it will be deprecated in the next version. Please use the general graph api_api/gharialinstead. - MRuby: The MRuby server integration for arangod has been removed and can no longer be used.
- Replication: the methods
logger.start,logger.stopandlogger.propertiesare 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-configandPUT /_api/replication/logger-configare 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.collectionis now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangodwith the option--server.default-api-compatibility 20200. Please useappContext.collectioninstead. - Foxx:
Model.extend({}, {attributes: {}})is now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangodwith 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 startarangodwith 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 startarangodwith 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 startarangodwith the option--server.default-api-compatibility 20200. Please userequestContext.pathParam({type: joi})instead. - Graph: The modules
org/arangodb/graphandorg/arangodb/graph-blueprintare now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangodwith the option--server.default-api-compatibility 20200. Please use moduleorg/arangodb/general-graphinstead. - Http: The api
_api/graphis now deprecated, it will raise a warning if you use it. To suppress the warning, please startarangodwith the option--server.default-api-compatibility 20200. Please use the general graph api_api/gharialinstead. - Replication: the methods
logger.start,logger.stopandlogger.propertiesare 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-configandPUT /_api/replication/logger-configare now deprecated. Using them will raise a warning. - General-Graph: In the module
org/arangodb/general-graphthe functions_undirectedRelationand_directedRelationis no longer suggested, they will be deprecated int the next version. Both functions have been unified to_relation.
2.4
- Foxx:
controller.collectionis no longer available by default. If you still want to use it, please startarangodwith the option--server.default-api-compatibility 20200. Please useappContext.collectioninstead. - Foxx:
Model.extend({}, {attributes: {}})is no longer available by default. If you still want to use it, please startarangodwith 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 startarangodwith 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 startarangodwith 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 startarangodwith the option--server.default-api-compatibility 20200. Please userequestContext.pathParam({type: joi})instead. - Graph: The modules
org/arangodb/graphandorg/arangodb/graph-blueprintare no longer available by default. If you still want to use them, please startarangodwith the option--server.default-api-compatibility 20200. Please use moduleorg/arangodb/general-graphinstead. - Http: The api
_api/graphis no longer available by default. If you still want to use it, please startarangodwith the option--server.default-api-compatibility 20200. Please use the general graph api_api/gharialinstead. - Replication: the methods
logger.start,logger.stopandlogger.propertiesare no longer available. - Replication: the HTTP methods
PUT /_api/replication/logger-start,PUT /_api/replication/logger-stop,GET /_api/replication/logger-configandPUT /_api/replication/logger-configare no longer available. To suppress the warning, please startarangodwith the option--server.default-api-compatibility 20200. - General-Graph: In the module
org/arangodb/general-graphthe functions_undirectedRelationand_directedRelationare deprecated and will throw an error if you use them. Both functions have been unified to_relation.
2.5
- Foxx:
controller.collectionhas been removed entirely. Please useappContext.collectioninstead. - 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/graphandorg/arangodb/graph-blueprinthave been removed entirely. Please use moduleorg/arangodb/general-graphinstead. - Http: The api
_api/graphhas been removed entirely. Please use the general graph api_api/gharialinstead. - General-Graph: In the module
org/arangodb/general-graphthe functions_undirectedRelationand_directedRelationare no longer available by default, if you still want to use them startarangodwith the option--server.default-api-compatibility 20300. Both functions have been unified to_relation.