docs: update CHANGELOG and README for v0.2.29 upstream auth

This commit is contained in:
2026-03-15 21:50:14 +00:00
parent 53884e143b
commit 769f5fb01d
2 changed files with 29 additions and 0 deletions

View File

@@ -4,6 +4,28 @@ All notable changes to NORA will be documented in this file.
--- ---
## [0.2.29] - 2026-03-15
### Added / Добавлено
- **Upstream Authentication**: All registry proxies now support Basic Auth credentials for private upstream registries
- **Аутентификация upstream**: Все прокси реестров теперь поддерживают Basic Auth для приватных upstream-реестров
- Docker: `NORA_DOCKER_UPSTREAMS="https://registry.corp.com|user:pass"`
- Maven: `NORA_MAVEN_PROXIES="https://nexus.corp.com/maven2|user:pass"`
- npm: `NORA_NPM_PROXY_AUTH="user:pass"`
- PyPI: `NORA_PYPI_PROXY_AUTH="user:pass"`
- **Plaintext credential warning**: NORA logs a warning at startup if credentials are stored in config.toml instead of env vars
- **Предупреждение о plaintext credentials**: NORA логирует предупреждение при старте, если credentials хранятся в config.toml вместо переменных окружения
### Changed / Изменено
- Extracted `basic_auth_header()` helper for consistent auth across all protocols
- Вынесен хелпер `basic_auth_header()` для единообразной авторизации всех протоколов
### Removed / Удалено
- Removed unused `DockerAuth::fetch_with_auth()` method (dead code cleanup)
- Удалён неиспользуемый метод `DockerAuth::fetch_with_auth()` (очистка мёртвого кода)
---
## [0.2.28] - 2026-03-13 ## [0.2.28] - 2026-03-13
### Fixed / Исправлено ### Fixed / Исправлено

View File

@@ -173,6 +173,13 @@ nora migrate --from local --to s3
| `NORA_RATE_LIMIT_GENERAL_BURST` | 200 | General burst size | | `NORA_RATE_LIMIT_GENERAL_BURST` | 200 | General burst size |
| `NORA_SECRETS_PROVIDER` | env | Secrets provider (`env`) | | `NORA_SECRETS_PROVIDER` | env | Secrets provider (`env`) |
| `NORA_SECRETS_CLEAR_ENV` | false | Clear env vars after reading | | `NORA_SECRETS_CLEAR_ENV` | false | Clear env vars after reading |
| `NORA_DOCKER_UPSTREAMS` | `https://registry-1.docker.io` | Docker upstreams (`url\|user:pass,...`) |
| `NORA_DOCKER_PROXY_TIMEOUT` | 60 | Docker upstream timeout (seconds) |
| `NORA_MAVEN_PROXIES` | `https://repo1.maven.org/maven2` | Maven upstreams (`url\|user:pass,...`) |
| `NORA_NPM_PROXY` | `https://registry.npmjs.org` | npm upstream URL |
| `NORA_NPM_PROXY_AUTH` | - | npm upstream auth (`user:pass`) |
| `NORA_PYPI_PROXY` | `https://pypi.org/simple/` | PyPI upstream URL |
| `NORA_PYPI_PROXY_AUTH` | - | PyPI upstream auth (`user:pass`) |
### config.toml ### config.toml