Upgrading 5.0.0 to 6.0.0 — rdflib 7.1.4 documentation (original) (raw)

6.0.0 fully adopts Python 3 practices and drops Python 2 support so it is neater, faster and generally more modern than 5.0.0. It also tidies up the Graph API (removing duplicate functions) so it does include a few breaking changes. Additionally, there is a long list of PRs merged into 6.0.0 adding a number of small fixes and features which are listed below.

RDFLib version 5.0.0 was released in 2020, 3 years after the previous version (4.2.2) and is fundamentally 5.0.0 compatible with. If you need very long-term backwards-compatibility or Python 2 support, you need 5.0.0.

Major Changes

The most notable changes in RDFLib 6.0.0 are:

Python 3.7+

JSON-LD integration and JSON-LD 1.1

All Changes

This list has been assembled from Pull Request and commit information.

General Bugs Fixed:

Enhanced Features:

SPARQL Fixes:

Code Quality and Cleanups:

Testing:

Documentation Fixes:

Integrade JSON-LD into RDFLib:

PR #1354