Commit graph

122 commits

Author SHA1 Message Date
e4e51f7d90
docs: fixed nbsp handling, updated to layer 165 2023-10-03 19:34:12 +03:00
dbcd3f0911
feat(tl): updated to 164 layer 2023-09-24 20:22:09 +03:00
befbceaf8a
chore: changed prettier width to 120 2023-09-24 01:32:22 +03:00
7a6a30ea5c
chore: export core utils from @mtcute/core/utils 2023-09-21 13:18:09 +03:00
85d2c5f305
fix: test fixes 2023-09-21 02:53:08 +03:00
b8f63b0634
feat(tl): static object size computation
closes MTQ-21
2023-09-20 18:37:26 +03:00
4b7d7d2e35
refactor: reworked errors codegen 2023-09-06 23:54:51 +03:00
81ce550604
chore: improved eslint config
closes MTQ-54
2023-09-03 02:37:51 +03:00
13c0a97a58
fix: rebase fixes 2023-07-24 00:14:37 +03:00
6221a8716f
fix: handle vectors of primitives in rpc_result 2023-07-20 22:07:07 +03:00
99e83b40aa
feat(codegen): support bare types and vectors
closes MTQ-48
2023-07-20 20:22:57 +03:00
d3338f6614
fix: build fixes + updated to 160 schema 2023-07-20 17:51:24 +03:00
d88bc0ea60
chore: code quality improvements
improved eslint config, fixed linter issues, added husky
2023-06-05 00:30:48 +00:00
0471310382
chore: better dependencies management
updated and pinned dependencies
added validation for external deps conflicts
removed tl-reference
2023-06-04 17:00:33 +00:00
teidesu
8df099fcb8 feat: updated to layer 150 2022-12-07 14:13:24 +03:00
teidesu
89fd8e8ef0 feat(tl): updated schema to 147 2022-10-30 18:49:55 +03:00
teidesu
71b39d6f53 feat(tl): generate diff file for simpler update flow
primarily for my own use
2022-10-30 18:38:31 +03:00
teidesu
8adb79511f feat(tl): updated layer to 146 2022-09-28 00:42:21 +03:00
teidesu
d0ea4ed5ca refactor: changed stylizing of the name (MTCute -> mtcute) 2022-09-14 16:18:56 +03:00
teidesu
77bfef98d1 feat: updated to 145 layer 2022-09-12 13:54:33 +03:00
teidesu
390b65f796 build(docs): api reference generation improvements
- added readme in each package
- updated typedoc, fixed related issues
- use @link instead of @see
- moved configs to typedoc.js, improved exclusion of unneeded stuff
- custom plugin for typedoc for cross-package references
- preparing to move documentation to separate repository
2022-08-24 23:37:26 +03:00
teidesu
26b96c3151 refactor(tl-utils): export everything in index.ts 2022-08-12 20:11:27 +03:00
teidesu
16fdd5ded1 fix(tl): better {@link} generation from documentation 2022-08-12 17:46:04 +03:00
teidesu
b34a90ec30 build: updated layer to 144 2022-08-12 16:17:35 +03:00
teidesu
afb07534f9 feat(tl): added blogfork domain, auto-choose domain for docs 2022-08-12 16:16:44 +03:00
teidesu
a3aca20099 build: updated name in package.json files 2022-07-18 23:32:11 +03:00
teidesu
e68c9f4bb5 refactor: prettier-ed code, rearranged imports, fixed tests 2022-06-30 16:32:56 +03:00
teidesu
1a60b39214 build: added script for bumping version with dependencies 2022-06-29 22:00:34 +03:00
teidesu
2c3529870a feat(client): updated to layer 143
also fixed some minor bugs
2022-06-18 22:47:31 +03:00
teidesu
e0d1102408 fix(tl): bumped minor version 2022-06-05 23:05:15 +03:00
teidesu
02462dac16 fix(tl): correctly process vector<bytes>
fml why am i even doing this
2022-06-05 21:36:12 +03:00
teidesu
9034810ccd tl: updated to layer 142 2022-05-14 20:30:36 +03:00
teidesu
63d0ea2ddf feat(client): support join requests 2022-05-09 17:25:38 +03:00
teidesu
4f0f16e4a4 fix(tl): improved documentation downloader
- fixed invalid {@link} directives
- fixed underscored parameters being transformed
- fixed using raw layer number (instead of actual)
2022-05-09 17:18:18 +03:00
teidesu
44e6ffd368 fix(tl): insert true flags after flags field, support multiple flags fields, updated tests 2022-04-29 16:36:41 +03:00
teidesu
a1ea1315df tl: updated to layer 140 2022-04-28 17:23:44 +03:00
teidesu
2289cc690d build: migrated to pnpm, updated and cleaned up deps 2022-04-28 16:58:09 +03:00
teidesu
9493759572 build: updated to layer 139
didn't add any new layers' features, only bumped layer
2022-04-01 22:17:10 +03:00
teidesu
ec736f8590 some changes
i've been wanting to name a commit like this for my entire life, lol. seriously though, a lot has changed:
 - extracted TL-related stuff to `@mtcute/tl-utils` and `@mtcute/tl-runtime`, rewrote codegen in TS
 - updated to layer 134, moved to int64 identifiers
 - rewritten networking (mtproto), rewritten updates handling
 - *lots* of refactoring

 still a very early version though, there are a lot of improvements to be made, but at least it runs, lol

 also tl-reference will not be updated anytime soon because i want to rewrite it
