Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to v0.7.0 #117

Merged
merged 23 commits into from
May 24, 2024
Merged

Bump to v0.7.0 #117

merged 23 commits into from
May 24, 2024

Conversation

Ljzd-PRO
Copy link
Owner

Changes

💡 Feature

  • Add support for customizing filename:
    • Edit KTOOLBOX_JOB__FILENAME_FORMAT in prod.env or environment variables to set this option (支持重命名下载文件 #116)
    • 📖More information: Configuration-Reference-JobConfiguration
      # Rename attachments in numerical order, e.g. `1.png`, `2.png`, ...
      KTOOLBOX_JOB__SEQUENTIAL_FILENAME=True
      
      # `{}`: Basic filename
      # Can be used with the configuration option above.
      # Rename attachments to `[2024-1-1]_1.png`, `[2024-1-1]_2.png`, ...
      KTOOLBOX_JOB__FILENAME_FORMAT="[{published}]_{}"
  • Change default post text content filename index.html to content.txt

💡 新特性

  • 支持自定义下载的文件名格式:
    • prod.env 或环境变量中编辑 KTOOLBOX_JOB__FILENAME_FORMAT 以设置该选项 (支持重命名下载文件 #116)
    • 📖更多信息: 配置-参考-JobConfiguration
      # 按照数字顺序重命名附件, 例如 `1.png`, `2.png`, ...
      KTOOLBOX_JOB__SEQUENTIAL_FILENAME=True
      
      # `{}`:基本文件名
      # 可以和上面的配置选项搭配使用
      # 附件将被重命名为 `[2024-1-1]_1.png`, `[2024-1-1]_2.png`, ...
      KTOOLBOX_JOB__FILENAME_FORMAT="[{published}]_{}"
  • 更改默认的作品文本内容文件名 index.htmlcontent.txt

Full Changelog: v0.6.0...v0.7.0

dependabot bot and others added 22 commits May 6, 2024 20:11
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.2 to 4.66.4.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](tqdm/tqdm@v4.66.2...v4.66.4)

---
updated-dependencies:
- dependency-name: tqdm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [mkdocs-static-i18n](https://github.com/ultrabug/mkdocs-static-i18n) from 1.2.2 to 1.2.3.
- [Changelog](https://github.com/ultrabug/mkdocs-static-i18n/blob/main/docs/changelog.md)
- [Commits](ultrabug/mkdocs-static-i18n@1.2.2...1.2.3)

---
updated-dependencies:
- dependency-name: mkdocs-static-i18n
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
build(deps): bump tqdm from 4.66.2 to 4.66.4
…erial-9.5.24

build(deps-dev): bump mkdocs-material from 9.5.20 to 9.5.24
build(deps-dev): bump pytest from 8.1.1 to 8.2.1
…tic-i18n-1.2.3

build(deps-dev): bump mkdocs-static-i18n from 1.2.2 to 1.2.3
@Ljzd-PRO Ljzd-PRO added the upgrade Bump to new version label May 24, 2024
@Ljzd-PRO Ljzd-PRO self-assigned this May 24, 2024
@Ljzd-PRO Ljzd-PRO linked an issue May 24, 2024 that may be closed by this pull request
Copy link

codecov bot commented May 24, 2024

Codecov Report

Attention: Patch coverage is 78.57143% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 78.33%. Comparing base (cc55ad6) to head (ec98ea6).

Current head ec98ea6 differs from pull request most recent head 497ff68

Please upload reports for the commit 497ff68 to get more accurate results.

Files Patch % Lines
ktoolbox/action/utils.py 62.50% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
- Coverage   78.46%   78.33%   -0.14%     
==========================================
  Files          34       34              
  Lines         952      960       +8     
  Branches      161      161              
==========================================
+ Hits          747      752       +5     
- Misses        167      170       +3     
  Partials       38       38              
Flag Coverage Δ
macos-13-3.10 78.22% <78.57%> (?)
macos-13-3.8 77.88% <78.57%> (?)
macos-13-3.9 77.77% <78.57%> (?)
macos-latest-3.11 78.22% <78.57%> (-0.14%) ⬇️
ubuntu-latest-3.10 78.22% <78.57%> (-0.14%) ⬇️
ubuntu-latest-3.11 78.22% <78.57%> (-0.14%) ⬇️
ubuntu-latest-3.8 77.88% <78.57%> (-0.14%) ⬇️
ubuntu-latest-3.9 77.77% <78.57%> (-0.14%) ⬇️
windows-latest-3.10 78.64% <76.92%> (+0.19%) ⬆️
windows-latest-3.11 78.64% <76.92%> (+0.19%) ⬆️
windows-latest-3.8 78.27% <76.92%> (-0.15%) ⬇️
windows-latest-3.9 78.16% <76.92%> (-0.15%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Ljzd-PRO Ljzd-PRO merged commit 2f3d642 into master May 24, 2024
7 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upgrade Bump to new version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

支持重命名下载文件
1 participant