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 @elog/cli from 0.6.1 to 0.9.1 #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2023

Bumps @elog/cli from 0.6.1 to 0.9.1.

Release notes

Sourced from @​elog/cli's releases.

v0.9.1 优化删除缓存逻辑

Optimization:

  • 🍻 优化elog clean流程,解决在 windows 电脑上删除文件夹失败的问题 #18
  • 🍻 Notion 文档封面图(cover)加入文档 properties。建议不要上传自定义图片,图片链接存在访问有效期和防盗链,请上传自己图床的 永久 url 链接 或选择 Notion 预设图片

elog clean 是用来删除文档(包括文件夹)、图片(如果存在)、Elog 缓存文件(elog.cache.json)的命令。删除后会在下次运行 elog sync 时重新全量同步文档。

新变化:

elog clean 删除文档时,会根据Elog 缓存文件(elog.cache.json)中记录的文档目录来删除,当缓存文件不存在时,才会按照 Elog 配置文件(elog.config.js)中设置的文档输出目录来删除

示例:

假设文档的存储目录为./docs

-docs
|-- 文档 1.md
|-- 文件夹
|   |--文档 2.md
|   |--文件夹 2
|   |	|--文档 3.md
|-- 其他非 Elog 下载的资源

在 0.9.1 之前的版本,elog clean 会删除整个 docs 文件夹,包括「其他非 Elog 下载的资源」也会被删除

在 0.9.1 及之后的版本,elog clean 会根据Elog 缓存文件(elog.cache.json),只会删掉Elog 下载的文档,保留「其他非 Elog 下载的资源」

如何升级Elog

v0.9.0

Feature:

  • 🔥 图片存放在本地时支持图片路径根据文档位置计算,配置文档
  • 🔥 支持自定义图片路径拓展点,配置文档
  • 🔥 飞书支持我的空间/知识库文档下载,关键依赖:@​feishu-x配置文档
  • 🔥 飞书高亮块支持 emoji
  • 🔥 飞书文档支持按层级下载

Optimization:

  • 🍻 同步流程优化。文档不需要更新时,不重复写入缓存文件
  • 🍻 缓存文件优化,删除缓存文件(elog.cache.json)中的body_original字段,进一步减少缓存文件的大小
  • 🍻 日志优化
  • 🍻 增加语雀参数校验

Bugs:

  • 🐞 过滤语雀数据表文档类型,感谢@​Hiwoniu提供的 bug 复现
  • 🐞 修复飞书云文档导出问题

v0.9.0-beta.8

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@elog/cli](https://github.com/LetTTGACO/elog) from 0.6.1 to 0.9.1.
- [Release notes](https://github.com/LetTTGACO/elog/releases)
- [Commits](LetTTGACO/elog@v0.6.1...v0.9.1)

---
updated-dependencies:
- dependency-name: "@elog/cli"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 6, 2023
Copy link

vercel bot commented Nov 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jasonma0012-github-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2023 0:42am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants