Skip to content

Releases: nitreojs/puregram

v2.8.1

22 Jun 10:07
Compare
Choose a tag to compare

BRIEF CHANGES

  • added service_message and passport_data updates

article: puregram.starkow.dev/v2.8.1
full changelog: v2.8.0...v2.8.1

v2.8.0

21 Jun 15:57
Compare
Choose a tag to compare

BRIEF CHANGES

  • upgraded Updates.on
  • fixed HearManager.hear being too long for suggestions
  • added support for Bot API v6.1

article: puregram.starkow.dev/v2.8.0
full changelog: v2.7.4...v2.8.0

v2.7.4

12 Jun 10:32
Compare
Choose a tag to compare

BRIEF CHANGES

  • allowed to clone contexts via clone(params?) method

article: puregram.starkow.dev/v2.7.4
full changelog: v2.7.3...v2.7.4

v2.7.3

11 Jun 17:25
Compare
Choose a tag to compare

BRIEF CHANGES

  • deprecated NodeMixin.deleteMessage(), use NodeMixin.delete(params?) instead
  • introduced NodeMixin.copy(params?) and NodeMixin.forward(params?)
  • deprecated Message.forwardMessage, use Message.forwardedMessage instead
  • fixed mergeMediaEvents

article: puregram.starkow.dev/v2.7.3
full changelog: v2.7.2...v2.7.3

v2.7.2

10 Jun 16:56
Compare
Choose a tag to compare

v2.7.0

18 May 14:12
Compare
Choose a tag to compare

what's changed

  • created MediaGroup class; you can access it in mediaGroup field for MessageContext
  • added isMediaGroup for MessageContext
  • refactored MessageContext's serializing
  • allowed disabling dispatching for Updates.handleUpdate method (useful for manual update processing)
  • updated DEFAULT_OPTIONS with fresh options
  • rearranged sizes in PhotoAttachment serializing
  • removed sizes field in PhotoAttachment serializing

full changelog: v2.6.5...v2.7.0

v2.6.5

17 May 19:02
Compare
Choose a tag to compare

what's changed

  • context.sendMediaGroup now supports MediaInput (MediaSource values)
  • added Updates.dropPendingUpdates(...)
  • fixed applyMixins overwriting existing getters/setters
  • refactored debugging