diff --git a/CHANGELOG.md b/CHANGELOG.md index ec476ea39..798dabfd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,65 +1,27 @@ -# 2022-10-16 RELEASE MAJOR.MINOR.PATCH +# 2023-03-16 RELEASE 6.3.0 -## 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. - - +## Important Information - +- RDFLib will drop support for Python 3.7 when it becomes EOL on 2023-06-27, + 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](https://github.com/RDFLib/rdflib/pull/1968). - - - - - - - - - - - - - Fixes passing `NamespaceManager` in `ConjunctiveGraph`'s method `get_context()`. - The `get_context()` method will now pass the `NamespaceManager` of `ConjunctiveGraph` to the `namespace_manager` attribute of the newly created context graph, instead of the `ConjunctiveGraph` object itself. This cleans up an old FIXME commment. + The `get_context()` method will now pass the `NamespaceManager` of `ConjunctiveGraph` to the `namespace_manager` attribute of the newly created context graph, instead of the `ConjunctiveGraph` object itself. This cleans up an old `FIXME` comment. [PR #2073](https://github.com/RDFLib/rdflib/pull/2073). - - - - - - - - - - - - - InfixOWL fixes and cleanup. Closed [issue #2030](https://github.com/RDFLib/rdflib/issues/2030). [PR #2024](https://github.com/RDFLib/rdflib/pull/2024), @@ -79,67 +41,18 @@ and will be removed for release. major version. - Eliminated the use of mutable data structures in some argument defaults. - - - - - - - - - - - - - Fixed some cross-referencing issues in RDFLib documentation. Closed [issue #1878](https://github.com/RDFLib/rdflib/issues/1878). [PR #2036](https://github.com/RDFLib/rdflib/pull/2036). - - - - - - - - - - - - - Fixed import of `xml.sax.handler` in `rdflib.plugins.parsers.trix` so that it no longer tries to import it from `xml.sax.saxutils`. [PR #2041](https://github.com/RDFLib/rdflib/pull/2041). - - - - - - - - - - - - - Removed a pre python 3.5 regex related workaround in the REPLACE SPARQL function. [PR #2042](https://github.com/RDFLib/rdflib/pull/2042). - - - - - - - - - - - - - - Fixed some issues with SPARQL XML result parsing that caused problems with [`lxml`](https://lxml.de/). Closed [issue #2035](https://github.com/RDFLib/rdflib/issues/2035), [issue #1847](https://github.com/RDFLib/rdflib/issues/1847). @@ -152,173 +65,70 @@ and will be removed for release. - Elements inside `` that are not `` are now ignored. - Also added type hints to `rdflib.plugins.sparql.results.xmlresults`. - - - - - - - - - - - - - -- Added type hints. - - `rdflib.store` and builtin stores have mostly complete type hints. - [PR #2057](https://github.com/RDFLib/rdflib/pull/2057). - - `rdflib.graph` have mostly complete type hints. +- Added type hints to the following modules: + - `rdflib.store`. + [PR #2057](https://github.com/RDFLib/rdflib/pull/2057). + - `rdflib.graph`. [PR #2080](https://github.com/RDFLib/rdflib/pull/2080). - - `rdflib.plugins.sparql.algebra` and `rdflib.plugins.sparql.operators` have - mostly complete type hints. - [PR #2094](https://github.com/RDFLib/rdflib/pull/2094). - - `rdflib.query` and `rdflib.plugins.sparql.results.*` have mostly complete - type hints. - [PR #2097](https://github.com/RDFLib/rdflib/pull/2097). - - - - - - - - - - - - - - + - `rdflib.plugins.sparql.*`. + [PR #2094](https://github.com/RDFLib/rdflib/pull/2094), + [PR #2133](https://github.com/RDFLib/rdflib/pull/2133), + [PR #2265](https://github.com/RDFLib/rdflib/pull/2265), + [PR #2097](https://github.com/RDFLib/rdflib/pull/2097), + [PR #2268](https://github.com/RDFLib/rdflib/pull/2268). + - `rdflib.query`. + [PR #2265](https://github.com/RDFLib/rdflib/pull/2265). + - `rdflib.parser` and `rdflib.plugins.parsers.*`. + [PR #2232](https://github.com/RDFLib/rdflib/pull/2232). + - `rdflib.exceptions`. + [PR #2232](https://github.com/RDFLib/rdflib/pull/2232) + - `rdflib.shared.jsonld.*`. + [PR #2232](https://github.com/RDFLib/rdflib/pull/2232). + - `rdflib.collection`. + [PR #2263](https://github.com/RDFLib/rdflib/pull/2263). + - `rdflib.util`. + [PR #2262](https://github.com/RDFLib/rdflib/pull/2262). + - `rdflib.path`. + [PR #2261](https://github.com/RDFLib/rdflib/pull/2261). + - Removed pre python 3.7 compatibility code. [PR #2066](https://github.com/RDFLib/rdflib/pull/2066). - Removed fallback in case the `shutil` module does not have the `move` function. - - - - - - - - - - - - - - Improve file-URI and path handling in `Graph.serialize` and `Result.serialize` to address problems with windows path handling in `Result.serialize` and to make the behavior between `Graph.serialize` and `Result.serialie` more consistent. Closed [issue #2067](https://github.com/RDFLib/rdflib/issues/2067). - [PR #2068](https://github.com/RDFLib/rdflib/pull/2068). + [PR #2065](https://github.com/RDFLib/rdflib/pull/2065). - String values for the `destination` argument will now only be treated as file URIs if `urllib.parse.urlparse` returns their schema as `file`. - Simplified file writing to avoid a temporary file. - - - - - - - - - - - - - - Narrow the type of context-identifiers/graph-names from `rdflib.term.Node` to `rdflib.term.IdentifiedNode` as no supported abstract syntax allows for other types of context-identifiers. [PR #2069](https://github.com/RDFLib/rdflib/pull/2069). - - - - - - - - - - - - - - Always parse HexTuple files as utf-8. [PR #2070](https://github.com/RDFLib/rdflib/pull/2070). - - - - - - - - - - - - - - Fixed handling of `Literal` `datatype` to correctly differentiate between blank string values and undefined values, also changed the datatype of `rdflib.term.Literal.datatype` from `Optional[str]` to `Optional[URIRef]` now that all non-`URIRef` `str` values will be converted to `URIRef`. [PR #2076](https://github.com/RDFLib/rdflib/pull/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. - [PR #2079](https://github.com/RDFLib/rdflib/pull/2079). - - - - - - - - - - - - - + in invalid queries. Closed [issue #2079](https://github.com/RDFLib/rdflib/issues/2079). + [PR #2084](https://github.com/RDFLib/rdflib/pull/2084). - Only register the `rdflib.plugins.stores.berkeleydb.BerkeleyDB` as a store plugin if the `berkeleydb` module is present. Closed [issue #1816](https://github.com/RDFLib/rdflib/issues/1816). [PR #2096](https://github.com/RDFLib/rdflib/pull/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 @@ -327,38 +137,258 @@ and will be removed for release. BNodes in other graphs. [PR #2085](https://github.com/RDFLib/rdflib/pull/2085). - - - - - - - - - - - - -- PLACEHOLDER. - Description of changes. - Closed [issue #....](https://github.com/RDFLib/rdflib/issues/). - [PR #....](https://ichard26.github.io/next-pr-number/?owner=RDFLib&name=rdflib). - - - - - - +- Deprecated `rdflib.path.evalPath` in favor of `rdflib.path.eval_path` which is + PEP-8 compliant. [PR #2046](https://github.com/RDFLib/rdflib/pull/2046) -## PRs merged since last release +- Added `charset=UTF-8` to the `Content-Type` header sent when doing an update + with `SPARQLConnector`. Closed [issue + #2095](https://github.com/RDFLib/rdflib/issues/2095). [PR + #2112](https://github.com/RDFLib/rdflib/pull/2112). + +- Removed the `rdflib.plugins.sparql.parserutils.plist` class as it served no + discernible purpose. [PR #2143](https://github.com/RDFLib/rdflib/pull/2143) + +- Changed the TriG serializer to not generate prefixes for empty graph IDs. + Closed [issue #2154](https://github.com/RDFLib/rdflib/issues/2154). + [PR #2160](https://github.com/RDFLib/rdflib/pull/2160). + +- Fixed handling of relative context files in the JSON-LD parser. + Closed [issue #2164](https://github.com/RDFLib/rdflib/issues/2164). + [PR #2165](https://github.com/RDFLib/rdflib/pull/2165). - # 2022-07-16 RELEASE 6.2.0 diff --git a/LICENSE b/LICENSE index 06c82bb32..26039b46f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2002-2022, RDFLib Team +Copyright (c) 2002-2023, RDFLib Team All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.md b/README.md index 605998318..49c63ac8a 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Help with maintenance of all of the RDFLib family of packages is always welcome ## Versions & Releases -* `6.3.0a0` current `main` branch +* `6.4.0a0` current `main` branch * `6.x.y` current release and support Python 3.7+ only. Many improvements over 5.0.0 * see [Releases](https://github.com/RDFLib/rdflib/releases) * `5.x.y` supports Python 2.7 and 3.4+ and is [mostly backwards compatible with 4.2.2](https://rdflib.readthedocs.io/en/stable/upgrade4to5.html). @@ -61,7 +61,7 @@ The stable release of RDFLib may be installed with Python's package management t Alternatively manually download the package from the Python Package Index (PyPI) at https://pypi.python.org/pypi/rdflib -The current version of RDFLib is 6.2.0, see the ``CHANGELOG.md`` file for what's new in this release. +The current version of RDFLib is 6.3.0, see the ``CHANGELOG.md`` file for what's new in this release. ### Installation of the current main branch (for developers) diff --git a/docs/conf.py b/docs/conf.py index 3068cc123..40ef87a1e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -79,7 +79,7 @@ # General information about the project. project = "rdflib" -copyright = "2009 - 2022, RDFLib Team" +copyright = "2009 - 2023, RDFLib Team" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/pyproject.toml b/pyproject.toml index 24be1293f..11f76e5eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "rdflib" -version = "6.3.0a0" +version = "6.3.0" description = """RDFLib is a Python library for working with RDF, \ a simple yet powerful language for representing information.""" authors = ["Daniel 'eikeon' Krech "] diff --git a/rdflib/__init__.py b/rdflib/__init__.py index 45648456f..ebf1344c8 100644 --- a/rdflib/__init__.py +++ b/rdflib/__init__.py @@ -56,7 +56,7 @@ __docformat__ = "restructuredtext en" __version__: str = _DISTRIBUTION_METADATA["Version"] -__date__ = "2022-12-20" +__date__ = "2023-03-16" __all__ = [ "URIRef",