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

Releases: SaftIng/Saft

1.1.1

14 Jun 16:27
Compare
Choose a tag to compare

Maintenance release

Additions

Nothing

Changes / Fixes

  • ARC2 addition: set version for ARC2 vendor from 2.* to 2.3.* - ARC2 will be upgraded soon, but is incompatible with the current ARC2 addition. This change prevents updates which breaks your software.
  • small fix in RdfHelpers

Deprecations

Nothing

Breaking Backward Compatibility

Nothing

1.1

27 Apr 08:21
Compare
Choose a tag to compare
1.1

Maintenance release

Additions

  • ARC2 addition: added closeConnection function to manually close connection to server (helpful in test environment)
  • Rdf/CommonNamespaces: improved test coverage and added optimizations (cache, \ before PHP functions) - should result in slightly better performance

Changes / Fixes

  • overall refinements (dev related)

Deprecations

Nothing

Breaking Backward Compatibility

Nothing

1.0.1

20 Mar 17:35
986257e
Compare
Choose a tag to compare

Maintenance release

  • Fixed ARC2 in Travis (forces sabre/uri at 1.*)
  • A few refinements and fixes behind the scenes. Related to travis and coveralls.io.
  • all packages require version 1.0 or newer from now on

1.0

20 Mar 12:05
Compare
Choose a tag to compare
1.0

About this release

Saft 1.0 is finally there. It matured the last 2 years into a stable and trustworthy basement for your application. With this release, some components were cleaned, deprecated classes were removed and others stabilized.

Breaking Backward Compatibility

In this section backward compatibility breaking changes are listed. We always try to keep the API stable for as long as possible. But components, which are not actively maintained nor developed, have to leave at some point. Its better to remove something instead of keeping a broken version. Nevertheless, for all removed components, we keep their repository active with the latest stable version (mostly 0.15). If you rely on them, keep using these.

Removals

Components:

Removed the following composer packages :

  • squizlabs/php_codesniffer (require-dev)
  • zendframework/zend-cache (require)
  • aksw/erfurt (require)

Removed the following classes:

  • Saft/Data/NQuadsParser.php (use related hardf component)
  • Saft/Data/NQuadsSerializerImpl.php (use related hardf component)
  • Saft/Data/SerializationUtils.php (obsolete, because no own parser or serializer available)

Changes

In the RDF-component, RdfHelpers is not part of any constructor anymore. That means, that required functions were ported in related classes, such as NamedNodeImpl. This change allows cleaner code and leads to better maintainability. Furthermore, RDF classes like NamedNodeImpl can be used more easily.

Important: Due this change, a lot of classes had to be ported. You should test, if your stack is also affected. If so, a fix should be very easy: Just remove new RdfHelpers() from the constructor of classes like NamedNodeImpl.

Additions

  • added friendsofphp/php-cs-fixer package to fix coding style issues
  • added .editorconfig file to support clear code formating, like using spaces instead of tabs (requires your editor to use it, though)

Changes / Fixes

  • fixed Virtuoso component, including its tests
  • renamed tests, if their name contained Abstract inside the name, but not at the beginning (e.g. StoreAbstractTest)

(most changes are described above)

Deprecations

Nothing

0.15

16 Mar 07:58
4057695
Compare
Choose a tag to compare

Additions

  • added PHP 7.2 to travis

Changes / Fixes

  • ARC2: fixed a chunking bug in NativeARC2Importer
  • refinements in the README.md
  • updated geo prefix in CommonNamespaces
  • comment refinements
  • updated Makefile infos and added new commands (pointing to scripts folder)

Deprecations

Nothing

Breaking Backward Compatibility

Nothing

0.14

23 Dec 17:31
Compare
Choose a tag to compare

Additions

  • added SHACL namespace to Rdf/CommonNamespaces
  • added getValueForNode to Rdf/RdfHelpers
  • added NativeARC2Importer: this classes bypasses internal transformation and directly connects a parser with the ARC2 store. This allows a much quicker import of data

Changes / Fixes

  • fixed phpunit.xml
  • refinements in hardf
  • fixed travis error with doctrine/instantiator
  • Rdf/RdfHelper: fixed guessFormats confused nt with ttl

Deprecations

  • marked all Redland related classes as deprecated due a lack of active development

Breaking Backward Compatibility

Nothing

0.13

29 Aug 15:03
Compare
Choose a tag to compare

Important: license change

We switched the license of Saft and all of its additions from GPL 3 to MIT. Discussion about it can be found in #94.

Additions

Nothing

Changes / Fixes

  • some stabilization and small improvements
  • LiteralImpl:
    • merged Pull Request #93 from @larseidam (it was about stabilization and further checks)
  • NamedNodeImpl:
    • made constructor a little bit more stable
  • CommonNamespaces:
    • fixed extendUri method
    • adapted construtor

Breaking Backward Compatibility

Nothing

0.12

23 Jun 12:15
Compare
Choose a tag to compare

Fixes for mostly ARC2 addition, added some convenient functions (e.g. in test environment), more refinements.

Addition/ARC2's createGraph, dropGraph and addStatements should work now, as expected and should raise clear error messages, if necessary.

0.11

08 Jun 15:48
Compare
Choose a tag to compare

Maintenance release, with a small break in backward compatibility. Furthermore, it provides more Travis refinements and overall niceups.

Broke backward compatibility

ARC2

  • __construct got a new parameter: needs an instance of Saft\Rdf\CommonNamespaces as sixth parameter
  • but with this change, ARC2 adapter is able to transform prefixed URIs in addStatements and deleteMatchingStatements to full URIs

Changes

RdfHelpers

  • extended guessFormat to recognize Turtle

0.10

29 May 15:59
Compare
Choose a tag to compare

Added hardf to Saft/Addition. Its a small library for RDF parsing and serialization. We currently support RDF parsing. If you want to help, you could add the serialization part :)