github mtcute/mtcute v0.7.0

latest releases: v0.32.7, v0.32.6, v0.32.5...
2 years ago

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 into core. 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

Don't miss a new mtcute release

NewReleases is sending notifications on new releases.