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

1.0

Compare
Choose a tag to compare
@k00ni k00ni released this 20 Mar 12:05
· 14 commits to master since this release

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