RDFlib 6.3.0 #2278
aucampia
announced in
Announcements
RDFlib 6.3.0
#2278
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
2023-03-16 RELEASE 6.3.0
This is a minor release that includes bug fixes and features.
Important Information
this will not be considered a breaking change, and RDFLib's major version
number will not be changed solely on the basis of Python 3.7 support being
dropped.
User facing changes
This section lists changes that have a potential impact on users of RDFLib,
changes with no user impact are not included in this section.
Add chunk serializer that facilitates the encoding of a graph into multiple
N-Triples encoded chunks.
PR #1968.
Fixes passing
NamespaceManagerinConjunctiveGraph's methodget_context().The
get_context()method will now pass theNamespaceManagerofConjunctiveGraphto thenamespace_managerattribute of the newly created context graph, instead of theConjunctiveGraphobject itself. This cleans up an oldFIXMEcomment.PR #2073.
InfixOWL fixes and cleanup.
Closed issue #2030.
PR #2024,
and PR #2033.
rdflib.extras.infixowl.Restriction.__init__will now raise aValueErrorif there is no restriction value instead of an
AssertionError.rdflib.extras.infixowl.Restriction.restrictionKindwhich was essentiallynot working at all.
rdflib.extras.infixowl.Property.__repr__usesrdflib.namespace.OWL.rdflib.extras.infixowl.Infix.__ror__andrdflib.extras.infixowl.Infix.__or__as they were broken.rdflib.extras.infixowl.termDeletionDecorator.rdflib.extras.infixowl.MalformedClassErrorwhich will replacerdflib.extras.infixowl.MalformedClass(which is an exception) in the nextmajor version.
Fixed some cross-referencing issues in RDFLib documentation.
Closed issue #1878.
PR #2036.
Fixed import of
xml.sax.handlerinrdflib.plugins.parsers.trixso that itno longer tries to import it from
xml.sax.saxutils.PR #2041.
Removed a pre python 3.5 regex related workaround in the REPLACE SPARQL
function.
PR #2042.
Fixed some issues with SPARQL XML result parsing that caused problems with
lxml. Closed issue #2035,issue #1847.
PR #2044.
TextIOstreams now work correctly with
lxmlinstalled and with XML documents thatare not
utf-8encoded.<results>that are not<result>are now ignored.<result>that are not<binding>are now ignored.rdflib.plugins.sparql.results.xmlresults.Added type hints to the following modules:
rdflib.store.PR #2057.
rdflib.graph.PR #2080.
rdflib.plugins.sparql.*.PR #2094,
PR #2133,
PR #2265,
PR #2097,
PR #2268.
rdflib.query.PR #2265.
rdflib.parserandrdflib.plugins.parsers.*.PR #2232.
rdflib.exceptions.PR #2232
rdflib.shared.jsonld.*.PR #2232.
rdflib.collection.PR #2263.
rdflib.util.PR #2262.
rdflib.path.PR #2261.
Removed pre python 3.7 compatibility code.
PR #2066.
shutilmodule does not have themovefunction.
Improve file-URI and path handling in
Graph.serializeandResult.serializetoaddress problems with windows path handling in
Result.serializeand to makethe behavior between
Graph.serializeandResult.serialiemore consistent.Closed issue #2067.
PR #2065.
destinationargument will now only be treated asfile URIs if
urllib.parse.urlparsereturns their schema asfile.Narrow the type of context-identifiers/graph-names from
rdflib.term.Nodetordflib.term.IdentifiedNodeas no supported abstract syntax allows for othertypes of context-identifiers.
PR #2069.
Always parse HexTuple files as utf-8.
PR #2070.
Fixed handling of
Literaldatatypeto correctly differentiate betweenblank string values and undefined values, also changed the datatype of
rdflib.term.Literal.datatypefromOptional[str]toOptional[URIRef]nowthat all non-
URIRefstrvalues will be converted toURIRef.PR #2076.
Fixed the generation of VALUES block for federated queries.
The values block was including non-variable values like BNodes which resulted
in invalid queries. Closed issue #2079.
PR #2084.
Only register the
rdflib.plugins.stores.berkeleydb.BerkeleyDBas a storeplugin if the
berkeleydbmodule is present.Closed issue #1816.
PR #2096.
Fixed serialization of BNodes in TriG.
The TriG serializer was only considering BNode references inside a single
graph and not counting the BNodes subjects as references when considering if a
BNode should be serialized as unlabeled blank nodes (i.e.
[ ]), and as aresult it was serializing BNodes as unlabeled if they were in fact referencing
BNodes in other graphs.
PR #2085.
Deprecated
rdflib.path.evalPathin favor ofrdflib.path.eval_pathwhich isPEP-8 compliant. PR #2046
Added
charset=UTF-8to theContent-Typeheader sent when doing an updatewith
SPARQLConnector. Closed issue#2095. PR
#2112.
Removed the
rdflib.plugins.sparql.parserutils.plistclass as it served nodiscernible purpose. PR #2143
Changed the TriG serializer to not generate prefixes for empty graph IDs.
Closed issue #2154.
PR #2160.
Fixed handling of relative context files in the JSON-LD parser.
Closed issue #2164.
PR #2165.
Improved failure handling in when computing QName for an unbound namespace.
PR #2169.
Fixed a typo in the default bound namespace for
DCTERMS.PR #2173.
Add support for supplying a custom namespace manager to
n3()methods.PR #2174.
Fixed the query string parameters for
SPARQLConnectorwhen using POST method.PR #2180.
Fixed extra keyword argument and header handling in
SPARQLConnectorthatresulted in headers from
SPARQLConnector.updatepolluting headers fromSPARQLConnector.queryvice versa.PR #2183
Added version restrictions for dependencies.
PR #2187
Switch to using
importlibfor getting the version of RDFLib instead ofhard-coding it in
__version__.PR #2187.
Removed non-runtime extras, for building documentation, running tests and
other development operations the versions and dependencies are now
managed with Poetry.
PR #2187.
Fixed a bug that occurred when
VALUESwas used outside aGROUP BYclause.PR #2188.
Fixed a bug that occurred when using
SELECT *inside anotherSELECT *.Closed issue #1722.
PR #2190.
Added SPARQL DESCRIBE query implementation.
Closes issue #479.
PR #2221.
Fixed a bug in
rdflib.tools.defined_namespace_creatorthat occurred whenmultiple
rdfs:commentwere present on one resource.PR #2254.
Fixed
rdflib.util._iri2uri()to not quote thenetlocparameter.PR #2255.
Fixed the HexTuple parser's handling of input sources to works for more input sources.
PR #2255.
Fixed the creation of input source objects from IO stream sources.
PR #2255.
Eliminated the use of the deprecated
rdflib.path.evalPathfunction.PR #2266
Added documentation for security considerations and available mitigations.
Closed issue #1844.
PR #2267.
PRs merged since last release
PR #2269
rdflib.plugins.sparqlPR #2268
rdflib.path.evalPathPR #2266
PR #2265
PR #2264
rdflib.collectionPR #2263
rdflib.utilPR #2262
rdflib.pathPR #2261
PR #2260
PR #2259
PR #2255
PR #2254
PR #2232
PR #2231
PR #2221
PR #2209
SELECT *insideSELECT *bugPR #2190
PR #2188
PR #2187
PR #2186
PR #2183
PR #2180
PR #2178
PR #2174
PR #2173
PR #2169
PR #2165
PR #2163
PR #2162
PR #2161
PR #2160
PR #2143
service_queryto_buildQueryStringForServiceCallinstead of aMatchPR #2134
PR #2133
PR #2129
PR #2127
PR #2126
PR #2119
PR #2116
PR #2112
PR #2107
mainPR #2101
PR #2100
rdflib.queryand relatedPR #2097
PR #2096
rdflib.plugins.sparql.{algebra,operators}PR #2094
exclude_linesfor coveragePR #2093
PR #2092
PR #2091
PR #2089
PR #2087
PR #2085
PR #2084
PR #2082
PR #2080
PR #2076
unittestbased tests topytestPR #2075
PR #2074
PR #2073
PR #2070
NodetoIdentifiedNodePR #2069
PR #2068
PR #2066
{Graph,Result}.serializePR #2065
PR #2064
test/test_sparql/test_sparql_parser.pyto pytestPR #2063
test/test_sparql/test_construct_bindings.pyto pytestPR #2062
test/test_parsers/test_nquads.pyto pytestPR #2061
test/test_namespace/test_namespace.pyto pytestPR #2060
PR #2058
rdflib.storeandrdflib.plugins.storesPR #2057
PR #2046
PR #2045
PR #2044
PR #2042
PR #2041
PR #2040
PR #2037
PR #2036
PR #2034
PR #2033
PR #2032
PR #2031
PR #2024
PR #1968
This discussion was created from the release RDFlib 6.3.0.
Beta Was this translation helpful? Give feedback.
All reactions