|
1 | 1 | Changelog |
2 | 2 | ========= |
3 | 3 |
|
4 | | -0.61.0 (2026-01-12) |
| 4 | +0.61.1 (2026-01-13) |
5 | 5 | ------------------- |
6 | 6 | ------------------------ |
| 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 | +------------------- |
7 | 42 | - Docs: Add missing `--retries` argument to README. [Lukas Bestle] |
8 | 43 | - Test: Adapt tests to new argument. [Lukas Bestle] |
9 | 44 | - Feat: Backup of repository security advisories. [Lukas Bestle] |
|
0 commit comments