Releases: SaftIng/Saft
1.1.1
Maintenance release
Additions
Nothing
Changes / Fixes
- ARC2 addition: set version for ARC2 vendor from
2.*
to2.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
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
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
0.15
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
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
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
0.11
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