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:
- Erfurt addition (has still its own repository https://github.com/SaftIng/Saft.erfurt, for now)
- QueryCache addition (has still its own repository https://github.com/SaftIng/Saft.querycache, for now)
- Redland addition (has still its own repository https://github.com/SaftIng/Saft.redland, for now)
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