Commit graph

1286 commits

Author SHA1 Message Date
5964f69112 v0.17.1 2024-10-09 09:32:31 +00:00
9b32cf9c4a
fix(core): findDialogs failing with just one unknown id 2024-10-09 11:55:15 +03:00
fefc8d38a7
fix(html-parser)!: keep whitespaces in interpolated strings
might be breaking as someone could be relying on this despite being a bug. to fix existing code wrap the string in `html(...)`
2024-10-07 00:57:23 +03:00
868082260e v0.17.0 2024-10-05 20:26:38 +00:00
f89d0bc59d
feat!: updated to layer 189
breaking:
- removed `reportStory` method (report flow changed, and i dont want to get into it rn)
- removed `sourceType` from SticketSet as stickersets can now be mixed
2024-10-05 23:03:02 +03:00
0692de2179
fix: websocket fix 2024-10-04 03:29:38 +03:00
6361f4f64a
fix(core): auto-correct invalid filenames for uploaded photos 2024-10-02 03:30:59 +03:00
ecddcad012
fix(core): updated error reporting url 2024-10-02 02:41:34 +03:00
0cff4113f3
chore!: migrate to fuman Emitter
breaking: all events now use Emitter interface (`.on(event, ...) => `.onEvent.add(...)`)
2024-10-01 04:03:18 +03:00
26d068eeb2
fix: improved ping handling 2024-09-29 04:13:52 +03:00
677c534fb2
fix: copy in intermediate codec 2024-09-29 04:13:51 +03:00
5e26949560
chore!: use maps/sets from fuman 2024-09-29 04:13:51 +03:00
d50baeaaa3
build: slow-types-compiler -> @fuman/jsr 2024-09-29 04:13:51 +03:00
19ab208be0
chore!: use deque from fuman 2024-09-29 04:13:51 +03:00
8b4f4984a1
test: fixed tests 2024-09-29 04:13:51 +03:00
a7ae3735c6
chore: minor cleanup 2024-09-29 04:13:51 +03:00
cb04b111a5
chore!: moved away from global platform 2024-09-29 04:13:50 +03:00
2ac7cbd35b
test: fixed some tests 2024-09-29 04:13:50 +03:00
f3c0daa835
chore!: use more utils from fuman 2024-09-29 04:13:50 +03:00
4668b356db
chore: use fuman streams when uploading 2024-09-29 04:13:50 +03:00
eebf95c6ec
chore!: moved to @fuman/utils for common stuff
breaking: some utils were removed from @mtcute/core/utils.js, use them from @fuman/utils instead
2024-09-29 04:13:50 +03:00
66786064e3
chore: use hex/base64/utf from @fuman/utils 2024-09-29 04:13:50 +03:00
baef78403e
chore!: migrated proxies to fuman
breaking: http-proxy, socks-proxy and mtproxy packages are deprecated, proxified implementations are available in runtime-specific packages
2024-09-29 04:13:50 +03:00
d512da6831
chore: initial migration to fuman networking 2024-09-29 04:13:48 +03:00
7235240bac v0.16.14 2024-09-29 00:13:14 +00:00
f621b0e81a
fix: import EventEmitter from events, not node:events
thanks sindresorhus for not making an option to disable this lint for a specific package lol
2024-09-29 02:54:00 +03:00
d52682acc3 v0.16.13 2024-09-28 22:15:45 +00:00
a586327a97
docs: added info on updating the schema 2024-09-29 00:26:47 +03:00
b01a99265b
fix(core): throw unexpected errors in .start() 2024-09-29 00:16:30 +03:00
04368ec2a0
fix(core): correctly apply min peers to local cache 2024-09-29 00:16:26 +03:00
b1a756a8ea
fix(core): improved min chats handling in update manager 2024-09-28 23:24:35 +03:00
bca7bb1cf2
build(node): bumped better-sqlite3 2024-09-28 22:39:46 +03:00
2d274b87ce
docs(core): added link to official docs in .isMin 2024-09-28 22:02:08 +03:00
412f1af120
feat(dispatcher): added getCompleteChat and withCompleteChat, similar to getCompleteSender withCompleteSender 2024-09-28 21:43:40 +03:00
4952d33261
fix(core)!: improved min chats handling
breaking:
- `IPeersRepository.PeerInfo` has new field `isMin`
- `getById` has a new argument `allowMin` describing whether it's allowed to return peers where `.isMin == true`
- `getByUsername`, `getByPhone` changed logic: they should *never* return peers where `.isMin == true`
2024-09-28 21:40:57 +03:00
c92292249b
feat(core): isPeerAvailable method 2024-09-28 17:26:26 +03:00
baa8d287c6
fix(create-bot): disable antfu/no-top-level-await rule 2024-09-27 14:35:25 +03:00
8f6bf427b1 v0.16.12 2024-09-26 11:28:19 +00:00
e56296d123
fix(file-id): bumped CURRENT_VERSION 2024-09-26 14:02:42 +03:00
f149a46ae5 v0.16.11 2024-09-24 21:14:32 +00:00
4889b055a6
ci: returned jsr publishing 2024-09-24 23:54:38 +03:00
e7d61d08cd
build(wasm): do not inline wasm blob
oops lol totally missed this
2024-09-24 23:50:20 +03:00
9cd0bc0290 v0.16.10 2024-09-18 22:51:55 +00:00
f70993131a
fix(core)!: ChatJoinRequest#chatId not marked 2024-09-19 01:22:51 +03:00
318dbd6548 v0.16.9 2024-09-07 21:55:41 +00:00
743fd6223c
build: added import/extensions rule 2024-09-08 00:34:52 +03:00
5b00ce4a63
feat(core): expose untilDate in banChatMember 2024-09-08 00:31:39 +03:00
69f715e814
fix: openChat for bot accounts 2024-09-07 23:54:20 +03:00
a302d983f6
chore(bun): use zlib and pbkdf from node:* 2024-09-07 19:37:31 +03:00
927ff1cf4e
fix: avoid eval in makeInspectable 2024-09-07 19:18:50 +03:00