2021-11-23 00:03:59 +03:00
teidesu
49eda8f0e3 fix(core): fix bare types and mt_message writing 2021-08-19 23:09:44 +03:00
teidesu
4b22ee5b25 rename back to mtcute
idk lol
2021-08-05 20:38:24 +03:00
teidesu
a8d3543e64 build: preparing for publish, moved to strict typescript, fixed some stuff 2021-07-30 17:40:50 +03:00
teidesu
d4f07aa07c feat(tl): added types for reactions, also added ability to augment schema from file 2021-07-25 23:19:12 +03:00
teidesu
2f1c8548a0 build: renamed to mtqt 2021-07-25 21:03:40 +03:00
teidesu
b03e2f4f0b fix(tl): updated schema
god i love when telegram changes schema in a backwards-incompatible way and doesn't change layer number because they dont give a slightest fuck on third party mtproto implementations
2021-07-24 23:21:52 +03:00
teidesu
3b523598ad build: changed license to lgplv3 2021-07-19 03:57:47 +03:00
teidesu
244948149a fix(tl): updated errors 2021-07-14 16:34:33 +03:00
teidesu
c2130dec9f build(tl): updated to layer 131 2021-07-06 18:02:26 +03:00
teidesu
d5e595d7cf fix: added MessageNotFoundError, improved getMessages, fixed methods that use it 2021-07-06 02:24:58 +03:00
teidesu
6215892090 fix(tl): fix optionals generation
i am fucking dumb
2021-07-05 22:46:36 +03:00
teidesu
ed0198f057 fix(tl): made randomId field required
i wanted to make it auto-fill itself but decided it would be too much hassle
2021-07-05 20:43:42 +03:00
teidesu
596362bb89 fix(tl): automatically resolve conflicts if layer is different 2021-06-27 15:06:42 +03:00
teidesu
ef68b414ad fix(tl): correctly handle constructors without id 2021-06-27 01:08:38 +03:00
teidesu
090f42e559 build(tl): updated to layer 130 2021-06-26 17:13:13 +03:00
teidesu
1abfc56474 feat(tl): merge schemas from tdlib and tdesktop 2021-06-26 16:22:19 +03:00
teidesu
bcce752dfd build: preparing for publish x4
at this point i'm too tired to describe what happened
2021-06-08 00:37:13 +03:00
teidesu
280c9f51aa build: preparing to publish (part 2)
fixed imports, package.json files, improved package generation for certain packages, and more (i'm too lazy to describe all the magic that i've done)
2021-06-06 19:23:43 +03:00
teidesu
ae2dbcf03f build: fixed scripts, eslintignore, fixed linter warnings and re-formatted with prettier 2021-06-06 15:20:41 +03:00
teidesu
599250d0af feat(tl-ref): history section, containing type history and older schemas 2021-06-05 17:46:58 +03:00
teidesu
685d75effd docs(tl): replace male pronouns with gender-neutral 2021-06-03 18:59:43 +03:00
teidesu
2daf497cc4 feat: updated to TL layer 129 2021-05-31 22:36:26 +03:00
teidesu
a6217c682d feat(core): support rpc timeouts 2021-05-16 02:50:43 +03:00
teidesu
f45b602423 fix(tl): improved bot-only methods detection 2021-05-16 02:07:23 +03:00
teidesu
6879ae945a feat(tl): generate switches instead of OR expressions
switches are WAY faster.
2021-05-11 23:27:09 +03:00
teidesu
320f4fdd24 fix(core): empty strings and zero numbers are also included in the flags and serialization 2021-05-09 14:34:52 +03:00
teidesu
2226428164 docs(tl): added missing venue provider 2021-05-04 13:09:22 +03:00
teidesu
c949709de2 fix(tl): added generate-errors script to generate-code 2021-04-14 22:50:29 +03:00
teidesu
958dd60c75 feat: tl reference web application
available at https://mt.tei.su/tl/
2021-04-14 18:08:53 +03:00
teidesu
eae2c7f459 feat(tl): additional descriptions for types and parameters without one
also updated to layer 126
2021-04-11 23:33:01 +03:00
teidesu
a6f9c02ef7 fix(tl): renamed errors.json to raw-errors.json to avoid confusion with js/ts files 2021-04-11 19:41:39 +03:00
teidesu
dd6e90bef6 feat(tl/codegen): made generate-errors emit errors list as a json file 2021-04-11 19:40:26 +03:00
teidesu
cd8ec8309f Initial commit 2021-04-08 12:19:38 +03:00