Skip to content
Permalink
Browse files
Upgrade version to 0.12.0 (#1372)
Change-Id: Ia7eab6e7c88816234204ec6e60fc807f25e71212
  • Loading branch information
Linary committed Mar 26, 2021
1 parent 126d401 commit e05850b5d5e28cbd4ffdadc2501ba65515ef3345
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 20 deletions.
@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -116,6 +116,6 @@ public final class ApiVersion {

public static final void check() {
// Check version of hugegraph-core. Firstly do check from version 0.3
VersionUtil.check(CoreVersion.VERSION, "0.11", "0.12", CoreVersion.NAME);
VersionUtil.check(CoreVersion.VERSION, "0.12", "0.13", CoreVersion.NAME);
}
}
@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -5,7 +5,7 @@
<parent>
<groupId>com.baidu.hugegraph</groupId>
<artifactId>hugegraph</artifactId>
<version>0.11.2</version>
<version>0.12.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>hugegraph-core</artifactId>
@@ -19,7 +19,7 @@
<dependency>
<groupId>com.baidu.hugegraph</groupId>
<artifactId>hugegraph-common</artifactId>
<version>1.8.1</version>
<version>1.8.4</version>
</dependency>

<!-- tinkerpop -->
@@ -208,7 +208,7 @@
</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Implementation-Version>0.11.2.0</Implementation-Version>
<Implementation-Version>0.12.0.0</Implementation-Version>
</manifestEntries>
</archive>
</configuration>
@@ -21,6 +21,8 @@

import java.io.File;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;
import java.util.Optional;
@@ -58,7 +60,6 @@
import com.baidu.hugegraph.backend.id.IdGenerator.StringId;
import com.baidu.hugegraph.backend.id.IdGenerator.UuidId;
import com.baidu.hugegraph.backend.store.Shard;
import com.baidu.hugegraph.date.SafeDateFormat;
import com.baidu.hugegraph.schema.EdgeLabel;
import com.baidu.hugegraph.schema.IndexLabel;
import com.baidu.hugegraph.schema.PropertyKey;
@@ -85,8 +86,9 @@ public class HugeGraphSONModule extends TinkerPopJacksonModule {
private static final GraphSONSchemaSerializer schemaSerializer =
new GraphSONSchemaSerializer();

// NOTE: jackson will synchronize DateFormat
private static final String DF = "yyyy-MM-dd HH:mm:ss.SSS";
private static final SafeDateFormat DATE_FORMAT = new SafeDateFormat(DF);
private static final DateFormat DATE_FORMAT = new SimpleDateFormat(DF);

static {
TYPE_DEFINITIONS = new ConcurrentHashMap<>();
@@ -33,7 +33,7 @@ public class CoreVersion {

// The second parameter of Version.of() is for IDE running without JAR
public static final Version VERSION = Version.of(CoreVersion.class,
"0.11.2");
"0.12.0");

public static final String GREMLIN_VERSION = "3.4.3";

@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>hugegraph-dist</name>
@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -219,7 +219,7 @@ private PaloLoadInfo getLoadInfoByLabel(String label) {
public final class PaloLoadTask extends TimerTask {

private static final String DF = "yyyy-MM-dd-HH-mm-ss";
private final DateFormat DATE_FORMAT = new SafeDateFormat(DF);
private final SafeDateFormat DATE_FORMAT = new SafeDateFormat(DF);

/**
* There exist two running palo load task corresponds to two stores,
@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.11.2</version>
<version>0.12.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.baidu.hugegraph</groupId>
<artifactId>hugegraph</artifactId>
<version>0.11.2</version>
<version>0.12.0</version>
<packaging>pom</packaging>
<prerequisites>
<maven>3.3.9</maven>

0 comments on commit e05850b

Please sign in to comment.