d59a150b4f
Bump the package version to 1.3.18, upgrade dependencies, consolidate module exports, add a unit test suite, and document all changes. - Bump package version to 1.3.18 in pyproject.toml - Upgrade pydantic-settings to 2.14.2 and pyright to 1.1.411 - Consolidate package exports in mdrsclient/__init__.py - Add a comprehensive unit test suite in tests/test_commands.py - Document testing execution and add full history in CHANGELOG.md
130 lines
3.2 KiB
Markdown
130 lines
3.2 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
## [1.3.18] - 2026-07-02
|
|
|
|
### Added
|
|
- Added a comprehensive unit test suite in `tests/test_commands.py` checking registration, parsing, and execution flow of all 16 commands.
|
|
|
|
### Refactored
|
|
- Abstracted configuration storage (introducing `ConfigInterface`, `InMemoryConfig`, and updating `ConfigFile`) to enable dependency injection.
|
|
- Modularized transfer operations (upload and download) to decouple them from the service layer.
|
|
- Decoupled commands from direct file system configurations and migrated all subcommands to use abstract config classes.
|
|
|
|
### Changed
|
|
- Upgraded dependencies including `pydantic-settings` to `2.14.2` and `pyright` to `1.1.411`.
|
|
|
|
### Fixed
|
|
- Fixed duplicate `__all__` definitions in package initialization file `mdrsclient/__init__.py` that caused `__version__` export to be overwritten.
|
|
|
|
## [1.3.17] - 2026-07-02
|
|
|
|
### Refactored
|
|
- Decoupled core logic from CLI interface and introduced `MdrsClient` service layer to improve library portability.
|
|
- Migrated all CLI commands to utilize `MdrsClient` for execution.
|
|
|
|
### Added
|
|
- Abstract authentication state using `CacheInterface` and `InMemoryCache`.
|
|
|
|
## [1.3.16] - 2026-06-12
|
|
|
|
### Fixed
|
|
- Retrieve the full `Folder` object from `FoldersApi` instead of using the `FolderSimple` returned by `find_sub_folder` when resolving DOI subfolders. This fixes a type checker error under the upgraded pyright and avoids a potential AttributeError at runtime due to `FolderSimple` lacking the `path` attribute.
|
|
|
|
### Changed
|
|
- Upgraded dependencies and bumped version to 1.3.16 in pyproject.toml.
|
|
|
|
## [1.3.15] - 2026-05-01
|
|
|
|
### Changed
|
|
- Bumped package version to 1.3.15.
|
|
|
|
## [1.3.14] - 2026-04-17
|
|
|
|
### Changed
|
|
- Simplified `config list` command (removed `-l`/`--long` option, always display URL).
|
|
|
|
### Added
|
|
- Added subcommand aliases for config commands (e.g. `ls` alias for list, `rm` alias for delete).
|
|
|
|
## [1.3.13] - 2025-07-02
|
|
|
|
### Changed
|
|
- Bumped package version to 1.3.13.
|
|
|
|
## [1.3.12] - 2025-05-20
|
|
|
|
### Changed
|
|
- Bumped package version to 1.3.12.
|
|
|
|
## [1.3.11] - 2025-01-21
|
|
|
|
### Changed
|
|
- Bumped package version to 1.3.11.
|
|
|
|
## [1.3.10] - 2024-12-23
|
|
|
|
### Changed
|
|
- Bumped package version to 1.3.10.
|
|
|
|
## [1.3.9] - 2024-10-23
|
|
|
|
### Fixed
|
|
- Fixed compatibility with Python 3.10.
|
|
|
|
## [1.3.8] - 2024-09-18
|
|
|
|
### Changed
|
|
- Bumped package version to 1.3.8.
|
|
|
|
## [1.3.7] - 2024-07-22
|
|
|
|
### Added
|
|
- Implemented `--exclude` argument for download subcommand.
|
|
|
|
## [1.3.6] - 2024-07-08
|
|
|
|
### Changed
|
|
- Bumped package version to 1.3.6.
|
|
|
|
## [1.3.5] - 2024-07-08
|
|
|
|
### Changed
|
|
- Bumped package version to 1.3.5.
|
|
|
|
## [1.3.4] - 2024-07-04
|
|
|
|
### Added
|
|
- Added some aliases for config sub command.
|
|
|
|
## [1.3.3] - 2024-02-13
|
|
|
|
### Changed
|
|
- Bumped package version to 1.3.3.
|
|
|
|
## [1.3.2] - 2024-02-09
|
|
|
|
### Added
|
|
- Added `-u` and `-p` options to login command.
|
|
|
|
## [1.3.1] - 2023-12-20
|
|
|
|
### Fixed
|
|
- Fixed bug to resolve local files for recursive file upload.
|
|
|
|
## [1.3.0] - 2023-12-18
|
|
|
|
### Changed
|
|
- Removed debug comments.
|
|
|
|
## [1.2.0] - 2023-10-04
|
|
|
|
### Changed
|
|
- Follow-up recent specification changes about folder access level.
|
|
|
|
## [1.1.1] - 2023-07-26
|
|
|
|
### Changed
|
|
- Set destination folder name using name attribute of folder copy API.
|