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)