0.6.7-b1
Beta. Moves to TL layer 232 and fixes a few login and download bugs. Please try it and report anything odd.
Heads up
Layers 230 and 232 change some raw TL types, so this matters if you use the raw API:
payments.getStarGiftWithdrawalUrltakestmp_passwordinstead of an SRP password.inputPasskeyCredentialFirebasePNVis removed.- Several types gained fields, for example
bots.checkUsername(additional),auth.initFirebasePnvLogin(except_ids) andchannel(in_news,pinned_msg_id).
Added
- TL layers 230 and 232: wallet and TON Connect, onramp, share themes, no-paid-messages tokens, star gift methods and bot username methods. The new wallet updates arrive as
Update::Raw. BinaryFileBackend::owner_only(true)keeps the session file readable by its owner only (mode 0600 on Unix). It is off by default, so nothing changes unless you turn it on (#23).
Fixed
check_qr_loginalways failed withInvalidCode. It now pollsauth.exportLoginToken, andexport_login_tokenacceptsloginTokenSuccessafter a DC migration (#19).- Photo downloads returned a smaller file than
size()reported because progressive sizes were ignored. The largest size is used now (#21). download_mediano longer fails on photos (#21).- Transfers retry on the regular DC address when the media-only endpoint is unreachable (#22).
- Reply headers built from sent messages keep
quote_rich. RawUpdate::constructor_idreturned stale ids forupdateMessagePollandupdateMessagePollVote.
Other
- Docs no longer claim downloads follow CDN redirects.
CdnDownloaderis not wired in yet (#20). - Dependencies:
libsql0.10,html5ever0.40.
Full Changelog: v0.6.6...v0.6.7-b1