2017-07-31 11:36:24 +08:00
|
|
|
/*
|
|
|
|
|
* Copyright 2017 HugeGraph Authors
|
|
|
|
|
*
|
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
|
* contributor license agreements. See the NOTICE file distributed with this
|
|
|
|
|
* work for additional information regarding copyright ownership. The ASF
|
|
|
|
|
* licenses this file to You under the Apache License, Version 2.0 (the
|
|
|
|
|
* "License"); you may not use this file except in compliance with the License.
|
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
|
*
|
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
*
|
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
|
* License for the specific language governing permissions and limitations
|
|
|
|
|
* under the License.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package com.baidu.hugegraph.version;
|
|
|
|
|
|
|
|
|
|
import com.baidu.hugegraph.util.VersionUtil;
|
|
|
|
|
import com.baidu.hugegraph.util.VersionUtil.Version;
|
|
|
|
|
|
|
|
|
|
public final class ApiVersion {
|
|
|
|
|
|
2017-07-31 21:26:38 +08:00
|
|
|
/**
|
2018-04-20 15:30:14 +08:00
|
|
|
* API Version change log
|
2017-07-31 21:26:38 +08:00
|
|
|
*
|
2018-04-20 15:30:14 +08:00
|
|
|
* version 0.2:
|
|
|
|
|
* [0.2] HugeGraph-527: First add the version to the hugegraph module
|
|
|
|
|
* [0.3] HugeGraph-525: Add versions check of components and api
|
|
|
|
|
* [0.4] HugeGraph-162: Add schema builder to seperate client and
|
|
|
|
|
* inner interface.
|
|
|
|
|
* [0.5] HugeGraph-498: Support three kind of id strategy
|
2017-07-31 21:26:38 +08:00
|
|
|
*
|
2018-04-20 15:30:14 +08:00
|
|
|
* version 0.3:
|
|
|
|
|
*
|
|
|
|
|
* [0.6] HugeGraph-614: Add update api of VL/EL to support append and
|
|
|
|
|
* eliminate action
|
|
|
|
|
* [0.7] HugeGraph-245: Add nullable-props for vertex label and edge label
|
|
|
|
|
* [0.8] HugeGraph-396: Continue to improve variables implementation
|
2018-03-12 16:50:13 +08:00
|
|
|
* [0.9] HugeGraph-894: Add vertex/edge update api to add property and
|
|
|
|
|
* remove property
|
2018-04-20 15:30:14 +08:00
|
|
|
* [0.10] HugeGraph-919: Add condition query for vertex/edge list API
|
|
|
|
|
*
|
|
|
|
|
* version 0.4:
|
|
|
|
|
* [0.11] HugeGraph-938: Remove useless indexnames field in VL/EL API
|
|
|
|
|
* [0.12] HugeGraph-589: Add schema id for all schema element
|
|
|
|
|
* [0.13] HugeGraph-956: Support customize string/number id strategy
|
|
|
|
|
*
|
|
|
|
|
* version 0.5:
|
|
|
|
|
* [0.14] HugeGraph-1085: Add enable_label_index to VL/EL
|
|
|
|
|
* [0.15] HugeGraph-1105: Support paging for large amounts of records
|
|
|
|
|
* [0.16] HugeGraph-944: Support rest shortest path, k-out, k-neighbor
|
|
|
|
|
* [0.17] HugeGraph-944: Support rest shortest path, k-out, k-neighbor
|
|
|
|
|
* [0.18] HugeGraph-81: Change argument "checkVertex" to "check_vertex"
|
|
|
|
|
*
|
|
|
|
|
* version 0.6:
|
|
|
|
|
* [0.19] HugeGraph-1195: Support eliminate userdata on schema
|
2018-03-12 16:50:13 +08:00
|
|
|
* [0.20] HugeGraph-1210: Add paths api to find paths between two nodes
|
2018-04-20 15:30:14 +08:00
|
|
|
* [0.21] HugeGraph-1197: Expose scan api for hugegraph-spark
|
2018-03-12 16:50:13 +08:00
|
|
|
* [0.22] HugeGraph-1162: Support authentication and permission control
|
2018-04-28 15:07:18 +08:00
|
|
|
* [0.23] HugeGraph-1176: Support degree and capacity for traverse api
|
2018-05-03 15:24:43 +08:00
|
|
|
* [0.24] HugeGraph-1261: Add param offset for vertex/edge list API
|
2018-05-15 18:07:02 +08:00
|
|
|
* [0.25] HugeGraph-1272: Support set/clear restore status of graph
|
2018-05-28 22:24:57 +08:00
|
|
|
* [0.26] HugeGraph-1273: Add some monitoring counters to integrate with
|
|
|
|
|
* gremlin's monitoring framework
|
2018-06-22 19:23:06 +08:00
|
|
|
* [0.27] HugeGraph-889: Use asynchronous mechanism to do schema deletion
|
2018-11-01 19:33:43 +08:00
|
|
|
*
|
|
|
|
|
* version 0.8:
|
|
|
|
|
* [0.28] Issue-153: Add task-cancel API
|
2018-08-30 19:52:32 +08:00
|
|
|
* [0.29] Issue-39: Add rays and rings RESTful API
|
2018-08-27 18:57:11 +08:00
|
|
|
* [0.30] Issue-32: Change index create API to return indexLabel and task id
|
2018-08-06 17:19:53 +08:00
|
|
|
* [0.31] Issue-182: Support restore graph in restoring and merging mode
|
2019-04-02 17:39:29 +08:00
|
|
|
*
|
|
|
|
|
* version 0.9:
|
2018-11-30 17:09:58 +08:00
|
|
|
* [0.32] Issue-250: Keep depth and degree consistent for traverser api
|
2019-03-11 17:58:36 +08:00
|
|
|
* [0.33] Issue-305: Implement customized paths and crosspoints RESTful API
|
2019-03-12 19:23:14 +08:00
|
|
|
* [0.34] Issue-307: Let VertexAPI use simplified property serializer
|
2019-03-27 16:22:34 +08:00
|
|
|
* [0.35] Issue-287: Support pagination when do index query
|
2019-04-02 17:39:29 +08:00
|
|
|
* [0.36] Issue-360: Support paging for scan api
|
2019-04-08 10:15:40 +08:00
|
|
|
* [0.37] Issue-391: Add skip_super_node for shortest path
|
2019-04-19 11:14:27 +08:00
|
|
|
* [0.38] Issue-274: Add personalrank and neighborrank RESTful API
|
2019-05-31 17:06:40 +08:00
|
|
|
*
|
|
|
|
|
* version 0.10:
|
|
|
|
|
* [0.39] Issue-522: Add profile RESTful API
|
2019-07-01 22:01:24 +08:00
|
|
|
* [0.40] Issue-523: Add source_in_ring args for rings RESTful API
|
2019-07-23 18:36:49 +08:00
|
|
|
* [0.41] Issue-493: Support batch updating properties by multiple strategy
|
2019-07-29 14:21:40 +08:00
|
|
|
* [0.42] Issue-176: Let gremlin error response consistent with RESTful's
|
2019-09-24 20:26:07 +08:00
|
|
|
* [0.43] Issue-270 & 398: support shard-index and vertex + sortkey prefix,
|
2019-08-06 11:16:52 +08:00
|
|
|
* and split range to rangeInt, rangeFloat, rangeLong and rangeDouble
|
2019-08-19 21:27:43 +08:00
|
|
|
* [0.44] Issue-633: Support unique index
|
2019-09-24 20:26:07 +08:00
|
|
|
* [0.45] Issue-673: Add 'OVERRIDE' update strategy
|
2019-09-27 11:27:07 +08:00
|
|
|
* [0.46] Issue-618 & 694: Support UUID id type
|
2019-10-12 17:32:28 +08:00
|
|
|
* [0.47] Issue-691: Support aggregate property
|
2019-10-14 15:56:07 +08:00
|
|
|
* [0.48] Issue-686: Support get schema by names
|
2019-11-27 17:00:26 +08:00
|
|
|
*
|
|
|
|
|
* version 0.11:
|
|
|
|
|
* [0.49] Issue-670: Support fusiform similarity API
|
2019-12-24 17:37:51 +08:00
|
|
|
* [0.50] Issue-746: Support userdata for index label
|
2020-04-05 19:05:21 +08:00
|
|
|
* [0.51] Issue-929: Support 5 TP RESTful API
|
2020-04-06 19:49:06 +08:00
|
|
|
* [0.52] Issue-781: Support range query for rest api like P.gt(18)
|
2020-05-11 15:33:41 +08:00
|
|
|
* [0.53] Issue-985: Add grant permission API
|
2020-05-14 11:07:38 +08:00
|
|
|
* [0.54] Issue-295: Support ttl for vertex and edge
|
2020-05-26 19:40:58 +08:00
|
|
|
* [0.55] Issue-994: Support results count for kneighbor/kout/rings
|
2020-06-17 19:25:18 +08:00
|
|
|
* [0.56] Issue-800: Show schema status in schema API
|
2020-07-24 17:55:52 +08:00
|
|
|
* [0.57] Issue-1105: Allow not rebuild index when create index label
|
2020-10-28 17:58:45 +08:00
|
|
|
* [0.58] Issue-1173: Supports customized kout/kneighbor,
|
|
|
|
|
* multi-node-shortest-path, jaccard-similar and template-paths
|
2021-01-14 22:11:10 +08:00
|
|
|
* [0.59] Issue-1333: Support graph read mode for olap property
|
2021-04-01 18:05:49 +08:00
|
|
|
* [0.60] Issue-1392: Support create and resume snapshot
|
2021-05-12 14:15:05 +08:00
|
|
|
* [0.61] Issue-1433: Unify naming of degree for oltp algorithms
|
2021-06-11 15:57:20 +08:00
|
|
|
* [0.62] Issue-1378: Add compact api for rocksdb/cassandra/hbase backend
|
2021-06-24 22:50:53 +08:00
|
|
|
* [0.63] Issue-1500: Add user-login RESTful API
|
2021-07-07 14:35:48 +08:00
|
|
|
* [0.64] Issue-1504: Add auth-project RESTful API
|
2017-07-31 21:26:38 +08:00
|
|
|
*/
|
|
|
|
|
|
2017-07-31 11:36:24 +08:00
|
|
|
// The second parameter of Version.of() is for IDE running without JAR
|
2021-07-07 14:35:48 +08:00
|
|
|
public static final Version VERSION = Version.of(ApiVersion.class, "0.64");
|
2017-07-31 11:36:24 +08:00
|
|
|
|
|
|
|
|
public static final void check() {
|
2018-04-20 15:30:14 +08:00
|
|
|
// Check version of hugegraph-core. Firstly do check from version 0.3
|
2021-03-26 18:00:34 +08:00
|
|
|
VersionUtil.check(CoreVersion.VERSION, "0.12", "0.13", CoreVersion.NAME);
|
2017-07-31 11:36:24 +08:00
|
|
|
}
|
|
|
|
|
}
|