Skip to content

Releases: celestix/gotgproto

GoTGProto v1.0.0-beta18

GoTGProto v1.0.0-beta17

05 Apr 18:54
d9e8596
Compare
Choose a tag to compare

What's Changed

  • Add support for logging in using tdesktop session data (TDATA) in #58
  • fix: FILE_REFERENCE_EXPIRED in ctx.DownloadMedia by @TeaDove in #62
  • Add support for using any SQL dialector (Now you can use database of your choice like postgres, sqlite, etc)
  • fix: EffectiveUser not getting populated for update types other than message.

Full Changelog: v1.0.0-beta16...v1.0.0-beta17

GoTGProto v1.0.0-beta16

29 Jan 20:45
3858369
Compare
Choose a tag to compare

What's Changed

  • add web auth example by @Emanxu in #49
  • Fixed ctx random seed to nanosecond to prevent the randomID generated… by @DukeAnn in #50
  • Docs: add floodwaiter example by @TeaDove in #51
  • support single styling.StyledTextOption by @CoiaPrant233 in #52

New Contributors

  • @Emanxu made their first contribution in #49
  • @DukeAnn made their first contribution in #50
  • @TeaDove made their first contribution in #51
  • @CoiaPrant233 made their first contribution in #52

Full Changelog: v1.0.0-beta15...v1.0.0-beta16

GoTGProto v1.0.0-beta15

13 Jan 07:31
Compare
Choose a tag to compare

What's Changed

  • Fix client.ExportStringSession() and add RunMiddleware field to client. by @KoNekoD in #41
  • Add an optional field to specify custom Context by @KoNekoD in #44
  • Bump golang.org/x/crypto from 0.16.0 to 0.17.0 by @dependabot in #47
  • Add an interface for AuthConversation by @celestix in #46
  • Add missing fields to gotgproto.Client from telegram.Client by @celestix in #48

Full Changelog: v1.0.0-beta14...v1.0.0-beta15

GoTGProto v1.0.0-beta14

16 Dec 17:24
4b543a4
Compare
Choose a tag to compare

What's Changed

  • Wrap session.Session around session data before exporting by @KoNekoD in #33
  • fix: ability to use dc resolver by @KoNekoD in #35
  • Update markdown.go by @jimpo26 in #36
  • Fix bug in retrieving replyTo messages and added flag to retrieve entire reply chain by @jimpo26 in #37
  • Redesign session initialization system by @celestix in #38
  • use pure go sqlite driver by @EverythingSuckz in #40

New Contributors

Full Changelog: v1.0.0-beta13...v1.0.0-beta14

GoTGProto v1.0.0-beta13

24 Sep 09:58
Compare
Choose a tag to compare
  • Updated to GoTD to v0.88.0 (Layer 164)
  • Redesigned session initialization (Now supports logging in with just string session in memory as well as session file)
  • Added Middlewares and Device fields to ClientOpts
  • ForwardMediaGroup won't omit error now

Full Changelog: v1.0.0-beta10...v1.0.0-beta13

GoTGProto v1.0.0-beta12

23 Sep 22:07
daa6446
Compare
Choose a tag to compare

What's Changed

  • Refactoring for correct using InMemory Feature by @KoNekoD in #32

Full Changelog: v1.0.0-beta11...v1.0.0-beta12

GoTGProto v1.0.0-beta11

06 Sep 21:29
90b7499
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0-beta10...v1.0.0-beta11

GoTGProto v1.0.0-beta10

21 May 19:35
Compare
Choose a tag to compare

GoTGProto Changelog

  • Updated GoTD to v0.82.0
  • Deprecated ctx.ForwardMessage (Use ctx.ForwardMessages now)
  • Replaced BigCache with Cacher for cache
  • Fixed high memory usage by gotgproto (uses around 5MBs now, earlier it was 100+ MBs)
  • Rewrote GoTGProto client utilities, it should be more handy and cleaner to create a new client now.
  • Added a new dispatcher.Dispatcher interface
  • Renamed dispatcher.CustomDispatcher to dispatcher.NativeDispatcher
  • Made some optimizations in command and message handlers
  • Added types.Message, which is a union of tg.Message, tg.MessageService, and tg.MessageEmpty structs.
  • ext.Update.EffectiveMessage is of the type *types.Message now.
  • Added a new optional field in ClientOpts, named AutoFetchReply (setting this field to true will automatically cast ReplyToMessage field in update.EffectiiveMessage)
  • Peers for logged in user will now be saved in session while starting client.
  • Added client.ExportSessionString(), client.RefreshContext(ctx) and client.CreateContext() methods to gotgproto.Client.
  • Removed an unintentional display of session data in Stdout.
  • Added SystemLangCode and ClientLangCode optional fields to gotgproto.Client.
  • Moved helper methods errors to errors package (gotgproto/errors)
  • Added gotgproto.Client.Stop() to cancel the running context and stop the client.
  • Added dispatcher.StopClient handler error, which if returned through a handler callback will result in stopping the client.
  • Added gotgproto.Client.Start() to login and connect to telegram (It's already called by gotgproto.NewClient so no need to call it again. however, it should be used to re-establish a connection once it's closed via gotgproto.Client.Stop())
  • Fixed session database initialization happening twice per login.

Full Changelog: anonyindian/gotgproto@v1.0.0-beta09...v1.0.0-beta10

GoTGProto v1.0.0-beta09

14 Mar 13:00
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: anonyindian/gotgproto@v1.0.0-beta08...v1.0.0-beta09