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
-
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
NamespaceManager
inConjunctiveGraph
's methodget_context()
.The
get_context()
method will now pass theNamespaceManager
ofConjunctiveGraph
to thenamespace_manager
attribute of the newly created context graph, instead of theConjunctiveGraph
object itself. This cleans up an oldFIXME
comment.PR #2073.
InfixOWL fixes and cleanup.
Closed issue #2030.
PR #2024,
and PR #2033.
rdflib.extras.infixowl.Restriction.__init__
will now raise aValueError
if there is no restriction value instead of an
AssertionError
.rdflib.extras.infixowl.Restriction.restrictionKind
which 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.MalformedClassError
which 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.handler
inrdflib.plugins.parsers.trix
so 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.
TextIO
streams now work correctly with
lxml
installed and with XML documents thatare not
utf-8
encoded.<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.parser
andrdflib.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.
shutil
module does not have themove
function.
Improve file-URI and path handling in
Graph.serialize
andResult.serialize
toaddress problems with windows path handling in
Result.serialize
and to makethe behavior between
Graph.serialize
andResult.serialie
more consistent.Closed issue #2067.
PR #2065.
destination
argument will now only be treated asfile URIs if
urllib.parse.urlparse
returns their schema asfile
.Narrow the type of context-identifiers/graph-names from
rdflib.term.Node
tordflib.term.IdentifiedNode
as no supported abstract syntax allows for othertypes of context-identifiers.
PR #2069.
Always parse HexTuple files as utf-8.
PR #2070.
Fixed handling of
Literal
datatype
to correctly differentiate betweenblank string values and undefined values, also changed the datatype of
rdflib.term.Literal.datatype
fromOptional[str]
toOptional[URIRef]
nowthat all non-
URIRef
str
values 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.BerkeleyDB
as a storeplugin if the
berkeleydb
module 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.evalPath
in favor ofrdflib.path.eval_path
which isPEP-8 compliant. PR #2046
Added
charset=UTF-8
to theContent-Type
header sent when doing an updatewith
SPARQLConnector
. Closed issue#2095. PR
#2112.
Removed the
rdflib.plugins.sparql.parserutils.plist
class 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
SPARQLConnector
when using POST method.PR #2180.
Fixed extra keyword argument and header handling in
SPARQLConnector
thatresulted in headers from
SPARQLConnector.update
polluting headers fromSPARQLConnector.query
vice versa.PR #2183
Added version restrictions for dependencies.
PR #2187
Switch to using
importlib
for 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
VALUES
was used outside aGROUP BY
clause.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_creator
that occurred whenmultiple
rdfs:comment
were present on one resource.PR #2254.
Fixed
rdflib.util._iri2uri()
to not quote thenetloc
parameter.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.evalPath
function.PR #2266
Added documentation for security considerations and available mitigations.
Closed issue #1844.
PR #2267.
PRs merged since last release
PR #2269
rdflib.plugins.sparql
PR #2268
rdflib.path.evalPath
PR #2266
PR #2265
PR #2264
rdflib.collection
PR #2263
rdflib.util
PR #2262
rdflib.path
PR #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_query
to_buildQueryStringForServiceCall
instead of aMatch
PR #2134
PR #2133
PR #2129
PR #2127
PR #2126
PR #2119
PR #2116
PR #2112
PR #2107
main
PR #2101
PR #2100
rdflib.query
and relatedPR #2097
PR #2096
rdflib.plugins.sparql.{algebra,operators}
PR #2094
exclude_lines
for coveragePR #2093
PR #2092
PR #2091
PR #2089
PR #2087
PR #2085
PR #2084
PR #2082
PR #2080
PR #2076
unittest
based tests topytest
PR #2075
PR #2074
PR #2073
PR #2070
Node
toIdentifiedNode
PR #2069
PR #2068
PR #2066
{Graph,Result}.serialize
PR #2065
PR #2064
test/test_sparql/test_sparql_parser.py
to pytestPR #2063
test/test_sparql/test_construct_bindings.py
to pytestPR #2062
test/test_parsers/test_nquads.py
to pytestPR #2061
test/test_namespace/test_namespace.py
to pytestPR #2060
PR #2058
rdflib.store
andrdflib.plugins.stores
PR #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