Skip to content

Releases: DinographicPixels/TouchGuild

1.0.3

21 Nov 21:19
Compare
Choose a tag to compare
  • Fixed tslib import issue.
  • Nothing else changed, basically the same as v.1.0.2

Changelogs: https://github.com/DinographicPixels/TouchGuild/releases/tag/1.0.2

1.0.2

21 Nov 20:38
Compare
Choose a tag to compare
  • Fixed imports for ClientEvents.
  • Deprecate createdby in favor of inviterID (GuildCreateInfo)
  • Deprecate BannedMember.ban.createdBy in favor of BannedMember.ban.bannedBy
  • Deprecate CalendarEvent.memberID in favor of CalendarEvent.ownerID
  • Deprecate CalendarEvent.member in favor of CalendarEvent.owner.
  • Deprecate CalendarRSVP.memberID in favor of CalendarRSVP.entityID.
  • Deprecate CalendarRSVP.createdBy in favor of CalendarRSVP.creatorID
  • Deprecate Channel.memberID in favor of Channel.creatorID
  • Deprecate Channel.updatedAt in favor Channel.editedTimestamp
  • Deprecate Doc.title in favor of Doc.name
  • Deprecate Doc.updatedAt in favor of Doc.editedTimestamp
  • Deprecate ForumThread.updatedAt in favor ForumThread.editedTimestamp
  • Deprecate ForumThreadComment.createdBy in favor of ForumThreadComment.memberID
  • Deprecate ForumThreadComment.owner in favor of ForumThreadComment.member
  • Deprecate ListItem.updatedAt in favor of ListItem.editedTimestamp
  • ListItemNoteTypes
    changed: createdBy => memberID
    updatedAt => editedTimestamp
  • Deprecated Guild.about in favor of Guild.description
  • ForumThread.member has been deprecated in favor of ForumThread.owner
  • ForumThread.memberID has been deprecated in favor of ForumThread.ownerID
  • Deprecate ForumThread.title, in favor of ForumThread.name
  • Every structures doesn't include raw timestamps anymore.

Website: https://touchguild.com
Docs: https://docs.touchguild.com
Guide: https://guide.touchguild.com

1.0.1

21 Nov 12:30
Compare
Choose a tag to compare

*Removed socialLinkTypes, replaced by GetSocialLink

  • Added comment for Routes/Miscellaneous constructor.
  • Added comment for Routes/Miscellaneous#getSocialLink
  • Added ForumThread#createForumComment method.
  • Added Guild#getChannel method.
  • Fixed Member#getSocialLink returns (from GetSocialLink | void to GetSocialLink)
  • Removed Member#addToGroup, replaced by Member#addGroup
  • Removed Member#removeFromGroup, replaced by Member#removeGroup
  • Edited CreateChannelOptions and EditChannelOptions, property topic has been renamed to description
  • Removed Client#getChannelMessage, replaced by Client#getMessage
  • Removed Client#getChannelMessages, replaced by Client#getMessages
  • Removed Client#addGuildMemberGroup, replaced by Client#memberAddGroup
  • Removed Client#removeGuildMemberGroup, replaced by Client#memberRemoveGroup
  • Add method comment for Routes/Channels & Routes/Guilds
  • Removed Channel.topic property, replaced by Channel.description
  • Fixed event typings error, parameter renamed from topic to thread (forumThreadCreate, forumThreadUpdate, forumThreadDelete, forumThreadPin, forumThreadUnpin).

1.0.0

20 Nov 13:02
Compare
Choose a tag to compare

What's new?

  • Entirely reworked WSManager, optimized reconnection, heartbeat, and better handled errors.
  • Added connection timed out error (WSManager)
  • New request handler, blazing fast compared to the old one.
  • Added a Routes directory that includes every route methods.
  • Added jsdocs comments for every methods & properties.
  • New cache system, entirely reworked.
  • Reworked TypedEmitter, included in TouchGuild's files, not as a dependency.
  • Added events.d.ts (ClientEvents) including every Client's events
  • Added wsevents.d.ts (WSEvents) including every WebSocket's events.
  • Added debug & warn events for Client.
  • Every methods uses the new request handler.
  • Optimized REST methods time when treating multiple objects.
  • Added Client#editChannel and Client#deleteChannel
  • Every method options & filters are registered in the types directory.
  • Deprecated events: messageReactionAdd, messageReactionRemove, forumTopicReactionAdd, forumTopicReactionRemove, in favor of reactionAdd and reactionRemove, the new events emits AnyReactionInfo which includes MessageReactionInfo and ForumThreadReactionInfo
  • Renamed everything related to ForumTopic: ForumThread.
  • New components: ForumThreadReactionInfo, MessageReactionInfo, ReactionInfo
  • Better request error handling, added: GuildedHTTPError and GuildedRESTError.
  • Changed every component's getters to match new request handler & new cache system.
  • Better organized GatewayHandler
  • Deprecated: Client#addMessageReaction, Client#removeMessageReaction, Client#addTopicReaction, Client#removeTopicReaction, in favor of Client#createReaction and Client#deleteReaction
    and MUCH more, check out commit

Massive typings change:

  • Renamed Client#getRESTChannel to Client#getChannel
  • Renamed Client#getRESTMember to Client#getMember
  • Renamed Client#getRESTGuild to Client#getGuild
  • Renamed Client#getRESTChannelMessages to Client#getChannelMessages
  • Renamed Client#getRESTChannelMessage to Client#getChannelMessage
  • Renamed Client#getRESTChannelDocs to Client#getChannelDocs
    and MUCH more, check out docs

Most of changes are here: efd4cd0

Indirectly related changes to TouchGuild.


Credits:

  • PakkoGraphic (owner & maintainer of the library)
  • Special thanks to Oceanic for latency-related scripts.

0.1.7

04 Nov 18:34
Compare
Choose a tag to compare

What's new?

> Check out what's new

Instructions

  1. Download the zip file
  2. Extract it
  3. Run the following command inside the folder: npm run build
  4. Put the folder inside your bot directory
  5. Import it in your bot's index
  6. All done!

Note: This is an early access release, the Guilded API is available publicly, to be able to try it out, send an application to the Guilded API server or wait for the public release.

v0.1.6 - Early access release.

18 Sep 11:41
6c29f49
Compare
Choose a tag to compare

Early access release

Release notes: #4

Instructions

  1. Download the package
  2. Extract the .zip file.
  3. Put the folder in your project's folder.
  4. Import the package into your main file (javascript [cjs/mjs] or typescript)