Releases: xbpk3t/docs-alfred
Releases · xbpk3t/docs-alfred
v1.9.0
Changelog
Features
- bb5d219: feat(docs): 优化 docs/cmd/root.go (@xbpk3t)
- 9134f06: feat(error): 统一处理所有的error code。移除之前所有的 fmt.Errorf() (@xbpk3t)
- b6b85a8: feat(render): add file_processor.go, 用来符合现在的需求,直接用docs.yml生成整个docs项目 (@xbpk3t)
- a71776c: feat(yaml2md): support diary cmd (@xbpk3t)
- c672bb8: feat: rm diary.go (@xbpk3t)
- 8872c00: feat(task&diary): 完全实现基本需求 (@xbpk3t)
- 4806818: feat(task&diary): 完善diary相关逻辑 (@xbpk3t)
- befefad: feat(task&diary): 完善task相关逻辑 (@xbpk3t)
- 02f6ce6: feat(task&diary): 实现两个raw-loader的渲染 (@xbpk3t)
Bug fixes
Refactoring
v1.8.0
从之前gh、feeds、goods各模块分别处理,通过模板模式,做个抽象方法,实现yaml2md直接调用相应Render()即可
优化代码,增加代码复用性
Changelog
Features
- df77084: feat(gh): Modify ToRepos(), allow to update data (@xbpk3t)
- b33752b: feat(service): 完善 works/works.go, 并添加单元测试 (@xbpk3t)
- f773482: feat: remove f command in docs-alfred (@xbpk3t)
- 948dc19: feat: save changes before revert to 958c498 (@xbpk3t)
- 88138ee: feat: 优化 parser.go ,并添加unittest (@xbpk3t)
- e8714bd: feat: 优化 pkg/rss ,并添加unittest (@xbpk3t)
- 3ba2db3: feat: 优化 rss.go (@xbpk3t)
- 7c19d00: feat: 优化 rss2newsletter 代码 (@xbpk3t)
- c238a5c: feat: 优化 yaml2md 代码 (@xbpk3t)
- 8fd544b: feat: 优化代码 (@xbpk3t)
- 0be8b66: feat: 暂时优化完成 (@xbpk3t)
- ef2d659: feat: 继续优化 (@xbpk3t)
- 0448e9e: feat: 综合优化 pkg文件夹下面的几个所有代码,抽象出来parser.go和merger.go (@xbpk3t)
- 0e44141: feat: 让cursor帮我优化代码 (@xbpk3t)
Bug fixes
- f5b573e: fix(deps): update module github.com/google/go-github/v56 to v67 (@renovate[bot])
- 902c69b: fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.24 (@renovate[bot])
- 2492492: fix(deps): update module github.com/resend/resend-go/v2 to v2.13.0 (@renovate[bot])
- a39a196: fix(deps): update module github.com/spf13/viper to v1.19.0 (@renovate[bot])
- 113db98: fix(gh): render text other than url (@xbpk3t)
- deb7066: fix(gh): 之前的gh-merge会给所有sub components 重复生成一个main repo,在使用docs-alfred时,就会出现两个重复item (@xbpk3t)
- aa2fbcf: fix(gh): 之前的代码没有渲染type下面的table of repos,另外,优化renderSubComponents() 相关代码 (@xbpk3t)
- c668a60: fix(rss2newsletter): resolve goroutine deadlock (@xbpk3t)
- 7fc2422: fix(yaml2md): add ParseFlatten() in Parser (@xbpk3t)
- 43cf5e3: fix(yaml2md): add RelatedRepos key in Repository struct (@xbpk3t)
- 4ffdba7: fix(yaml2md): modify ws ParseConfig() (@xbpk3t)
- ca7f7b3: fix(yaml2md): should use works.NewWorkRenderer(), otherwise seenTags is not initialized, result in an error (@xbpk3t)
- 43f724d: fix: add test for Test_buildDocsURL (@xbpk3t)
- 90c52d7: fix: build-and-job build error (@xbpk3t)
- b2ce16a: fix: build-and-job build error (@xbpk3t)
- 7338214: fix: optimize using "task lint" (@xbpk3t)
Refactoring
- c44af76: refactor: pkg -> service, utils -> pkg (@xbpk3t)
- e999b71: refactor: 重新调整docs-alfred整个项目的结构,把alfred相关代码放到alfred文件夹下 (@xbpk3t)
CI
Others
- 82e10fd: Merge branch 'main' into refactor (@xbpk3t)
- 94f9b55: Merge pull request #4 from xbpk3t/renovate/git.luolix.top-mattn-go-sqlite3-1.x (@xbpk3t)
- 5caf921: Merge pull request #6 from xbpk3t/renovate/git.luolix.top-resend-resend-go-v2-2.x (@xbpk3t)
- 9b7c5f9: Merge pull request #7 from xbpk3t/renovate/git.luolix.top-spf13-viper-1.x (@xbpk3t)
- 4852f49: Merge pull request #8 from xbpk3t/renovate/git.luolix.top-google-go-github-v56-67.x (@xbpk3t)
- f285a0b: Merge pull request #9 from xbpk3t/refactor (@xbpk3t)
- 0613fe9: build(go.mod): resolve go.mod conflicts (@xbpk3t)
- e166550: feat(docs-alfred): 给 Repository 添加 MainRepo字段,用来方便获取main repo (@xbpk3t)
- dfffd5c: feat(gh-merge): 回滚到之前的gh-merge代码,保证可用 (@xbpk3t)
- 72d4de3: fix (@xbpk3t)
- ef4c8e3: fix(docs-alfred): should use gh.NewGhRenderer(), otherwise repoRenderConfig will be nil (@xbpk3t)
- 6acf606: fix(docs-alfred): should use gh.NewGhRenderer(), otherwise repoRenderConfig will be nil (@xbpk3t)
- 7e9f573: fix(docs-alfred): ws.go, must handlePreRun, otherwise data is nil, EOF is reported. (@xbpk3t)
- 53b8f96: fix(gh-merge): golang linter (@xbpk3t)
- 11a848c: fix(gh-merge): repos -> repo (@xbpk3t)