Releases: mtcute/mtcute
Releases · mtcute/mtcute
v0.9.0
core
- 3074e9b: build(deps): updated vitest
- 142dddd: refactor: moved most of sqlite implementation to core
- 1e780ec: feat:
@mtcute/bun
package for initial first-class bun support
tl-utils
- 3074e9b: build(deps): updated vitest
- b4099f1: build: fixed vitest version in @mtcute/test + fixed vite configs
test
- b4099f1: build: fixed vitest version in @mtcute/test + fixed vite configs
dispatcher
- 142dddd: refactor: moved most of sqlite implementation to core
node
- 5083560: ❗ BREAKING chore!: moved @mtcute/sqlite into @mtcute/node
breaking: @mtcute/sqlite no longer exists - 1e780ec: feat:
@mtcute/bun
package for initial first-class bun support
bun
- 1e780ec: feat:
@mtcute/bun
package for initial first-class bun support
tl-runtime
- 1e780ec: feat:
@mtcute/bun
package for initial first-class bun support
create-bot
- 9d34d90: feat(create-bot): support bun
v0.8.2
v0.8.1
v0.8.0
core
- be899af: fix(core): infinite bad_msg_notification 17 when system time is wrong
- ceb606a: fix(core): hide _parsedStatus from inspect
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- fb72d31: fix: properly handle file uploads + downloading as node stream
- fbf5c8f: ❗ BREAKING chore!: removed
@mtcute/wasm
dependency from core
breaking:WasmCryptoProvider
no longer exists - 42f1482: build(core): improved tree-shakeability
- d87a11b: build: added
sideEffects: false
- b9f8fd5: fix(core): try to use symbol for platform
- 83746aa: feat: initial support for connection states
- ab2425a: feat: support for "updating" states + improved catch up a bit
- c9a4558: fix: download threads never connecting
- f7d6e67: feat(core):
withParams
method - 81a12a8: fix(core): send connection state through worker
- 14a54f5: fix(core): check for message id in _findMessageInUpdate
- 999c18c: fix(core): check for message id in _findMessageInUpdate (#23)
- 6828d56: feat(tl): updated to layer 176
crypto-node
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
dispatcher
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- fb72d31: fix: properly handle file uploads + downloading as node stream
- d87a11b: build: added
sideEffects: false
file-id
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- d87a11b: build: added
sideEffects: false
http-proxy
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- 9420f15: fix: tsconfig refs
mtproxy
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- 9420f15: fix: tsconfig refs
node
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- fb72d31: fix: properly handle file uploads + downloading as node stream
- 83746aa: feat: initial support for connection states
socks-proxy
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- 9420f15: fix: tsconfig refs
sqlite
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
test
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- fb72d31: fix: properly handle file uploads + downloading as node stream
tl-runtime
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- fb72d31: fix: properly handle file uploads + downloading as node stream
- d87a11b: build: added
sideEffects: false
tl
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- ddc8f1d: feat(tl): scrape schema from weba/k sources
- 6828d56: feat(tl): updated to layer 176
wasm
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- fb72d31: fix: properly handle file uploads + downloading as node stream
- 9420f15: fix: tsconfig refs
- 791a3a5: fix: wasm build and e2e fixes
- f274dfe: fix(core): use workaround for wasm loading
- fea8d93: fix: only-if-esm for getWasmUrl
- d87a11b: build: added
sideEffects: false
web
- a2739b6: ❗ BREAKING chore!: started extracting platform-specific stuff into separate packages
- fb72d31: fix: properly handle file uploads + downloading as node stream
- f274dfe: fix(core): use workaround for wasm loading
- baa4ccf: fix(core): web worker implementation
- fbf5c8f: ❗ BREAKING chore!: removed
@mtcute/wasm
dependency from core
breaking:WasmCryptoProvider
no longer exists - 56b2fe7: fix(web): worker fixes
- d87a11b: build: added
sideEffects: false
- d64aa47: fix(web): export websocket
- 83746aa: feat: initial support for connection states
html-parser
- d87a11b: build: added
sideEffects: false
markdown-parser
- d87a11b: build: added
sideEffects: false
tl-utils
create-bot
- f9d9133: fix(create-bot): NodeTelegramClient -> TelegramClient
convert
- 2fe476c: feat: initial support for session conversion
v0.7.2
v0.7.1
v0.7.0
Warning
there was a large internals refactor in this release. while most of the surface apis remained the same,
the following should be noted:
- storage format has changed in incompatible way.
while a migration is available for sqlite storage, it may break requiring to either re-login or export-then-import - json-based storages (json file and localstorage) were deprecated and removed
client
has been merged intocore
. it should be safe to replace all@mtcute/client
imports with@mtcute/core
.
if you use@mtcute/node
everything should work as-is- dispatcher no longer implicitly converts storage. see docs for an example
core
- eca99a7: ❗ BREAKING refactor!: large refactor of storage implementation
breaking: pretty much the entire storage thing has been overhauled.
migrations from older versions are not available, please do them manually through string sessions - c8e026d: ❗ BREAKING refactor!: merged client into core + fixed dispatcher for new storage
- 6768b15: fix: tests
- 20a46c5: fix: e2e
- ac3b5df: ❗ BREAKING refactor!: renamed MaybeAsync -> MaybePromise
- 7036fe1: fix: fixed handling of -404
- e6c7af6: feat: updated to layer 173
- 27e1447: feat: app config manager
- 99bd1bc: feat: resolveUser and resolveChannel methods + refactor to use them
- 5d137a9: fix(core): check pq for primality
- a17604b: fix(core): websocket reconnection
- 8460cc3: feat(tl): updated to 174 layer
- 2d01b38: feat(core): support new message actions
dispatcher
- eca99a7: ❗ BREAKING refactor!: large refactor of storage implementation
breaking: pretty much the entire storage thing has been overhauled.
migrations from older versions are not available, please do them manually through string sessions - c8e026d: ❗ BREAKING refactor!: merged client into core + fixed dispatcher for new storage
- 6768b15: fix: tests
- ac3b5df: ❗ BREAKING refactor!: renamed MaybeAsync -> MaybePromise
- cc5cb31: fix(sqlite): added migrations for older storage schema
file-id
- eca99a7: ❗ BREAKING refactor!: large refactor of storage implementation
breaking: pretty much the entire storage thing has been overhauled.
migrations from older versions are not available, please do them manually through string sessions - c8e026d: ❗ BREAKING refactor!: merged client into core + fixed dispatcher for new storage
sqlite
- eca99a7: ❗ BREAKING refactor!: large refactor of storage implementation
breaking: pretty much the entire storage thing has been overhauled.
migrations from older versions are not available, please do them manually through string sessions - c8e026d: ❗ BREAKING refactor!: merged client into core + fixed dispatcher for new storage
- 6768b15: fix: tests
- cc5cb31: fix(sqlite): added migrations for older storage schema
test
- eca99a7: ❗ BREAKING refactor!: large refactor of storage implementation
breaking: pretty much the entire storage thing has been overhauled.
migrations from older versions are not available, please do them manually through string sessions - c8e026d: ❗ BREAKING refactor!: merged client into core + fixed dispatcher for new storage
- 6768b15: fix: tests
- ac3b5df: ❗ BREAKING refactor!: renamed MaybeAsync -> MaybePromise
html-parser
- c8e026d: ❗ BREAKING refactor!: merged client into core + fixed dispatcher for new storage
- 4e78b64: fix: fixed build for other packages
- 6768b15: fix: tests
i18n
- c8e026d: ❗ BREAKING refactor!: merged client into core + fixed dispatcher for new storage
- 4e78b64: fix: fixed build for other packages
- 6768b15: fix: tests
markdown-parser
- c8e026d: ❗ BREAKING refactor!: merged client into core + fixed dispatcher for new storage
- 4e78b64: fix: fixed build for other packages
- 6768b15: fix: tests
node
- c8e026d: ❗ BREAKING refactor!: merged client into core + fixed dispatcher for new storage
- 4e78b64: fix: fixed build for other packages
tl
- c8e026d: ❗ BREAKING refactor!: merged client into core + fixed dispatcher for new storage
- 6768b15: fix: tests
- e6c7af6: feat: updated to layer 173
- 27e1447: feat: app config manager
- 8460cc3: feat(tl): updated to 174 layer
create-bot
- 80850c9: fix(create-bot):
pnpm run run -> pnpm start
v0.6.0
v0.4.0
client
- c278599: feat(client): allow disabling updates manager
- 8e07d7f: fix(client): do not propagate Conversation updates
- c538c2b: fix(core): allow storage reset to be async
- 0bdf778: ❗ BREAKING chore(client)!: renamed some methods
breaking:setProfilePhoto
->setMyProfilePhoto
setUsername
->setMyUsername
setEmojiStatus
->setMyEmojiStatus
- 3eaceed: feat(client): support public/personal/video profile photos in
Chat
- 391049b: fix(client): file download cancellation issues
- c175e41: ❗ BREAKING feat!: updated to layer 169
breaking:- boost related methods re-done to allow for multiple boosts per user
BotKeyboard.requestPeer
andpeer_chosen
changed
core
- 02a6a0e: fix(core): proper exit cleanup in json file
- c538c2b: fix(core): allow storage reset to be async
- 7e0f172: fix(core): incomplete session reset
- ca1916c: fix(core): do not close connection by inactivity when there are pending queries
sqlite
- 62e8e3b: fix(sqlite): cleanup on exit
- 81eb664: fix(sqlite): dangling timeout when multiple .load() calls
test
- c538c2b: fix(core): allow storage reset to be async
tl
- c175e41: ❗ BREAKING feat!: updated to layer 169
breaking:- boost related methods re-done to allow for multiple boosts per user
BotKeyboard.requestPeer
andpeer_chosen
changed
v0.3.0
client
- 9ed5872: fix(client): use quoteOffset for quotes
- 1cdb75a: feat(client): accept
online
as schedule date - 8050f8c: fix(client): use inputMessageCallbackQuery
- aaa2875: fix(core): support opting out of -503 resending
- ee9e2e3: feat(client): sequential message sending
- f4ee1f5: ❗ BREAKING chore(client)!: improved translate* methods
breaking: both methods now returnTextWithEntities
- e259701: fix(client): new codegen issues with
.run
method - 2728166: ❗ BREAKING refactor(client)!: extracted inline callback query into a separate update
breaking:CallbackQuery
->CallbackQuery
andInlineCallbackQuery
also removed some redundant fields - 69f59ab: feat(client):
openChat
method - 712c1e8: fix(client): added
true
assertions to methods returningBool
- 886858d: refactor(client): isSelfPeer method
dispatcher
- 8050f8c: fix(client): use inputMessageCallbackQuery
- 2728166: ❗ BREAKING refactor(client)!: extracted inline callback query into a separate update
breaking:CallbackQuery
->CallbackQuery
andInlineCallbackQuery
also removed some redundant fields
tl-utils
- ce3cebf: fix(tl): repalce %d in descriptions
tl
- ce3cebf: fix(tl): repalce %d in descriptions
core
- b6fac07: fix(core): cleanly close connection on inactivity timeout
- aaa2875: fix(core): support opting out of -503 resending
- d1e4a15: feat(core): requests chaining
- ce2d1b0: fix(core): getState requests not scheduling properly
- 987de65: feat(core): handle future salts
- 56c2085: ❗ BREAKING feat(core)!: future salts storage
breaking:ITelegramStorage
interface changed - 314bfa0: fix(core): export
MemoryStorage
- 3835862: feat(core): allow passing rpc call options by proxy
- 712c1e8: fix(client): added
true
assertions to methods returningBool
- dfed3c2: ❗ BREAKING chore(core)!: disallow passing api id as string
sqlite
- 56c2085: ❗ BREAKING feat(core)!: future salts storage
breaking:ITelegramStorage
interface changed
test
- 56c2085: ❗ BREAKING feat(core)!: future salts storage
breaking:ITelegramStorage
interface changed