node-rdf v3.0.0 published

I've released v3.0.0 of my 'rdf' module, the RDF Interfaces implementation
for Node.js and other ECMAScript platforms.

Since this is a major revision increment, it includes breaking changes that
were necessary to correctly implement RDF Interfaces. In this release:

* All IRI functions have been removed, as these are now available in the
'iri' module, <https://github.com/Acubed/node-iri>.
* Functions should now return NamedNode as the spec specifies. To get the
IRI string, just use `.toString()` as you should have been already.
* 'iri' is now listed as a dependency
* Removed IndexedGraph, as it was implemented in O(n) time and had an
incomplete implementation
* Added the missing Graph#addAll function
* Implemented environment.createGraph() correctly, defaults to the
formerly-named TripletGraph
* Relevant changes in tests

Fixing for breaking changes should be limited to:

* Use environment.createGraph() or `new rdf.Graph` instead of `new
rdf.IndexedGraph`/`new rdf.TripletGraph`
* IRIs are returned by a NamedNode where specified in RDF Interfaces.
Append a .toString() to get your IRI as a string.

Major thanks to bergi for feedback!

Austin Wright.

Received on Friday, 27 June 2014 16:47:40 UTC