Changelog
### 6.1.1
```
========================
Better testing and tidier code.
This is a semi-major release that:
* add support for Python 3.10
* updates the test suite to pytest (from nose)
* tidies up a lot of continuous integration
* gets more tests tested, not skipped
* implements lots of mypy tests
* updates several parsers and serializers
* supports the new HexTuples format!
* many bug fixes
This release contains many, many hours of updates from Iwan Aucamp, so thank you Iwan!
PRs merged since last release:
* Update the guidelines for writing tests
[PR 1517](https://github.com/RDFLib/rdflib/pull/1517)
* Updated tox config to run mypy in default environment
[PR 1450](https://github.com/RDFLib/rdflib/pull/1450)
* Add type annotations to constructor parameters in Literal
[PR 1498](https://github.com/RDFLib/rdflib/pull/1498)
* Increase fuseki start timeout from 15 to 30 seconds
[PR 1516](https://github.com/RDFLib/rdflib/pull/1516)
* Forbid truthy values for lang when initializing Literal
[PR 1494](https://github.com/RDFLib/rdflib/pull/1494)
* Add Py 3.10 to testing envs
[PR 1473](https://github.com/RDFLib/rdflib/pull/1473)
* Add mypy to GitHub actions validate workflow
[PR 1512](https://github.com/RDFLib/rdflib/pull/1512)
* Improve error messages from with-fuseki.sh
[PR 1510](https://github.com/RDFLib/rdflib/pull/1510)
* Fix pipeline triggers
[PR 1511](https://github.com/RDFLib/rdflib/pull/1511)
* Change python version used for mypy to 3.7
[PR 1514](https://github.com/RDFLib/rdflib/pull/1514)
* Quench nt test userwarn
[PR 1500](https://github.com/RDFLib/rdflib/pull/1500)
* Raise a more specific Exception when lang isn't valid
[PR 1497](https://github.com/RDFLib/rdflib/pull/1497)
* Fix for issue893
[PR 1504](https://github.com/RDFLib/rdflib/pull/1504)
* Fix for issue 893
[PR 1501](https://github.com/RDFLib/rdflib/pull/1501)
* Re-make of nicholascar's “Concise Bounded Description” PR 968 ...
[PR 1502](https://github.com/RDFLib/rdflib/pull/1502)
* Remove deprecated Statement class
[PR 1496](https://github.com/RDFLib/rdflib/pull/1496)
* Fix BNode.skolemize() returning a URIRef instead of an RDFLibGenid.
[PR 1493](https://github.com/RDFLib/rdflib/pull/1493)
* demo 980 resolution
[PR 1495](https://github.com/RDFLib/rdflib/pull/1495)
* Hextuples Serializer
[PR 1489](https://github.com/RDFLib/rdflib/pull/1489)
* Add bindings for rdflib namespaces. Import DCAM.
[PR 1491](https://github.com/RDFLib/rdflib/pull/1491)
* fix for issue 1484 raised and solved by Graham Klyne:
[PR 1490](https://github.com/RDFLib/rdflib/pull/1490)
* SDO HTTPS and DN creator script
[PR 1485](https://github.com/RDFLib/rdflib/pull/1485)
* Fix typing of create_input_source
[PR 1487](https://github.com/RDFLib/rdflib/pull/1487)
* guess_format() cater for JSON-LD files ending .json-ld
[PR 1486](https://github.com/RDFLib/rdflib/pull/1486)
* Add GitHub actions workflow for validation
[PR 1461](https://github.com/RDFLib/rdflib/pull/1461)
* Improved script for running with fuseki
[PR 1476](https://github.com/RDFLib/rdflib/pull/1476)
* RFC: Add PythonInputSource to create py-based graphs
[PR 1463](https://github.com/RDFLib/rdflib/pull/1463)
* Adapt for pytest and add back import of os in rdflib/parser.py
[PR 1480](https://github.com/RDFLib/rdflib/pull/1480)
* Make the test pass on windows
[PR 1478](https://github.com/RDFLib/rdflib/pull/1478)
* Add type hints
[PR 1449](https://github.com/RDFLib/rdflib/pull/1449)
* Fix shield for CI status
[PR 1474](https://github.com/RDFLib/rdflib/pull/1474)
* Fix test files with bare code
[PR 1481](https://github.com/RDFLib/rdflib/pull/1481)
* Remove some remaining nosetest import
[PR 1482](https://github.com/RDFLib/rdflib/pull/1482)
* Fix JSON-LD data import adds trailing slashes to IRIs (1443)
[PR 1456](https://github.com/RDFLib/rdflib/pull/1456)
* Iwana 20211114 t1305 pytestx
[PR 1460](https://github.com/RDFLib/rdflib/pull/1460)
* Migrate from nosetest to pytest
[PR 1452](https://github.com/RDFLib/rdflib/pull/1452)
* Add import of os
[PR 1464](https://github.com/RDFLib/rdflib/pull/1464)
* replace pkg_resources with importlib.metadata
[PR 1445](https://github.com/RDFLib/rdflib/pull/1445)
* A new Turtle serializer
[PR 1425](https://github.com/RDFLib/rdflib/pull/1425)
* Fix typos discovered by codespell
[PR 1446](https://github.com/RDFLib/rdflib/pull/1446)
* Use assertTrue instead of assert_ for python 3.11 compatibility.
[PR 1448](https://github.com/RDFLib/rdflib/pull/1448)
* Undefined name: tmppath --> self.tmppath
[PR 1438](https://github.com/RDFLib/rdflib/pull/1438)
* Fix Graph.parse URL handling on windows
[PR 1441](https://github.com/RDFLib/rdflib/pull/1441)
* Make Store.namespaces an empty generator
[PR 1432](https://github.com/RDFLib/rdflib/pull/1432)
* Export DCMITYPE
[PR 1433](https://github.com/RDFLib/rdflib/pull/1433)
```
### 6.1.0
```
========================
A slightly messed-up release of what is now 6.1.1. Do not use!
```
### 6.0.2
```
========================
Minor release to add OWL.rational & OWL.real which are needed to allow the OWL-RL package to use only rdflib namespaces, not it's own versions.
* Add owl:rational and owl:real to match standard.
[PR 1428](https://github.com/RDFLib/rdflib/pull/1428)
A few other small things have been added, see the following merged PRs list:
* rename arg LOVE to ns in rdfpipe
[PR 1426](https://github.com/RDFLib/rdflib/pull/1426)
* Remove Tox reference to Python 3.6
[PR 1422](https://github.com/RDFLib/rdflib/pull/1422)
* Add Brick DefinedNamespace
[PR 1419](https://github.com/RDFLib/rdflib/pull/1419)
* Use setName on TokenConverter to set the name property
[PR 1409](https://github.com/RDFLib/rdflib/pull/1409)
* Add test for adding JSON-LD to guess_format()
[PR 1408](https://github.com/RDFLib/rdflib/pull/1408)
* Fix mypy type errors and add mypy to .drone.yml
[PR 1407](https://github.com/RDFLib/rdflib/pull/1407)
```
### 6.0.1
```
========================
Minor release to fix a few small errors, in particular with JSON-LD parsing & serializing integration from rdflib-jsonld. Also, a few other niceties, such as allowing graph `add()`, `remove()` etc. to be chainable.
* Add test for adding JSON-LD to guess_format()
[PR 1408](https://github.com/RDFLib/rdflib/pull/1408)
* Add JSON-LD to guess_format()
[PR 1403](https://github.com/RDFLib/rdflib/pull/1403)
* add dateTimeStamp, fundamental & constraining facets, 7-prop data model
[PR 1399](https://github.com/RDFLib/rdflib/pull/1399)
* fix: remove log message on import
[PR 1398](https://github.com/RDFLib/rdflib/pull/1398)
* Make graph and other methods chainable
[PR 1394](https://github.com/RDFLib/rdflib/pull/1394)
* fix: use correct name for json-ld
[PR 1388](https://github.com/RDFLib/rdflib/pull/1388)
* Allowing Container Membership Properties in RDF namespace (873)
[PR 1386](https://github.com/RDFLib/rdflib/pull/1386)
* Update intro_to_sparql.rst
[PR 1386](https://github.com/RDFLib/rdflib/pull/1384)
* Iterate over dataset return quads
[PR 1382](https://github.com/RDFLib/rdflib/pull/1382)
```
### 6.0.0
```
========================
6.0.0 is a major stable release that drops support for Python 2 and Python 3 < 3.7. Type hinting is now present in much
of the toolkit as a result.
It includes the formerly independent JSON-LD parser/serializer, improvements to Namespaces that allow for IDE namespace
prompting, simplified use of `g.serialize()` (turtle default, no need to `decode()`) and many other updates to
documentation, store backends and so on.
Performance of the in-memory store has also improved since Python 3.6 dictionary improvements.
There are numerous supplementary improvements to the toolkit too, such as:
* inclusion of Docker files for easier CI/CD
* black config files for standardised code formatting
* improved testing with mock SPARQL stores, rather than a reliance on DBPedia etc
```
Links
- PyPI: https://pypi.org/project/rdflib
- Changelog: https://pyup.io/changelogs/rdflib/
- Repo: https://github.com/RDFLib/rdflib
Update skosprovider from 1.1.0 to 1.1.1.
Changelog
### 1.1.1 ``` ------------------ - An empty or invalid language tag as query parameter is raising 500 Exception (110) ```Links
- PyPI: https://pypi.org/project/skosprovider - Changelog: https://pyup.io/changelogs/skosprovider/ - Repo: http://github.com/koenedaele/skosproviderUpdate rdflib from 5.0.0 to 6.1.1.
Changelog
### 6.1.1 ``` ======================== Better testing and tidier code. This is a semi-major release that: * add support for Python 3.10 * updates the test suite to pytest (from nose) * tidies up a lot of continuous integration * gets more tests tested, not skipped * implements lots of mypy tests * updates several parsers and serializers * supports the new HexTuples format! * many bug fixes This release contains many, many hours of updates from Iwan Aucamp, so thank you Iwan! PRs merged since last release: * Update the guidelines for writing tests [PR 1517](https://github.com/RDFLib/rdflib/pull/1517) * Updated tox config to run mypy in default environment [PR 1450](https://github.com/RDFLib/rdflib/pull/1450) * Add type annotations to constructor parameters in Literal [PR 1498](https://github.com/RDFLib/rdflib/pull/1498) * Increase fuseki start timeout from 15 to 30 seconds [PR 1516](https://github.com/RDFLib/rdflib/pull/1516) * Forbid truthy values for lang when initializing Literal [PR 1494](https://github.com/RDFLib/rdflib/pull/1494) * Add Py 3.10 to testing envs [PR 1473](https://github.com/RDFLib/rdflib/pull/1473) * Add mypy to GitHub actions validate workflow [PR 1512](https://github.com/RDFLib/rdflib/pull/1512) * Improve error messages from with-fuseki.sh [PR 1510](https://github.com/RDFLib/rdflib/pull/1510) * Fix pipeline triggers [PR 1511](https://github.com/RDFLib/rdflib/pull/1511) * Change python version used for mypy to 3.7 [PR 1514](https://github.com/RDFLib/rdflib/pull/1514) * Quench nt test userwarn [PR 1500](https://github.com/RDFLib/rdflib/pull/1500) * Raise a more specific Exception when lang isn't valid [PR 1497](https://github.com/RDFLib/rdflib/pull/1497) * Fix for issue893 [PR 1504](https://github.com/RDFLib/rdflib/pull/1504) * Fix for issue 893 [PR 1501](https://github.com/RDFLib/rdflib/pull/1501) * Re-make of nicholascar's “Concise Bounded Description” PR 968 ... [PR 1502](https://github.com/RDFLib/rdflib/pull/1502) * Remove deprecated Statement class [PR 1496](https://github.com/RDFLib/rdflib/pull/1496) * Fix BNode.skolemize() returning a URIRef instead of an RDFLibGenid. [PR 1493](https://github.com/RDFLib/rdflib/pull/1493) * demo 980 resolution [PR 1495](https://github.com/RDFLib/rdflib/pull/1495) * Hextuples Serializer [PR 1489](https://github.com/RDFLib/rdflib/pull/1489) * Add bindings for rdflib namespaces. Import DCAM. [PR 1491](https://github.com/RDFLib/rdflib/pull/1491) * fix for issue 1484 raised and solved by Graham Klyne: [PR 1490](https://github.com/RDFLib/rdflib/pull/1490) * SDO HTTPS and DN creator script [PR 1485](https://github.com/RDFLib/rdflib/pull/1485) * Fix typing of create_input_source [PR 1487](https://github.com/RDFLib/rdflib/pull/1487) * guess_format() cater for JSON-LD files ending .json-ld [PR 1486](https://github.com/RDFLib/rdflib/pull/1486) * Add GitHub actions workflow for validation [PR 1461](https://github.com/RDFLib/rdflib/pull/1461) * Improved script for running with fuseki [PR 1476](https://github.com/RDFLib/rdflib/pull/1476) * RFC: Add PythonInputSource to create py-based graphs [PR 1463](https://github.com/RDFLib/rdflib/pull/1463) * Adapt for pytest and add back import of os in rdflib/parser.py [PR 1480](https://github.com/RDFLib/rdflib/pull/1480) * Make the test pass on windows [PR 1478](https://github.com/RDFLib/rdflib/pull/1478) * Add type hints [PR 1449](https://github.com/RDFLib/rdflib/pull/1449) * Fix shield for CI status [PR 1474](https://github.com/RDFLib/rdflib/pull/1474) * Fix test files with bare code [PR 1481](https://github.com/RDFLib/rdflib/pull/1481) * Remove some remaining nosetest import [PR 1482](https://github.com/RDFLib/rdflib/pull/1482) * Fix JSON-LD data import adds trailing slashes to IRIs (1443) [PR 1456](https://github.com/RDFLib/rdflib/pull/1456) * Iwana 20211114 t1305 pytestx [PR 1460](https://github.com/RDFLib/rdflib/pull/1460) * Migrate from nosetest to pytest [PR 1452](https://github.com/RDFLib/rdflib/pull/1452) * Add import of os [PR 1464](https://github.com/RDFLib/rdflib/pull/1464) * replace pkg_resources with importlib.metadata [PR 1445](https://github.com/RDFLib/rdflib/pull/1445) * A new Turtle serializer [PR 1425](https://github.com/RDFLib/rdflib/pull/1425) * Fix typos discovered by codespell [PR 1446](https://github.com/RDFLib/rdflib/pull/1446) * Use assertTrue instead of assert_ for python 3.11 compatibility. [PR 1448](https://github.com/RDFLib/rdflib/pull/1448) * Undefined name: tmppath --> self.tmppath [PR 1438](https://github.com/RDFLib/rdflib/pull/1438) * Fix Graph.parse URL handling on windows [PR 1441](https://github.com/RDFLib/rdflib/pull/1441) * Make Store.namespaces an empty generator [PR 1432](https://github.com/RDFLib/rdflib/pull/1432) * Export DCMITYPE [PR 1433](https://github.com/RDFLib/rdflib/pull/1433) ``` ### 6.1.0 ``` ======================== A slightly messed-up release of what is now 6.1.1. Do not use! ``` ### 6.0.2 ``` ======================== Minor release to add OWL.rational & OWL.real which are needed to allow the OWL-RL package to use only rdflib namespaces, not it's own versions. * Add owl:rational and owl:real to match standard. [PR 1428](https://github.com/RDFLib/rdflib/pull/1428) A few other small things have been added, see the following merged PRs list: * rename arg LOVE to ns in rdfpipe [PR 1426](https://github.com/RDFLib/rdflib/pull/1426) * Remove Tox reference to Python 3.6 [PR 1422](https://github.com/RDFLib/rdflib/pull/1422) * Add Brick DefinedNamespace [PR 1419](https://github.com/RDFLib/rdflib/pull/1419) * Use setName on TokenConverter to set the name property [PR 1409](https://github.com/RDFLib/rdflib/pull/1409) * Add test for adding JSON-LD to guess_format() [PR 1408](https://github.com/RDFLib/rdflib/pull/1408) * Fix mypy type errors and add mypy to .drone.yml [PR 1407](https://github.com/RDFLib/rdflib/pull/1407) ``` ### 6.0.1 ``` ======================== Minor release to fix a few small errors, in particular with JSON-LD parsing & serializing integration from rdflib-jsonld. Also, a few other niceties, such as allowing graph `add()`, `remove()` etc. to be chainable. * Add test for adding JSON-LD to guess_format() [PR 1408](https://github.com/RDFLib/rdflib/pull/1408) * Add JSON-LD to guess_format() [PR 1403](https://github.com/RDFLib/rdflib/pull/1403) * add dateTimeStamp, fundamental & constraining facets, 7-prop data model [PR 1399](https://github.com/RDFLib/rdflib/pull/1399) * fix: remove log message on import [PR 1398](https://github.com/RDFLib/rdflib/pull/1398) * Make graph and other methods chainable [PR 1394](https://github.com/RDFLib/rdflib/pull/1394) * fix: use correct name for json-ld [PR 1388](https://github.com/RDFLib/rdflib/pull/1388) * Allowing Container Membership Properties in RDF namespace (873) [PR 1386](https://github.com/RDFLib/rdflib/pull/1386) * Update intro_to_sparql.rst [PR 1386](https://github.com/RDFLib/rdflib/pull/1384) * Iterate over dataset return quads [PR 1382](https://github.com/RDFLib/rdflib/pull/1382) ``` ### 6.0.0 ``` ======================== 6.0.0 is a major stable release that drops support for Python 2 and Python 3 < 3.7. Type hinting is now present in much of the toolkit as a result. It includes the formerly independent JSON-LD parser/serializer, improvements to Namespaces that allow for IDE namespace prompting, simplified use of `g.serialize()` (turtle default, no need to `decode()`) and many other updates to documentation, store backends and so on. Performance of the in-memory store has also improved since Python 3.6 dictionary improvements. There are numerous supplementary improvements to the toolkit too, such as: * inclusion of Docker files for easier CI/CD * black config files for standardised code formatting * improved testing with mock SPARQL stores, rather than a reliance on DBPedia etc ```Links
- PyPI: https://pypi.org/project/rdflib - Changelog: https://pyup.io/changelogs/rdflib/ - Repo: https://github.com/RDFLib/rdflib