{"_id":"5703d527bb69fc1700553ce5","__v":1,"initVersion":{"_id":"5703d527bb69fc1700553ce3","version":"0.0.6"},"project":"5703d527bb69fc1700553ce0","user":{"_id":"5631f962c3b04b0d00ba9bf1","username":"","name":"Yann Badoual"},"createdAt":"2016-04-05T15:09:27.671Z","changelog":[{"_id":"5703e93499543c2900e9dbaa","update":"","type":"added"}],"body":"This 5th beta improves stability a lot, including in the use of threads.\n\nChangelog:\n- Updated sample and README to provide an easy-to-run example on how to signIn and getDialogs\n- Moved all parameters common parameters of same type constructors into the abstraction superclass for more convenience (avoid having to cast each time)\n- Forced UTF-8 usage when converting strings from/to bytes\n- Now automatically handles `FILE_MIGRATE_X` error when downloading a file, a new connection to the appropriate DC will be created and the request will be executed there (this case may add some additional delay)\n- Completely removed the \"reactive client\" for now\n- Improve thread usage/cleaning after usage\n- Added method to change your client's timeout\n- Fixed some bad connection to Telegram by using a \"retry policy\" which will close the bad socket, and open a new one to retry once\n- Refactored `TLContext` class to fix various bugs related to serialization/deserialization\n- Refactored methods taking a `TLVector<>` as an argument to accept a covariant version. It'll be useful for example when taking a `TLVector<TLAbsInput>` you can now give a `TLVector<TLInputUser>`\n- Added convenience methods to get cast version of object if the type has only 2 constructors, and one of them is an \"empty\" type constructor (ie: `TLAbsUser` has `TLUser` and `TLUserEmpty` constructors). You can just call `isEmpty()` or `getAsUser()` in this case","slug":"welcome-to-kotlogram","title":"Beta 5"}

Beta 5


This 5th beta improves stability a lot, including in the use of threads. Changelog: - Updated sample and README to provide an easy-to-run example on how to signIn and getDialogs - Moved all parameters common parameters of same type constructors into the abstraction superclass for more convenience (avoid having to cast each time) - Forced UTF-8 usage when converting strings from/to bytes - Now automatically handles `FILE_MIGRATE_X` error when downloading a file, a new connection to the appropriate DC will be created and the request will be executed there (this case may add some additional delay) - Completely removed the "reactive client" for now - Improve thread usage/cleaning after usage - Added method to change your client's timeout - Fixed some bad connection to Telegram by using a "retry policy" which will close the bad socket, and open a new one to retry once - Refactored `TLContext` class to fix various bugs related to serialization/deserialization - Refactored methods taking a `TLVector<>` as an argument to accept a covariant version. It'll be useful for example when taking a `TLVector<TLAbsInput>` you can now give a `TLVector<TLInputUser>` - Added convenience methods to get cast version of object if the type has only 2 constructors, and one of them is an "empty" type constructor (ie: `TLAbsUser` has `TLUser` and `TLUserEmpty` constructors). You can just call `isEmpty()` or `getAsUser()` in this case