Releases: iyear/tdl
Releases · iyear/tdl
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])
v0.12.0
New Home
All documentation has been migrated to https://docs.iyear.me/tdl
Highlights
- [Feat] Support channel comment link
- [Feat] Support custom pattern of formatDate template function
Changelog
New Features
- 3c1f718: feat(tg): support channel comment link (@iyear)
- ace796f: feat(tplfunc): formatDate support custom pattern (@iyear)
Bug fixes
Documentation updates
- 2718288: chore(docs): remove docs prefix in path (@iyear)
- 549dd55: ci(docs): remove dart scss (@iyear)
- 4d1029d: docs(README): remove content (@iyear)
- 1779cbc: docs(dl): add new message link examples (@iyear)
- 1d43c25: docs(hugo): add scrollbars plugin (@iyear)
- 878273a: docs(hugo): command prompt style (@iyear)
- 6eda726: docs(hugo): hijack writeText to display copied (@iyear)
- bc782e9: docs(hugo): modify menu before (@iyear)
- 535c45e: docs(prj): add CLI part (@iyear)
- 31c3737: docs(prj): add chat export part (@iyear)
- 50dbc65: docs(prj): add chat ls part (@iyear)
- 9e84409: docs(prj): add chat users part (@iyear)
- 0255339: docs(prj): add download part (@iyear)
- 58775f8: docs(prj): add global config (@iyear)
- 9588738: docs(prj): add login part (@iyear)
- 108529b: docs(prj): add migration part (@iyear)
- 2458e0e: docs(prj): add more part (@iyear)
- a7cf043: docs(prj): add upload part (@iyear)
- ae6e1d7: docs(prj): hugo config (@iyear)
- df57e50: docs(prj): move CHAT examples to header (@iyear)
- 3db80aa: docs(prj): new home (@iyear)
- e884f62: docs(prj): nits (@iyear)
- 9e4ec0d: docs(prj): open bookHref in the same tab (@iyear)
- 5fb2e8b: docs(prj): point to chat export part (@iyear)
- f396c1c: docs(prj): remove old content (@iyear)
- 1cefc40: docs(template): add formatDate custom format (@iyear)
- 3e0c042: docs(zh): add guide (@iyear)
- bdf6cb2: docs(zh): add intro and installation parts (@iyear)
- 9b82870: docs(zh): add more (@iyear)
- 3b9a61c: docs(zh): add quick start, download, shell completion (@iyear)
- 311c215: docs(zh): add tools (@iyear)
Others
- b7d6cd2: add peer id in err msg (#339) (@cloverzrg)
- 57c199e: chore(cmd): add gendoc (@iyear)
- 529e309: chore(depandabot): add GitHub actions update (@iyear)
- 69d1f6d: chore(deps): bump actions/checkout from 3 to 4 (#327) (@dependabot[bot])
- 43efd2b: chore(deps): bump actions/setup-go from 3 to 4 (#328) (@dependabot[bot])
- d4f64f1: chore(deps): bump actions/upload-pages-artifact from 1 to 2 (#326) (@dependabot[bot])
- 67ab40c: chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.2 to 1.4.3 (#346) (@dependabot[bot])
- cb34d32: chore(deps): bump github.com/go-playground/validator/v10 (#325) (@dependabot[bot])
- 9caf185: chore(deps): bump github.com/jedib0t/go-pretty/v6 from 6.4.7 to 6.4.8 (#331) (@dependabot[bot])
- fb155cf: chore(deps): bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 (#342) (@dependabot[bot])
- e730e42: chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.8 to 3.23.9 (#323) (@dependabot[bot])
- af61e35: chore(deps): bump github.com/spf13/viper from 1.16.0 to 1.17.0 (#335) (@dependabot[bot])
- 3d90649: chore(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 (#344) (@dependabot[bot])
- e37cde3: chore(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 (#330) (@dependabot[bot])
- a63b68a: chore(downloader): print error when aborted (@iyear)
- 708ffaf: chore(hugo): enable canonifyURLs (@iyear)
- b297443: ci(actions): add doc deployment action (@iyear)
v0.11.1
v0.11.0
Highlights
- [Feat] Support expose files to HTTP server with
--serve
flag
Changelog
New Features
Documentation updates
Refactoring
Others
- 0bff3c4: chore(deps): bump github.com/antonmedv/expr from 1.15.1 to 1.15.2 (#306) (@dependabot[bot])
- 94cda72: chore(deps): bump github.com/antonmedv/expr from 1.15.2 to 1.15.3 (#312) (@dependabot[bot])
- 05e7474: chore(deps): bump github.com/go-playground/validator/v10 (#305) (@dependabot[bot])
- 862fd0c: chore(deps): bump github.com/gotd/td from 0.86.0 to 0.87.0 (#309) (@dependabot[bot])
- 1c97208: chore(deps): bump github.com/gotd/td from 0.87.0 to 0.88.0 (#316) (@dependabot[bot])
- 8db354e: chore(deps): bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 (#311) (@dependabot[bot])
- 73e2c53: chore(deps): bump github.com/onsi/gomega from 1.27.10 to 1.28.0 (#318) (@dependabot[bot])
- a56d76d: chore(deps): bump github.com/tidwall/gjson from 1.16.0 to 1.17.0 (#315) (@dependabot[bot])
- 94eef3a: chore(deps): bump go.uber.org/zap from 1.25.0 to 1.26.0 (#308) (@dependabot[bot])
- 64d2779: ci(actions): use ubuntu-20.04 (@iyear)
- 80a68ad: ci(release): upgrade goreleaser to v5 (@iyear)
- 79dd124: refactor!(export): raw message extend field (#310) (@iyear)
v0.10.0
Highlights
- [Feat] Upload the image as a photo with
--photo
flag - [Feat] Add
tdl chat users
command to export users data - [Feat] Support
TDL_POOL
env
Changelog
New Features
- e345ba4: feat(cmd): add chat users command (#298) (@lukas016)
- 1a42185: feat(up): upload the image as a photo. #244 (@iyear)
- 952c438: feat(up): use dc pool (@iyear)
- 0d3a452: feat(users): display ETA and percentage (@iyear)
- 081d427: feat(users): enhance output (@iyear)
Bug fixes
- 1cbe961: fix(actions): add pr permission (@iyear)
- df310fc: fix(test): wait before each test to avoid rate limit (@iyear)
- d633f34: fix(up): lint blank line (@iyear)
Documentation updates
Refactoring
- 37dc867: refactor(cmd): move pool flag to global set (@iyear)
- ed57d72: refactor(dl): download options (@iyear)
- 4d379a4: refactor(up): upload options (@iyear)
Others
- 4190b6f: chore(deps): bump github.com/gotd/td from 0.85.0 to 0.86.0 (#296) (@dependabot[bot])
- c31c59c: test(e2e): add chat users test (@iyear)
v0.9.8
Changelog
New Features
Bug fixes
- b0d9d6e: fix(actions): cache conflict (@iyear)
- 6095f04: fix(actions): lint timeout (@iyear)
- f249c78: fix(media): naked return (@iyear)
- 83d879a: fix(tgc): add rate limit to avoid frequent flood wait in e2e test (@iyear)
Others
- cb39fc2: chore(actions): add lint to master action (@iyear)
- 0711809: chore(archive): detail error message (@iyear)
- f72b6a1: chore(deps): bump github.com/antonmedv/expr from 1.13.0 to 1.14.0 (#271) (@dependabot[bot])
- d17aaba: chore(deps): bump github.com/antonmedv/expr from 1.14.0 to 1.15.0 (#285) (@dependabot[bot])
- 622ed26: chore(deps): bump github.com/antonmedv/expr from 1.15.0 to 1.15.1 (#294) (@dependabot[bot])
- d0568bd: chore(deps): bump github.com/go-playground/validator/v10 (#273) (@dependabot[bot])
- 360d567: chore(deps): bump github.com/go-playground/validator/v10 (#283) (@dependabot[bot])
- 9a71c0a: chore(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#277) (@dependabot[bot])
- 13c3b66: chore(deps): bump github.com/gotd/td from 0.84.0 to 0.85.0 (#272) (@dependabot[bot])
- 744b5ca: chore(deps): bump github.com/jedib0t/go-pretty/v6 from 6.4.6 to 6.4.7 (#281) (@dependabot[bot])
- 54402f7: chore(deps): bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0 (#279) (@dependabot[bot])
- 3b85b56: chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.7 to 3.23.8 (#290) (@dependabot[bot])
- 79f38ec: chore(deps): bump golang.org/x/net from 0.14.0 to 0.15.0 (#295) (@dependabot[bot])
- b9fd24e: chore(editorconfig): eol lf (@iyear)
- b7de1e7: chore(gitignore): remove zip (@iyear)
- d3c02af: chore(prj): optimize imports (@iyear)
- 6f61b1c: chore(prj): use golangci-lint (@iyear)
- 8828fcf: chore(test): delete mp3 to speed up e2e test (@iyear)
- b80de1b: test(e2e): add download test (@iyear)
- 2bc4a78: test(e2e): add mp3 test data (@iyear)
- 12fdbb8: test(e2e): use By method to log step (@iyear)
v0.9.7
Changelog
Others
- fc80733: chore(deps): bump github.com/antonmedv/expr from 1.12.7 to 1.13.0 (#268) (@dependabot[bot])
- 175d5eb: chore(deps): bump github.com/go-faster/jx from 1.0.1 to 1.1.0 (#266) (@dependabot[bot])
- 0a1438b: chore(deps): bump github.com/go-playground/validator/v10 (#262) (@dependabot[bot])
- b084407: chore(deps): bump github.com/tidwall/gjson from 1.15.0 to 1.16.0 (#267) (@dependabot[bot])
- ce460a7: chore(deps): bump golang.org/x/net from 0.13.0 to 0.14.0 (#263) (@dependabot[bot])
v0.9.6
Changelog
Documentation updates
Others
- 6210e8e: chore(deps): bump github.com/beevik/ntp from 1.2.0 to 1.3.0 (#257) (@dependabot[bot])
- 4893339: chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.6 to 3.23.7 (#258) (@dependabot[bot])
- ab8095d: chore(deps): bump go.uber.org/zap from 1.24.0 to 1.25.0 (#260) (@dependabot[bot])
- 7fca049: chore(deps): bump golang.org/x/net from 0.12.0 to 0.13.0 (#259) (@dependabot[bot])
v0.9.5
Changelog
Bug fixes
- 60805d4: fix(chat): apply the latest peers when list chats. #253 (@iyear)
- e092697: fix(tplfunc): weak formatDate func. #193 (@iyear)
- b545b39: fix(util): fix mp4 parse failed. #221 (@iyear)
Documentation updates
Others
- e6fea3f: chore(dcpool): logging takeout session id (@iyear)
- 9bc93ce: chore(deps): bump github.com/gotd/td from 0.83.0 to 0.84.0 (#252) (@dependabot[bot])
- b3b1d6e: chore(deps): bump github.com/mattn/go-runewidth from 0.0.14 to 0.0.15 (#251) (@dependabot[bot])
- c5350a0: chore(deps): bump github.com/onsi/gomega from 1.27.8 to 1.27.10 (#250) (@dependabot[bot])
- 9d5b547: chore(deps): bump github.com/tidwall/gjson from 1.14.4 to 1.15.0 (#254) (@dependabot[bot])
- 3b0316e: chore(release): longer timeout (@iyear)
- f4ae9fe: chore(uploader): remove deprecated DurationSeconds (@iyear)