Skip to content

Commit 5aa71ed

Browse files
committed
Release v5.2.1
1 parent 7f1a254 commit 5aa71ed

File tree

5 files changed

+21
-6
lines changed

5 files changed

+21
-6
lines changed

CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88

99

10+
## [5.2.1] - 2024-10-30
11+
12+
Pypi: https://pypi.org/project/cobib/5.2.1/
13+
14+
### Fixed
15+
16+
- compatibility with `textual>=0.80`
17+
18+
1019
## [5.2.0] - 2024-10-30
1120

1221
Pypi: https://pypi.org/project/cobib/5.2.0/
@@ -1106,7 +1115,8 @@ Note: this release was not marked MAJOR because this is still a WIP and early
11061115
- initial version with a basic `sqlite3`-based database
11071116

11081117

1109-
[Unreleased]: https://gitlab.com/cobib/cobib/-/compare/v5.2.0...master
1118+
[Unreleased]: https://gitlab.com/cobib/cobib/-/compare/v5.2.1...master
1119+
[5.2.1]: https://gitlab.com/cobib/cobib/-/tags/v5.2.1
11101120
[5.2.0]: https://gitlab.com/cobib/cobib/-/tags/v5.2.0
11111121
[5.1.3]: https://gitlab.com/cobib/cobib/-/tags/v5.1.3
11121122
[5.1.2]: https://gitlab.com/cobib/cobib/-/tags/v5.1.2

cobib.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH COBIB 1 2024-10-30 v5.2.0
1+
.TH COBIB 1 2024-10-30 v5.2.1
22
.SH NAME
33
coBib \- Console-based Bibliography Management
44
.SH SYNOPSIS

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ requests
66
requests_oauthlib
77
rich
88
ruamel.yaml
9-
textual>=0.77
9+
textual>=0.80
1010
typing_extensions
1111
text-unidecode

src/cobib/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import subprocess
77
from pathlib import Path
88

9-
__version__ = "5.2.0"
9+
__version__ = "5.2.1"
1010

1111
if (Path(__file__).parent.parent.parent / ".git").exists():
1212
# if installed from source, append HEAD commit SHA to version info as metadata

src/cobib/ui/components/selection_filter.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@
2020
class SelectionFilter(LineFilter):
2121
"""coBib's selection filter."""
2222

23-
def __init__(self) -> None:
24-
"""Initializes the filter."""
23+
def __init__(self, enabled: bool = True) -> None:
24+
"""Initializes the filter.
25+
26+
Args:
27+
enabled: whether the filter will be applied.
28+
"""
29+
super().__init__(enabled)
2530
self.active: bool = False
2631
"""Indicates whether the filter is active, i.e. the selection is not empty."""
2732
self.selection: set[str] = set()

0 commit comments

Comments
 (0)