Neo4j 2.0.0-M05 Released
Neo4j 2.0.0-M05 Released
Join the DZone community and get the full member experience.
Join For FreeDelivering modern software? Atomist automates your software delivery experience.
We are proud to release Neo4j 2.0.0-M05 this week. The 2.0 project is now in full-speed development after summer vacation. We’re getting close to feature completeness now, and we want to get this release out to you so you can give us refined feedback for the final release.
Unique Constraints
CREATE CONSTRAINT ON (n:Person) ASSERT n.email IS UNIQUE;
CREATE (:Person {email: "dude@company.com"}); CypherExecutionException: Node 2 already exists with label Person and property "email"=[dude@company.com]In the engine room, unique constraints are implemented using a unique index. You can see this when looking at the schema, for example, using the shell:
neo4j-sh (?)$ schema Indexes ON :Person(email) ONLINE (for uniqueness constraint) Constraints ON (person:Person) ASSERT person.email IS UNIQUE
Label Store
AutoClosable Transactions
try (Transaction tx = db.beginTransaction()){ // do stuff inside the transaction tx.success(); }
Removed a Lot of Deprecated Methods/Classes
New Cypher Syntax
Minimalistic Cypher and JSON
RETURN { key : "Value", collectionKey: [ { inner: "Map1" }, { inner: "Map2" } ] } as JSON
Deprecated > /dev/null
As always, we’ve done a bunch of bugfixes and performance improvements. Here are the release notes. Also, a big thanks for all the good suggestions, discussions and error reports that have gone into this release. It makes a big difference!
Yours connectedly,
Andres Taylor and Tobias Lindaaker
Start automating your delivery right there on your own laptop, today! Get the open source Atomist Software Delivery Machine.
Published at DZone with permission of Andreas Kollegger , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
{{ parent.title || parent.header.title}}
{{ parent.tldr }}
{{ parent.linkDescription }}
{{ parent.urlSource.name }}