Skip to content

Commit 6780d3a

Browse files
committed
Release version 0.61.1
1 parent 65bacc2 commit 6780d3a

File tree

2 files changed

+37
-2
lines changed

2 files changed

+37
-2
lines changed

CHANGES.rst

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,44 @@
11
Changelog
22
=========
33

4-
0.61.0 (2026-01-12)
4+
0.61.1 (2026-01-13)
55
-------------------
66
------------------------
7+
- Refactor test fixtures to use shared create_args helper. [Rodos]
8+
9+
Uses the real parse_args() function to get CLI defaults, so when
10+
new arguments are added they're automatically available to all tests.
11+
12+
Changes:
13+
- Add tests/conftest.py with create_args fixture
14+
- Update 8 test files to use shared fixture
15+
- Remove duplicate _create_mock_args methods
16+
- Remove redundant @pytest.fixture mock_args definitions
17+
18+
This eliminates the need to update multiple test files when
19+
adding new CLI arguments.
20+
- Fix fine-grained PAT attachment downloads for private repos (#477)
21+
[Rodos]
22+
23+
Fine-grained personal access tokens cannot download attachments from
24+
private repositories directly due to a GitHub platform limitation.
25+
26+
This adds a workaround for image attachments (/assets/ URLs) using
27+
GitHub's Markdown API to convert URLs to JWT-signed URLs that can be
28+
downloaded without authentication.
29+
30+
Changes:
31+
- Add get_jwt_signed_url_via_markdown_api() function
32+
- Detect fine-grained token + private repo + /assets/ URL upfront
33+
- Use JWT workaround for those cases, mark success with jwt_workaround flag
34+
- Skip download with skipped_at when workaround fails
35+
- Add startup warning when using --attachments with fine-grained tokens
36+
- Document limitation in README (file attachments still fail)
37+
- Add 6 unit tests for JWT workaround logic
38+
39+
40+
0.61.0 (2026-01-12)
41+
-------------------
742
- Docs: Add missing `--retries` argument to README. [Lukas Bestle]
843
- Test: Adapt tests to new argument. [Lukas Bestle]
944
- Feat: Backup of repository security advisories. [Lukas Bestle]

github_backup/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.61.0"
1+
__version__ = "0.61.1"

0 commit comments

Comments
 (0)