Releases: iyear/tdl
v0.16.0
🏮Happy Spring Festival🏮
Highlights
- [Feat] Support forward messages in reverse order with
--desc
flag. Doc - [Feat] Support edit forward message content with
--edit
flag. Doc - [Feat] Support forward single grouped message with
--single
flag. Doc - [Dev] Upgrade go version to 1.21
Changelog
New Features
- c2535e6: feat(forward): forward message in reverse order with
--desc
flag. close #456 (@iyear) - 94091c3: feat(forward): support edit message content with
--edit
flag (@iyear) - fce339c: feat(forwarder): support forward single grouped message with
--single
flag. close #487 (@iyear)
Bug fixes
- 150d93e: fix(cmd): increase default reconnect timeout to 5 minutes. (@iyear)
- 56e4812: fix(download): consider if a template specifies a sub directory (#498) (@brimstone)
- 7570110: fix(forwarder): send random message ids (@iyear)
- 51c17bd: fix(tplfunc): deprecated rand seed (@iyear)
- a006ac8: fix(utils): append argument msg to the end of grouped messages (@iyear)
Documentation updates
Others
- e678a60: chore(deps): bump github.com/gotd/td from 0.89.0 to 0.97.0 (#489) (@dependabot[bot])
- d1f44cf: chore(deps): bump github.com/klauspost/compress from 1.17.5 to 1.17.6 (#492) (@dependabot[bot])
- e4e9934: chore(deps): bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.15.0 (#461) (@dependabot[bot])
- a0474f6: chore(deps): bump github.com/onsi/gomega from 1.30.0 to 1.31.1 (#469) (@dependabot[bot])
- 146cf75: chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.12 to 3.24.1 (#483) (@dependabot[bot])
- 040cfad: chore(deps): bump golang.org/x/net from 0.20.0 to 0.21.0 (#493) (@dependabot[bot])
- 550621e: chore(deps): rename antonmedv/expr to expr-lang/expr (@iyear)
- 0a04d8f: chore(go): upgrade to v1.21 (@iyear)
- 5254651: chore(utils): replace min function with builtin (@iyear)
- 769044c: ci: add riscv64 goarch (#481) (@ernado)
v0.15.1
v0.15.0
Changelog
New Features
- c3de846: feat(actions): auto bump homebrew formula (@iyear)
- 19f673c: feat(forward): support reply to message or topic. close #452 (@iyear)
Bug fixes
- 20128ae: fix(dl): check slice index. closes #474 (@iyear)
- 0310ea8: fix(retry): add WORKER_BUSY_TOO_LONG_RETRY error in list. #462 (@iyear)
Documentation updates
- b48e1ab: docs(hugo): add empty chat notes (@iyear)
- 6f9329b: docs(hugo): add homebrew (#386) (@thekoc)
- 928c3b3: docs(hugo): forward to message/topic (@iyear)
Others
- 9c651a2: chore(deps): bump github.com/go-playground/validator/v10 (#458) (@dependabot[bot])
- 15c9180: chore(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 (#471) (@dependabot[bot])
- fe56d67: chore(deps): bump github.com/gotd/td from 0.89.0 to 0.95.1 (#472) (@dependabot[bot])
- f4d1fd0: chore(deps): bump github.com/gotd/td from 0.95.1 to 0.96.1 (#478) (@dependabot[bot])
- dd7305f: chore(deps): bump github.com/klauspost/compress from 1.17.4 to 1.17.5 (#475) (@dependabot[bot])
- b154722: chore(deps): bump golang.org/x/net from 0.19.0 to 0.20.0 (#449) (@dependabot[bot])
v0.14.1
Changelog
Others
- 957dfc7: chore(deps): bump github.com/beevik/ntp from 1.3.0 to 1.3.1 (#433) (@dependabot[bot])
- 3021de5: chore(deps): bump github.com/jedib0t/go-pretty/v6 from 6.4.9 to 6.5.0 (#444) (@dependabot[bot])
- 481f9c5: chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.11 to 3.23.12 (#440) (@dependabot[bot])
- 625e825: chore(deps): bump github.com/spf13/viper from 1.18.1 to 1.18.2 (#426) (@dependabot[bot])
- e9afe89: chore(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#425) (@dependabot[bot])
- 42113e7: chore(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0 (#445) (@dependabot[bot])
v0.14.0
Highlights
- [Feat] Login with QR code. Doc
- [Feat] Add
default
namespace to simplify the command line. (Original namespaces still require-n
flag) Doc - [Feat] Add
--storage
flag to specify storage. Doc - [Feat] Add
tdl migrate
command for migrating data between different storages. Doc
Changelog
New Features
- 6035903: feat(cmd): add default namespace (@iyear)
- ff0d446: feat(login): add qr login (@iyear)
- 8127fb7: feat(login): select login mode with type flag (@iyear)
- 6470e57: feat(login): use desktop app in new session (@iyear)
- 296d928: feat(main): humanize some errors (@iyear)
- 8d4ce97: feat(migrate): support migrate data to another storage (@iyear)
- 6843418: feat(storage): switch default storage to bolt (@iyear)
- 753c957: feat(tclient): add update handler option (@iyear)
Bug fixes
- 8753443: fix(chat): json output to stdout (@iyear)
- 3503042: fix(ls): dialog type field comment (@iyear)
- 52e140f: fix(migrate): confirm before migration (@iyear)
- a77e9d6: fix(retry): add rpc call fail errors (@iyear)
Documentation updates
- 2b0d4ad: chore(docs): move umami to baidu (@iyear)
- ad063ef: docs(hugo): default namespace (@iyear)
- c60edc2: docs(hugo): v0.14.0 (@iyear)
Refactoring
- e58df34: refactor(app): remove tgc (@iyear)
- 62077ff: refactor(chat): use tRun to start session (@iyear)
- 6dcb76e: refactor(cmd): remove login flag (@iyear)
- dfbb368: refactor(dl): use tRun to start session (@iyear)
- 3f65a37: refactor(forward): use tRun to start session (@iyear)
- 9526aee: refactor(pkg): add tclient package (@iyear)
- ef75145: refactor(up): use tRun to start session (@iyear)
Others
- bfd7a99: chore(deps): bump github.com/go-faster/errors from 0.6.1 to 0.7.1 (#421) (@dependabot[bot])
- 982729a: chore(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 (#422) (@dependabot[bot])
- 16939bd: chore(deps): bump github.com/spf13/viper from 1.18.0 to 1.18.1 (#418) (@dependabot[bot])
- 21803a9: chore(kv): skip type key (@iyear)
- 21a3408: chore(root): remove migration output (@iyear)
v0.13.3
v0.13.2
Highlights
- [Fix] Grouped clone and speed up.
- [Fix] Inf client retries
Changelog
New Features
- edf579b: Revert "feat(ls): streaming output" (@iyear)
- e819c91: feat(docs): copy install scripts to public (@iyear)
- 18903f9: feat(docs): get install scripts from hugo (@iyear)
- d45a0dc: feat(forwarder): fix grouped clone, speed up clone (@iyear)
- 230ab3d: feat(ls): streaming output (@iyear)
Bug fixes
- ace2867: fix(actions): only trigger when master.yml changed (@iyear)
- 6aedb11: fix(actions): trigger deploy docs when tags pushed (@iyear)
- 54fb520: fix(install): update docs website (@iyear)
- 94260a6: fix(install): update proxy because of GFW (@iyear)
Documentation updates
Refactoring
Others
- da2206f: chore(deps): bump actions/configure-pages from 3 to 4 (@dependabot[bot])
- 6a8b27d: chore(deps): bump actions/deploy-pages from 2 to 3 (@dependabot[bot])
- 68109fe: chore(deps): bump actions/setup-go from 4 to 5 (#411) (@dependabot[bot])
- 71103bd: chore(deps): bump github.com/klauspost/compress from 1.17.2 to 1.17.4 (@dependabot[bot])
- d077c11: chore(deps): bump github.com/spf13/viper from 1.17.0 to 1.18.0 (#410) (@dependabot[bot])
- 8691d55: chore(tgc): inf retries (@iyear)
- 7b03e13: chore(util): add peer id in err msg (#413) (@cloverzrg)
v0.13.1
Tip
The current version has undergone significant refactoring. If you encounter any issues with the functionality, please degrade back to v0.13.0 and file new issues.
Sponsor
I've added a donation link to the documentation page. If you enjoy the project, please consider supporting development.
Highlights
- [Feat] Support HTTP/HTTPS proxy
- [Feat]
tdl backup
&tdl recover
file format changed(Doc) - [Fix] Progress tracker length oversize.
Changelog
New Features
- 3fd9197: feat(docs): add donate menu item (@iyear)
- 894ebd2: feat(docs): add unami to head (@iyear)
- 4a839cb: feat(proxy): support http proxy (@iyear)
Bug fixes
- 3f39952: fix(docs): umami url (@iyear)
- e69f704: fix(forward): lint (@iyear)
- 22830c8: fix(forward): progress wait (@iyear)
- 1c3f24f: fix(forwarder): return error when context canceled (@iyear)
- 0d9dd2c: fix(kv): lint (@iyear)
- 2172f40: fix(prog): try to fix tracker length resize (@iyear)
- 1d8d258: fix(progress): context in wait (@iyear)
- a7ea927: fix(retry): no workers running error (@iyear)
- 94406e9: fix(storage): use errors.Is (@iyear)
- 92ab241: fix(test): test storage (@iyear)
- 9f6512e: fix(up): concurrent sync map (@iyear)
- d6159df: fix(up): lint (@iyear)
- af2415f: fix(up): remove impl (@iyear)
- b7bbbf6: fix(uploader): fetch ret error in closure (@iyear)
Documentation updates
- 315e521: docs(README): fix note section (@iyear)
- 4f42702: docs(hugo): add forward note (@iyear)
- 25ea636: docs(hugo): typo (@iyear)
- 969d44a: docs(hugo): v0.13.1 (@iyear)
Refactoring
- c660507: refactor(archive): rewrite based on new storage (@iyear)
- 169e479: refactor(dl): extract to interface and impl iter in app (@iyear)
- ffc97c2: refactor(forward): extract to interface (@iyear)
- 98233e1: refactor(forward): place silent, mode, dry-run in elem (@iyear)
- 04f7116: refactor(forwarder): make key as tuple struct (@iyear)
- 57e07b6: refactor(kv): storage engine support (@iyear)
- 5233607: refactor(up): extract to interface (@iyear)
- 4c5c7d6: refactor(up): interface, struct, callback (@iyear)
Others
- 8f4d916: chore(actions): only trigger when tags pushed (@iyear)
- 9abaa40: chore(cmd): proxy flag description (@iyear)
- c86f8fe: chore(deps): bump github.com/antonmedv/expr from 1.15.4 to 1.15.5 (#390) (@dependabot[bot])
- 1a6e689: chore(deps): bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 (#394) (@dependabot[bot])
- 61c744a: chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.10 to 3.23.11 (#398) (@dependabot[bot])
- cb490f1: chore(deps): bump golang.org/x/net from 0.18.0 to 0.19.0 (#392) (@dependabot[bot])
- b9f5b2b: chore(deps): bump golang.org/x/time from 0.4.0 to 0.5.0 (#391) (@dependabot[bot])
- d8789f7: chore(forward): pass part size in options (@iyear)
- 707b88e: chore(main): only print error once (@iyear)
- fd45b85: chore(mod): tidy (@iyear)
- 76fa734: chore(root): change pool default size (@iyear)
- f68ac3c: chore(tgc): set backoff max interval to 10s (@iyear)
v0.13.0
Important
If you are using an older version, it is recommended to upgrade to the latest version.
Highlights
Stability Improvement
With the introduction of the new retry strategy, the connection will become stable. You can even switch proxies or change Wi-Fi during the runtime. You won't encounter the engine was closed
error anymore.(Maybe 😶🌫️)
And...increase your threads
and limit
flags might result in a faster speed!
Forward Command (Experimental)
Use tdl forward
for message forwarding. It supports automatic fallback(for those protected content) and message routing.
Refer to the documentation for detailed information.
Others
Some dependency updates, code refactoring, and documentation refactoring...
Changelog
New Features
- ae6cdab: feat(cmd): add forward (@iyear)
- adda6d6: feat(forward): forwarder app impl (@iyear)
- b0ac970: feat(forward): responsive tracker message (@iyear)
- 0944b07: feat(forward): support dry run (@iyear)
- 9f9f7a8: feat(forward): support message forward router (@iyear)
- 9912a04: feat(forwarder): add forwarder beta impl. #8 (@iyear)
- c35c494: feat(hugo): add include shortcode (@iyear)
- fd7dc4b: feat(main): print stack trace (@iyear)
- 5573c82: feat(middleware): add retry (@iyear)
- 6993209: feat(pkg): add recovery middleware to retry non-business error (@iyear)
- 1b260e0: feat(tgc): unify default middlewares and improve stability (@iyear)
Bug fixes
- 5f145f4: fix(forwarder): skip empty text message (@iyear)
- 4128065: fix(ls): apply channel as chat class (@iyear)
- e210665: fix(prog): no terminal size in actions (@iyear)
- d892a37: fix(shortcode): include read file i18n (@iyear)
- f75ae19: fix(snippets): hidden from menu (@iyear)
- f8d7fe5: fix(t): internal error -503 Timedout. #373 (@iyear)
- 54e8dee: fix(tgc): adjust retry options (@iyear)
Documentation updates
- 6c49808: docs(README): add forward (@iyear)
- 1c44b62: docs(README): beautify header (@iyear)
- 7e2084f: docs(all): add forward command (@iyear)
Refactoring
- 60f9c21: refactor(enum): add nocase flag (@iyear)
- 3b9ecb8: refactor(export): move message convert to texpr (@iyear)
- 25d4a4e: refactor(export): use go-enum (@iyear)
- 1b91b9e: refactor(forwarder): extract interface args to meta struct (@iyear)
- cd5edd1: refactor(forwarder): go-enum generator (@iyear)
- 467668f: refactor(hugo): chat snippet (@iyear)
- e544e83: refactor(hugo): link snippet (@iyear)
- 341a737: refactor(ls): rename to ListOutput (@iyear)
- e98ba7b: refactor(ls): use go-enum (@iyear)
- 2d08bc8: refactor(prog): progress fit terminal size (@iyear)
- 5138484: refactor(prog): set color in progress writer instead of tracker (@iyear)
- 42a5378: refactor(texpr): remove compile func (@iyear)
- 3961e5d: refactor(texpr): rename test file (@iyear)
- 23df1f1: refactor(tmedia): extract item to self struct (@iyear)
- 51c52ec: refactor(tmessage): add only media param (@iyear)
- e15a721: refactor(tmessage): extract message source parser to tmessage (@iyear)
- 892dcdd: refactor(utils): extract get single message (@iyear)
Others
- 850a886: chore(actions): only generate released version CLI docs (@iyear)
- 2f599b4: chore(deps): bump github.com/antonmedv/expr from 1.15.3 to 1.15.4 (#382) (@dependabot[bot])
- 1cd0631: chore(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 (#367) (@dependabot[bot])
- 00fc3ed: chore(deps): bump github.com/go-playground/validator/v10 (#380) (@dependabot[bot])
- d3946dd: chore(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0 (#356) (@dependabot[bot])
- 1e1df5a: chore(deps): bump github.com/gorilla/mux from 1.8.0 to 1.8.1 (#377) (@dependabot[bot])
- cf5662d: chore(deps): bump github.com/gotd/td from 0.88.0 to 0.89.0 (#363) (@dependabot[bot])
- de259d5: chore(deps): bump github.com/jedib0t/go-pretty/v6 from 6.4.8 to 6.4.9 (#360) (@dependabot[bot])
- abfc0f3: chore(deps): bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.1 (#381) (@dependabot[bot])
- 0b3e5da: chore(deps): bump github.com/onsi/gomega from 1.28.1 to 1.29.0 (#355) (@dependabot[bot])
- 8798bb2: chore(deps): bump github.com/onsi/gomega from 1.29.0 to 1.30.0 (#376) (@dependabot[bot])
- 3c6c573: chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.9 to 3.23.10 (#362) (@dependabot[bot])
- e000bda: chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#368) (@dependabot[bot])
- 40e445c: chore(deps): bump go.etcd.io/bbolt from 1.3.7 to 1.3.8 (#357) (@dependabot[bot])
- 90ac81d: chore(deps): bump golang.org/x/net from 0.17.0 to 0.18.0 (#379) (@dependabot[bot])
- c6810ce: chore(deps): bump golang.org/x/sync from 0.4.0 to 0.5.0 (#365) (@dependabot[bot])
- cc09567: chore(deps): bump golang.org/x/time from 0.3.0 to 0.4.0 (#378) (@dependabot[bot])
- 05fefde: chore(dlup): clarify error prompt (@iyear)
- a9d2042: chore(forward): process empty input (@iyear)
- 4b0b899: chore(forwarder): remove context in args (@iyear)
- 5dafd2b: chore(lint): move gci to last (@iyear)
v0.12.1
Changelog
Bug fixes
Documentation updates
Others
- 16efff8: chore(.gitattr): include Markdown in GitHub stats (@iyear)
- 20d7705: chore(deps): bump github.com/onsi/gomega from 1.28.0 to 1.28.1 (#351) (@dependabot[bot])