Merge branch 'develop' into feature/parallel-downloads

This commit is contained in:
AlexKucera committed 2026-06-04 11:04:19 +02:00
commit 44fc544a3e
22 files changed
+1051 -113

No files matched your search

+25 -1
View File
@@ -5,7 +5,31 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [1.1.0] - 2026-06-04
### Added
- **config (closes #22):** XDG config path resolution with CWD fallback.
`_resolve_config_file()` searches `~/.config/librofm-downloader/` then CWD.
`load_config(None, None)` triggers search; missing config.yaml is non-fatal
(prints notice, uses built-in defaults); missing secrets.yaml raises
domain error listing searched paths. All OS exceptions wrapped as
`ConfigError`. XDG directory auto-created on demand.
- **cli (closes #23):** Wire XDG path resolution into CLI layer.
History path defaults to `None` (resolves XDG → CWD, falls back to XDG
location). Missing config message now lists searched paths. `--verbose`
shows resolved file paths for config, secrets, and history. Explicit
`--config`/`--secrets`/`--history` flags bypass search. Clean exit 1
with no traceback when secrets missing from all locations.
### Documentation
- **docs (closes #24):** Update all documentation for XDG path resolution.
configuration.md: new "Default file locations" section with search order,
auto-creation, missing-config vs missing-secrets behavior, CLI flag
overrides, validation error table with "not found" messages, and
history default location. quickstart.md, cli-usage.md, troubleshooting.md,
and README.md updated to reference XDG-first search.
## [1.0.0] - 2026-06-03
### Fixed