Releases: iyear/tdl
v0.20.1
Changelog
Bug fixes
- b7551a4: fix: prevent index out of range panic in chat ls command (issue #1112) (#1115) (@L9Lenny)
- 33d3785: Fix/handle deleted messages (#1114) (@L9Lenny)
Others
- 742da1b: chore(deps): bump all tdl submodules to v0.20.1 (@iyear)
- 8d1eeab: chore(deps): bump dawidd6/action-homebrew-bump-formula from 6 to 7 (#1110) (@dependabot[bot])
- a48a669: chore(deps): bump github.com/go-faster/jx from 1.1.0 to 1.2.0 (#1121) (@dependabot[bot])
- c6292d6: chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 (#1122) (@dependabot[bot])
- b035aaa: chore(gowork): sync work sum (@iyear)
v0.20.0
Changelog
New Features
- fde3857: RE: feat(upload): support --include flag (#650) (@XMLHexagram)
- 1b6139a: feat(up): rewrite custom caption (#1089) (@iyear)
- d3b716a: feat(upload): add support on upload to topic (#559) (@XMLHexagram)
- fe1d251: feat(upload): support custom fileβs caption by Expr (#565) (@XMLHexagram)
- 0de5f4d: feat: handle all unsupported media type properly (#1069) (@XMLHexagram)
Bug fixes
- 9a4066e: fix(dl): skip unsupported media (#1090) (@iyear)
- 8facee2: fix: Implement fallback for fetching dialogs in batches (#1077) (@EzekialSA)
Documentation updates
Refactoring
- d2b7609: refactor(dl): redesign grouped message dl logic (#1064) (@XMLHexagram)
Others
- 10ae878: chore(CODEOWNERS): add @XMLHexagram to code/doc files (@iyear)
- 83c8be5: chore(ci): upgrade golangci-lint (#1070) (@XMLHexagram)
- d7649c9: chore(deps): bump actions/checkout from 5 to 6 (#1099) (@dependabot[bot])
- f63bdc4: chore(deps): bump all tdl submodules to v0.20.0 (@iyear)
- 344ac3e: chore(deps): bump dawidd6/action-homebrew-bump-formula from 5 to 6 (#1098) (@dependabot[bot])
- dccf2db: chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.8 to 1.4.11 in /core (#1066) (@dependabot[bot])
- fb78e49: chore(deps): bump github.com/mattn/go-runewidth from 0.0.16 to 0.0.19 (#1086) (@dependabot[bot])
- a582931: chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 (#1047) (@dependabot[bot])
- 389d5b4: chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (#1049) (@dependabot[bot])
- 65d44e7: chore(deps): bump golangci/golangci-lint-action from 8 to 9 (#1083) (@dependabot[bot])
- 483c42c: chore(deps): bump stefanzweifel/git-auto-commit-action from 6 to 7 (#1059) (@dependabot[bot])
- 3d240db: chore(gitignore): add DS Store (@iyear)
- e06746f: chore(goreleaser): add prev tag env (@iyear)
- 6c2f1dc: chore(gowork): tidy work sum (@iyear)
- 93c849c: fix(ls/topic): Check for non-empty messages before accessing lastMsg (#1067) (@EzekialSA)
v0.19.2
What's Changed
- chore(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 in /core by @dependabot[bot] in #992
- fix: NPE due to nil mimetype by @ernado in #1043
- chore(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #1036
- chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.10 by @dependabot[bot] in #1035
- chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 by @dependabot[bot] in #1025
- chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #1023
- chore(deps): bump github.com/onsi/gomega from 1.37.0 to 1.38.2 by @dependabot[bot] in #1030
- chore(deps): bump actions/upload-pages-artifact from 3 to 4 by @dependabot[bot] in #1028
Full Changelog: v0.19.1...v0.19.2
v0.19.1
What's Changed
- chore(deps): bump dawidd6/action-homebrew-bump-formula from 3 to 5 by @dependabot in #978
- chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 by @dependabot in #982
- chore(deps): bump github.com/go-playground/validator/v10 from 10.26.0 to 10.27.0 by @dependabot in #985
- chore(go): update module replacements and add go.work file by @iyear in #990
Full Changelog: v0.19.0...v0.19.1
v0.19.0
Changelog
New Features
- d4278ba: feat(template): add MaxLength argument to filenamify method (#914) (@LuRenJiasWorld)
Bug fixes
- 6abb368: fix(actions): deprecated artifact upload/download (@iyear)
- 2a1c9ac: fix(actions): new teamgram server image version (@iyear)
- f4115d6: fix(dl): retain media's upload date (#903) (@powerfulsaber)
- 8e6df9b: fix(install): prevent to add tdl location to PATH env each time (@iyear)
Others
- 2797e6e: chore(actions): remove pull_request branch restriction (@iyear)
- 8c287fb: chore(deps): bump github.com/expr-lang/expr from 1.16.9 to 1.17.3 (#948) (@dependabot[bot])
- 80d1c72: chore(deps): bump github.com/expr-lang/expr from 1.17.3 to 1.17.5 (#974) (@dependabot[bot])
- af8fdec: chore(deps): bump github.com/go-playground/validator/v10 (#971) (@dependabot[bot])
- 4b829ba: chore(deps): bump github.com/klauspost/compress from 1.17.11 to 1.18.0 (#952) (@dependabot[bot])
- f5773dc: chore(deps): bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.23.4 (#951) (@dependabot[bot])
- 530f474: chore(deps): bump github.com/onsi/gomega from 1.36.3 to 1.37.0 (#968) (@dependabot[bot])
- 80cfb95: chore(deps): bump github.com/spf13/cast from 1.7.1 to 1.8.0 (#954) (@dependabot[bot])
- 95ee0f6: chore(deps): bump github.com/spf13/cast from 1.8.0 to 1.9.2 (#961) (@dependabot[bot])
- 78f22e7: chore(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1 (#959) (@dependabot[bot])
- 33ebea4: chore(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6 (#869) (@dependabot[bot])
- d2471c5: chore(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.1 (#962) (@dependabot[bot])
- 2bee840: chore(deps): bump golang.org/x/net from 0.34.0 to 0.41.0 in /core (#966) (@dependabot[bot])
- c176422: chore(deps): bump golang.org/x/time from 0.9.0 to 0.12.0 (#960) (@dependabot[bot])
- e84aa14: chore(deps): bump gotd to v0.122.0 (#972) (@iyear)
- e3e4ea5: chore(deps): bump stefanzweifel/git-auto-commit-action from 5 to 6 (#975) (@dependabot[bot])
- e309f48: chore(deps): bump tdl modules to v0.19.0 (@iyear)
- 85154ae: chore(go): bump to 1.23 (#958) (@iyear)
- b6e6772: chore(go): update Go version to 1.23.0 (@iyear)
v0.18.5
v0.18.4
Changelog
Others
- d4368a4: chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.7 to 1.4.8 in /core (#863) (@dependabot[bot])
- f60c90b: chore(deps): bump github.com/go-playground/validator/v10 (#861) (@dependabot[bot])
- 0d5d287: chore(deps): bump github.com/spf13/cast from 1.6.0 to 1.7.1 (#825) (@dependabot[bot])
- 8dffb78: chore(deps): bump golang.org/x/crypto from 0.29.0 to 0.31.0 (#826) (@dependabot[bot])
- 31155a3: chore(deps): bump golang.org/x/net from 0.31.0 to 0.33.0 (#830) (@dependabot[bot])
- d2c76ed: chore(deps): bump golang.org/x/net from 0.31.0 to 0.33.0 (#832) (@dependabot[bot])
- 12ee480: chore(deps): bump golang.org/x/net from 0.33.0 to 0.34.0 in /core (#864) (@dependabot[bot])
- 9e1003e: chore(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0 in /core (#835) (@dependabot[bot])
- dd5d63d: chore(deps): bump golang.org/x/time from 0.7.0 to 0.9.0 (#844) (@dependabot[bot])
- 8728f56: chore(deps): bump tdl modules to v0.18.4 (@iyear)
- b860ea2: chore(tmedia): export extractMedia func (@iyear)
- f337ed9: fix(middlewares/recovery): handle runtime context done (@iyear)
v0.18.3
Changelog
New Features
Bug fixes
- 0d57473: fix(extension): extension process control lifecycle by self (@iyear)
- 245b42a: fix(tplfunc): convert date arg to int64 with the best effort (@iyear)
Refactoring
Others
- 6d0c937: Revert "chore(deps): bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.22.0 (#811)" (@iyear)
- 9893ac5: chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.6 to 1.4.7 in /core (#812) (@dependabot[bot])
- 58090ee: chore(deps): bump github.com/go-playground/validator/v10 (#807) (@dependabot[bot])
- c2b705e: chore(deps): bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.22.0 (#811) (@dependabot[bot])
- 47ec164: chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#814) (@dependabot[bot])
- f62b37e: chore(deps): bump tdl modules to v0.18.2 (@iyear)
- 3cac28d: chore(deps): bump tdl modules to v0.18.3 (@iyear)
v0.18.1
Highlights
Extensions
Important
Extensions are a new feature in tdl. They are still in the experimental stage, and the CLI may change in future versions.
If you encounter any problems or have any suggestions, please open an issue on GitHub.
As more features and tools are added, tdl core has become increasingly bloated. Users need to download the entire binary file, but they may only need a single feature. Therefore, in version v0.18.1, the concept of Extensions was introduced to improve the extensibility and flexibility of tdl.
To get started with extensions:
$ tdl extension install iyear/tdl-whoami
β’ installing extension tdl-whoami...
β’ extension tdl-whoami installed
$ tdl whoami
You are XXXXX. ID: XXXXXXXXRefer to Doc for more details.
Docker installation
The tdl Docker images are now officially supported. Using Docker for installation allows for easy multi-version management and resource limitations.
To get started with Docker:
$ docker run --rm -it iyear/tdl version
Version: 0.18.1
Commit: c19fb82
Date: 2024-11-18T15:44:21+08:00
go1.21.13 linux/amd64Refer to Doc for more details
Others
- [Feat] Support downloading grouped media files using the
--groupflag. Doc - [Feat] Support using the
filenamifyhelper function in the downloader template to get safe file names. Doc - [Fix] The
-sglobal flag has been deprecated. Now, all download and upload part sizes use the max value by default. - [Doc] Support more powerful search in the documentation.
Changelog
New Features
- 5a690c5: feat(dl): add filenamify to tplfunc (@iyear)
- bdd84cc: feat(downloader): allow download of grouped message. (#795) (@F-TD5X)
- e4923c8: feat(prj): support docker image (@iyear)
- 98dac73: feat(prj): support tdl extensions (#780) (@iyear)
Bug fixes
- 55b1306: fix(actions): dependabot monorepo tidy modules (@iyear)
- e45e7fa: fix(actions): run master builder on every push (@iyear)
- 17c3a1c: fix(extension): remove exe suffix if exists (@iyear)
- 0a084ef: fix(prj): set part size to max by default (@iyear)
Documentation updates
- a6e95ce: docs(hugo): add Docker installation support (@iyear)
- 2959e0d: docs(hugo): add algolia docsearch (@iyear)
- 3459602: docs(hugo): display translated only languages (@iyear)
- 81f50f6: docs(prj): add contributors graph (@iyear)
Others
- 313243c: chore(actions): exclude docs for master builder (@iyear)
- 0deec3d: chore(actions): runs on ubuntu-22.04 (@iyear)
- 6865f3f: chore(deps): bump golang.org/x/net from 0.30.0 to 0.31.0 (#792) (@dependabot[bot])
- 82588cf: chore(deps): bump golang.org/x/net from 0.30.0 to 0.31.0 in /core (#793) (@dependabot[bot])
- 7fbe61e: chore(deps): bump golang.org/x/sync from 0.8.0 to 0.9.0 in /core (#786) (@dependabot[bot])
- 5cd9158: chore(deps): bump stefanzweifel/git-auto-commit-action from 4 to 5 (#797) (@dependabot[bot])
- c19fb82: chore(deps): bump tdl modules to v0.18.1 (@iyear)
- dd186e3: chore(hack): add release_mod script (@iyear)
v0.17.7
Important
Sorry, v0.17.6 has a serious bug. If you are using v0.17.6, please upgrade to the latest version immediately.
v0.17.6 has been marked as deprecated, please do not use it anymore.
Changelog
Bug fixes
- 6e1c55d: fix(dependabot): manually specify dirs (@iyear)
- ace2402: fix(up): invalid default part size of uploader (@iyear)
Others
- 5212f1a: chore(dependabot): sub modules enabled (@iyear)
- 729abcf: chore(deps): bump github.com/gabriel-vasile/mimetype in /core (#768) (@dependabot[bot])
- fe092bb: chore(deps): bump golang.org/x/net from 0.25.0 to 0.30.0 in /core (#769) (@dependabot[bot])
- 834f0cd: chore(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0 in /core (#771) (@dependabot[bot])