From 509afe83e453a54fa21a06cf332f9a9094250804 Mon Sep 17 00:00:00 2001 From: Dorian Lesbre Date: Sun, 27 Oct 2024 15:13:14 +0100 Subject: [PATCH] Update version number --- CHANGELOG.md | 10 ++++++---- CITATION.cff | 6 +++--- Dockerfile | 9 --------- bibtexautocomplete/utils/constants.py | 6 +++--- 4 files changed, 12 insertions(+), 19 deletions(-) delete mode 100644 Dockerfile diff --git a/CHANGELOG.md b/CHANGELOG.md index ce4a251..3dcb601 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,17 @@ # Change Log -## Version ?.?.? - Unreleased +## Version 1.4.0 - 2024-10-27 - Add command-line tab completion for flags and some choices (field names) - Simplify and documents ways to call this script from python - Fix 404 warnings on DOI not found for crossref - Add `--sf --start-from` flag and clarify message shown on interrupt, plus show instructions on how to resume. Also display a hint that BTAC can be interrupted - after 5 minutes if less than half of all entries are completed. -- Progress bar now only show the number of completed entries, not queries (issue - [#19](https://github.com/dlesbre/bibtex-autocomplete/issues/19)) + after 5 minutes if less than half of all entries are completed (issue + [#18](https://github.com/dlesbre/bibtex-autocomplete/issues/18)). +- Progress bar now only show the number of completed entries, not queries + (discussion [#17](https://github.com/dlesbre/bibtex-autocomplete/discussions/17) + and issue [#19](https://github.com/dlesbre/bibtex-autocomplete/issues/19)) - Skip queries to sources if they lag behind (>=10 queries remain or >=60s delay between queries) when 2/3rds of the other sources have completed. This avoids having a single source slow down btac considerably. Add the diff --git a/CITATION.cff b/CITATION.cff index 626ca7c..c267b92 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -5,7 +5,7 @@ authors: given-names: "Dorian" orcid: "https://orcid.org/0000-0002-4328-6753" title: "Bibtex autocomplete" -version: 1.3.0 -doi: 10.5281/zenodo.10621834 -date-released: 2024-02-05 +version: 1.4.0 +doi: 10.5281/zenodo.13998418 +date-released: 2024-10-27 url: "https://github.com/dlesbre/bibtex-autocomplete" diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 87d31b5..0000000 --- a/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -# Docker file to check for compatibility with old python versions - -FROM python:3.8-slim - -WORKDIR /usr/src/app - -COPY . . -RUN pip install . && pip install pytest -CMD bash diff --git a/bibtexautocomplete/utils/constants.py b/bibtexautocomplete/utils/constants.py index 2620bf9..cfbb256 100644 --- a/bibtexautocomplete/utils/constants.py +++ b/bibtexautocomplete/utils/constants.py @@ -14,10 +14,10 @@ DESCRIPTION = "Script to autocomplete bibtex files by polling online databases" VERSION_MAJOR = 1 -VERSION_MINOR = 3 -VERSION_PATCH = 3 +VERSION_MINOR = 4 +VERSION_PATCH = 0 -VERSION_DATE = "2024-08-07" +VERSION_DATE = "2024-10-27" VERSION = (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH) VERSION_STR = f"{VERSION_MAJOR}.{VERSION_MINOR}.{VERSION_PATCH}"