Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Releases: badoualy/kotlogram

1.0.0 RC3

06 Aug 10:35
Compare
Choose a tag to compare
1.0.0 RC3 Pre-release
Pre-release
  • Fix file download throwing BAD_LIMIT
  • Attempt to fix #33 (removed KEEP_ALIVE flag)
  • Convert samples to Kotlin
  • Fix broken samples
  • Removed maven plugin (and thus artifact) for tl-builder and sample modules

1.0.0 RC2

26 Jul 03:58
Compare
Choose a tag to compare
1.0.0 RC2 Pre-release
Pre-release

Set java level to 7 as a first step to support Android

1.0.0 RC1

17 Jun 08:46
Compare
Choose a tag to compare
1.0.0 RC1 Pre-release
Pre-release

Layer 66

Too many changes to list :)

Beta 6

29 Mar 10:05
Compare
Choose a tag to compare
Beta 6 Pre-release
Pre-release

Like beta 5, this 6th beta increases stability a lot, add some utils methods for Kotlin (using extension methods)

Changelog:

  • Switched to SocketChannel, now using Java NIO
  • Improved tl-builder module, fixed some bugs due to flag fields
  • Implemented a client pool, to keep connection opened, using nio selectors
  • Now using travis for CI
  • Handle time sync to solve bad message id
  • Implemented unit testing for the serialization/deserialization phase
  • Execute a first RPC call when creating connection to start updates
  • Fixed some bugs when deserializing TLVector of Integer, Long or String
  • Fixed update callback sometimes blocking the thread when calling a client method in the listener
  • Fixed some missing message ack
  • Handle NETWORK_MIGRATE_ error
  • All API methods now throws RpcErrorException
  • Update Kotlin to latest version

Beta 5

05 Feb 07:06
Compare
Choose a tag to compare
Beta 5 Pre-release
Pre-release

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

Beta 4

23 Jan 10:56
Compare
Choose a tag to compare
Beta 4 Pre-release
Pre-release
  • Rewrote tl-builder module from scratch using JavaPoet library, it'll be easier to maintain it through new syntax changes (such as flags introduction)
  • Update to layer 45

Beta 3

19 Jan 08:18
Compare
Choose a tag to compare
Beta 3 Pre-release
Pre-release
  • Disabled reactiveX client until I can figure out a way to easily maintain both versions
  • Fixed the whole initialization step where a lot of bugs could happen if the phone number's data center was different from the server nearest
  • Temporarily switched from SecureRandom to Random to test performances
  • Added automatic migration when receiving PHONE_MIGRATE_X from Telegram
  • Added convenience method to download a user profile photo (and chat)

Beta 2

11 Jan 14:35
Compare
Choose a tag to compare
Beta 2 Pre-release
Pre-release
  • Added reactive client implementation (ReactiveX)
  • Fixed javadoc errors

Beta 1

03 Jan 12:28
Compare
Choose a tag to compare
Beta 1 Pre-release
Pre-release

First beta version with possibility to:

  • Create a synchronous client using Kotlogram.getDefaultClient() method
  • Execute any method via the matching method in the client (or via executeRpcQuery method)

The objectives for the future versions are:

  • Improve error handling
  • Add update handling