Release-notes
NebulaGraph v2.0.0-alpha Release Note

NebulaGraph
Note: Schema & data are not compatible with 1.0 yet. Still working on the compatibility.
New Features
- Support String vertex ID
- New data types
NULL, the property for vertices or edges can be set toNULL.NOT NULLconstraint is supported to ensure the property values are not NULL.- Composite types: list, set and map(Cannot be stored as properties).
- Temporal types like
DATEandDATETIME.
- New Functions
size()returns the number of items in a listtime()returns the current Timedate()ordatetime()Returns the current Date or DateTimeid()returns the id of a vertextags()andlabels()return the tags of the vertexcollect(), an aggregation function, returns a list containing the values returned by an expressioncollect_set(), aggregation function, returns a set containing the values returned by an expressionproperties()returns a map containing all the properties of a vertex or an edgetype()returns the edge type of an edgesrc()returns the src id of an edgedst()returns the dst id of an edgerank()returns the rank of an edge
- New Operators
INchecks if a specified value matches any value in a list.CONTAINSperforms a case-sensitive match regardless of location within a string.STARTS WITHperforms a case-sensitive match for the beginning of a string.ENDS WITHperforms a case-sensitive match for the ending of a string.
- Explain & Profile.
EXPLAINdisplays the execution plan of a nGQL statement without executing the statement. PROFILE executes the statement, then outputs the execution plan as well as the execution profile. - Subgraph.
GET SUBGRAPHstatement retrieves information of vertices and edges reachable from the start vertices over the specified edges to the maximum number of hops. - Partially supported
MATCHstatement. - A
DELETEstatement can have an input from the pipeline|.
Features different from 1.0
CREATE SPACEsupports specifying the type of vertex ID. The typefixed_string(int64will be supported in the next release).- Simplify `UPDATE/UPSERT statement.
UPSERT ... SETthe unspecified properties will be set to the default value when inserting a new vertex/edge. If no default value is set, they will be set toNULL. If theNOT NULLconstraint is set on the property, an error will return.$-in the pipeline statement is not equal to$-.idanymore.- The expression specified in the default value will be computed when the data inserted instead of schema defined.
Upcoming Soon (Work in process)
DESCRIBE TAG/EDGE INDEXREBUILD TAG/EDGE INDEXSHOW TAG/EDGE INDEXESSHOW TAG/EDGE INDEX STATUSFETCH PROP ONmultiple tags- Compatible with 1.0 Integer vertex ID
- Support more OpenCypher statements
- Backup & Restore
- Fulltext search
Console
- Nebula-console supports local commands now. For example,
:set csvoutputs the query results to the console and the specified CSV file. For more information, please refer to nebula-console.
Clients
- Java
- Python
- Golang
Clients support connection pooling and load balancing. For more information, please refer to nebula-clients.
Studio
- Not Compatible with NebulaGraph 2.0 yet (Working in progress).
Document
- Please refer to https://github.com/vesoft-inc/nebula-docs/tree/master/docs-2.0.
If you have any problem or feature request, please leave a comment here: https://discuss.nebula-graph.io/t/nebula-graph-v2-0-0-alpha-release-note/754.


