Skip to content

Commit 35fea3c

Browse files
author
Gerit Wagner
committed
release 0.16.0
1 parent 9360e48 commit 35fea3c

20 files changed

Lines changed: 66 additions & 25 deletions

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0).
1717
### Fixed
1818
-->
1919

20+
## 0.16.0 - 2026-01-28
21+
22+
### Added
23+
24+
- tei-parser: add iter_paragraphs()
25+
- prescreen-cli (entrypoint1)
26+
27+
### Changed
28+
29+
- loader/bib: allow keys with :/+
30+
- Dependency update: search-query 0.14.1 and bib-dedupe 0.11.0
31+
- dblp: handle timeout gracefully
32+
- package --check: test whether colrev loads the package
33+
- search-api-feed: add ENTRYTYPE if missing
34+
- pdf-prep and unpaywall: handle pymupdf.FileDataError
35+
- package-manager: install packages individually
36+
- crossref: ignore NA/UNKNOWN in url generation
37+
- Dataset: lazy-load git-repo
38+
- github: export more fields
39+
2040
## 0.15.0 - 2025-10-24
2141

2242
### Added

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ authors:
88
given-names: "Julian"
99
orcid: "https://orcid.org/0000-0003-2682-8036"
1010
title: "CoLRev: An open-source environment for collaborative reviews"
11-
version: 0.14.0
11+
version: 0.16.0
1212
identifiers:
1313
- type: doi
1414
value: 10.5281/zenodo.7707481
15-
date-released: 2025-02-21
15+
date-released: 2026-01-28
1616
url: "https://github.com/CoLRev-Environment/colrev"

colrev/dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def __init__(self, *, review_manager: colrev.review_manager.ReviewManager) -> No
3131

3232
@cached_property
3333
def git_repo(self) -> GitRepo:
34+
"""Get the GitRepo object for the review_manager path"""
3435
return GitRepo(path=self.review_manager.path)
3536

3637
def get_origin_state_dict(self, records_string: str = "") -> dict:

colrev/env/tei_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def is_in_excluded_section(p_elem: Element) -> bool:
641641
continue
642642

643643
# Collect all text inside <p>, including nested tags like <ref>, <hi>, etc.
644-
text_chunks = [t for t in p.itertext()]
644+
text_chunks = list(p.itertext())
645645
paragraph_text = " ".join(text_chunks)
646646
paragraph_text = " ".join(paragraph_text.split()) # normalize whitespace
647647

colrev/ops/dedupe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def same_source_merge(
2828
main_record: colrev.record.record.Record,
2929
dupe_record: colrev.record.record.Record,
3030
) -> bool:
31+
"""Same source merge check"""
3132
main_rec_sources = [x.split("/")[0] for x in main_record.data[Fields.ORIGIN]]
3233
dupe_rec_sources = [x.split("/")[0] for x in dupe_record.data[Fields.ORIGIN]]
3334
same_sources = set(main_rec_sources).intersection(set(dupe_rec_sources))

colrev/ops/pdf_get.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def relink_pdfs_in_source(
3131
pdf_dir: Path,
3232
logger: logging.Logger,
3333
) -> None:
34+
"""Relink PDFs in the given source based on CPIDs"""
3435

3536
# pylint: disable=too-many-locals
3637

colrev/ops/upgrade.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,12 @@ def main(self) -> None:
215215
"script": self._migrate_0_15_0,
216216
"released": True,
217217
},
218+
{
219+
"version": CoLRevVersion("0.15.0"),
220+
"target_version": CoLRevVersion("0.16.0"),
221+
"script": self._migrate_0_16_0,
222+
"released": True,
223+
},
218224
]
219225
self.review_manager.logger.info(
220226
"Colrev version installed: %s", installed_colrev_version
@@ -928,6 +934,9 @@ def _migrate_0_15_0(self) -> bool:
928934

929935
return self.repo.is_dirty()
930936

937+
def _migrate_0_16_0(self) -> bool:
938+
return False
939+
931940

932941
# Note: we can ask users to make decisions (when defaults are not clear)
933942
# via input() or simply cancel the process (raise a CoLrevException)

docs/source/manual/packages/colrev.colrev_cli_prescreen.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,12 @@ prescreen
5555
---------
5656

5757
Interactively prescreen records using the CLI.
58+
59+
Prescreening BibTex
60+
-------------------
61+
62+
The following cli tool supports pre-screening outside of CoLRev projects:
63+
64+
.. code-block:: sh
65+
66+
colrev-cli-prescreen

docs/source/manual/packages/colrev.ebsco_host.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ search
5757
DB search
5858
^^^^^^^^^
5959

60-
Export is available after adding citations to a folder (\ `1 <https://connect.ebsco.com/s/article/How-to-Use-the-Export-Manager-in-EBSCOhost?language=en_US>`_\ ).
60+
Export is available after adding citations to a folder (\ `1 <https://connect.ebsco.com/s/article/How-to-Use-the-Export-Manager?language=en_US>`_\ ).
6161
Download search results and store in ``data/search/`` directory. API-access not yet available.
6262

6363
Links
6464
-----
6565

6666

67-
* `EBSCOHost <https://www.ebsco.com/products/research-databases/ebscohost-research-platform>`_
67+
* `EBSCOHost <https://search.ebscohost.com/>`_
6868
* `EBSCOHost APIs <https://developer.ebsco.com/getting-started/available-apis>`_

docs/source/manual/packages/colrev.genai.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ To set the open-AI key, run
8080
8181
export OPENAI_API_KEY="your_api_key_here"
8282
83-
For a permanent configuration, append the ``export`` statement to your shell
84-
profile (for example ``~/.bashrc``) and reload it using
85-
``source ~/.bashrc`` so the key is available in future sessions.
83+
To keep the key available in future shell sessions, append the ``export`` line
84+
to your shell profile (for example ``~/.bashrc``\ ) and reload it with
85+
``source ~/.bashrc``.
8686

8787
prescreen
8888
---------

0 commit comments

Comments
 (0)