W3C home > Mailing lists > Public > public-rww@w3.org > June 2014

Fwd: node-rdf v3.0.0 published

From: Melvin Carvalho <melvincarvalho@gmail.com>
Date: Fri, 27 Jun 2014 18:52:23 +0200
Message-ID: <CAKaEYhLQiBQRyDo=ddhPG9xFUHWAzSD+7TdpQXFfpnhg+QtS7w@mail.gmail.com>
To: public-rww <public-rww@w3.org>

---------- Forwarded message ----------
From: Austin William Wright <aaa@bzfx.net>
Date: 27 June 2014 18:47
Subject: node-rdf v3.0.0 published
To: "public-rdfjs@w3.org" <public-rdfjs@w3.org>

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:52:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:10:46 UTC