Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

0.1.0-alpha3

Pre-release
Pre-release
Compare
Choose a tag to compare
@k00ni k00ni released this 06 Jul 14:12
· 342 commits to master since this release

That is the third pre-release for 0.1 with important changes. Here is the difference between 0.1.0-alpha2 and 0.1.0-alpha3.

We further stabilized the API and started to clean code for the first main release 0.1. Furthermore we started to define the API of Saft by adding the api tag to interfaces, classes and abstract classes.

Important changes:

  • Store: Better overall support for quads in queries and emulate queries which have a placeholder as graph (#38, #39)
  • add createNodeInstance to NodeUtils - That functions helps you to save code. It is useful in cases where you have all the meta information about a node (type, value, ...) but dont want to write that switch to create the right node type, especially if you want to use a NodeFactory too.
  • many skipped tests were fixed or removed

API-changes:

  • Removed Saft\Cache, because there are better cache implementations out there; we don't want to reinvent the wheel, so Saft uses Nette/Caching from now on
  • Moved Result classes from Saft\Store to Saft\Sparql
  • Make statements not mutable (#51)
  • Made all static methods from SparqlUtils and NodeUtils non-static (#58)
  • Literal values must be of type string (#53)
  • In TestCase were assertIteratorContent replaced by assertStatementIteratorEquals and
    assertResultEquals
  • Rename isVariable and all its occurences to isPattern (#57)