v0.5.0-beta.1
Pre-release
Pre-release
github-actions
released this
22 Mar 18:37
·
196 commits
to master
since this release
Changes
🐍 Fix
- Fixed download failure when server returns an invalid filename (
Attachment.name
) (#73)
💡 Feature
-
Add support for local storage bucket mode (#74) (@Nacosia)
- Edit
KTOOLBOX_DOWNLOADER__USE_BUCKET
,KTOOLBOX_DOWNLOADER_BUCKET_PATH
to set this option - 📖More information: Configuration-Reference-DownloaderConfiguration
- Edit
-
Add support for customizing the post directory name format (#45, #46)
- Edit
KTOOLBOX_JOB__POST_DIRNAME_FORMAT
to set this option - 📖More information: Configuration-Reference-JobConfiguration
# It will create directories like `[2024-1-1]HelloWorld` KTOOLBOX_JOB__POST_DIRNAME_FORMAT="{published}{title}"
# It will create directories like `[2024-1-1]_12345_112233` KTOOLBOX_JOB__POST_DIRNAME_FORMAT="{published}_{user}_{id}"
# Default value. It will create directories like `HelloWorld` KTOOLBOX_JOB__POST_DIRNAME_FORMAT="{title}"
- Edit
-
Marked
JobConfiguration.post_id_as_path
as deprecated, useJobConfiguration.post_dirname_format
instead
🐍 修复
- 修复当服务器返回的文件名不合法时下载出错的问题 (
Attachment.name
) (#73)
💡 新特性
-
增加本地存储桶模式的存储支持 (#74) (@Nacosia)
- 编辑
KTOOLBOX_DOWNLOADER__USE_BUCKET
,KTOOLBOX_DOWNLOADER_BUCKET_PATH
以设置该选项 - 📖更多信息: Configuration-Reference-DownloaderConfiguration
- 编辑
-
- 编辑
KTOOLBOX_JOB__POST_DIRNAME_FORMAT
以设置该选项 - 📖更多信息: Configuration-Reference-JobConfiguration
# 将会创建例如 `[2024-1-1]HelloWorld` 的目录名 KTOOLBOX_JOB__POST_DIRNAME_FORMAT="{published}{title}"
# 将会创建例如 `[2024-1-1]_12345_112233` 的目录名 KTOOLBOX_JOB__POST_DIRNAME_FORMAT="{published}_{user}_{id}"
# 默认值。 将会创建例如 `HelloWorld` 的目录名 KTOOLBOX_JOB__POST_DIRNAME_FORMAT="{title}"
- 编辑
-
将
JobConfiguration.post_id_as_path
标记为已弃用, 请用JobConfiguration.post_dirname_format
取代
Full Changelog: v0.4.0...v0.5.0-beta.1