Releases: DinographicPixels/TouchGuild
Releases · DinographicPixels/TouchGuild
1.0.3
- 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
- Fixed imports for
ClientEvents
. - Deprecate
createdby
in favor ofinviterID
(GuildCreateInfo
) - Deprecate
BannedMember.ban.createdBy
in favor ofBannedMember.ban.bannedBy
- Deprecate
CalendarEvent.memberID
in favor ofCalendarEvent.ownerID
- Deprecate
CalendarEvent.member
in favor ofCalendarEvent.owner
. - Deprecate
CalendarRSVP.memberID
in favor ofCalendarRSVP.entityID
. - Deprecate
CalendarRSVP.createdBy
in favor ofCalendarRSVP.creatorID
- Deprecate
Channel.memberID
in favor ofChannel.creatorID
- Deprecate
Channel.updatedAt
in favorChannel.editedTimestamp
- Deprecate
Doc.title
in favor ofDoc.name
- Deprecate
Doc.updatedAt
in favor ofDoc.editedTimestamp
- Deprecate
ForumThread.updatedAt
in favorForumThread.editedTimestamp
- Deprecate
ForumThreadComment.createdBy
in favor ofForumThreadComment.memberID
- Deprecate
ForumThreadComment.owner
in favor ofForumThreadComment.member
- Deprecate
ListItem.updatedAt
in favor ofListItem.editedTimestamp
ListItemNoteTypes
changed: createdBy => memberID
updatedAt => editedTimestamp- Deprecated
Guild.about
in favor ofGuild.description
ForumThread.member
has been deprecated in favor ofForumThread.owner
ForumThread.memberID
has been deprecated in favor ofForumThread.ownerID
- Deprecate
ForumThread.title
, in favor ofForumThread.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
*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 (fromGetSocialLink | void
toGetSocialLink
) - Removed
Member#addToGroup
, replaced byMember#addGroup
- Removed
Member#removeFromGroup
, replaced byMember#removeGroup
- Edited
CreateChannelOptions
andEditChannelOptions
, propertytopic
has been renamed todescription
- Removed
Client#getChannelMessage
, replaced byClient#getMessage
- Removed
Client#getChannelMessages
, replaced byClient#getMessages
- Removed
Client#addGuildMemberGroup
, replaced byClient#memberAddGroup
- Removed
Client#removeGuildMemberGroup
, replaced byClient#memberRemoveGroup
- Add method comment for
Routes/Channels
&Routes/Guilds
- Removed
Channel.topic
property, replaced byChannel.description
- Fixed event typings error, parameter renamed from
topic
tothread
(forumThreadCreate
,forumThreadUpdate
,forumThreadDelete
,forumThreadPin
,forumThreadUnpin
).
1.0.0
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
andClient#deleteChannel
- Every method options & filters are registered in the
types
directory. - Deprecated events:
messageReactionAdd
,messageReactionRemove
,forumTopicReactionAdd
,forumTopicReactionRemove
, in favor ofreactionAdd
andreactionRemove
, the new events emitsAnyReactionInfo
which includesMessageReactionInfo
andForumThreadReactionInfo
- Renamed everything related to ForumTopic: ForumThread.
- New components:
ForumThreadReactionInfo
,MessageReactionInfo
,ReactionInfo
- Better request error handling, added:
GuildedHTTPError
andGuildedRESTError
. - 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 ofClient#createReaction
andClient#deleteReaction
and MUCH more, check out commit
Massive typings change:
- Renamed
Client#getRESTChannel
toClient#getChannel
- Renamed
Client#getRESTMember
toClient#getMember
- Renamed
Client#getRESTGuild
toClient#getGuild
- Renamed
Client#getRESTChannelMessages
toClient#getChannelMessages
- Renamed
Client#getRESTChannelMessage
toClient#getChannelMessage
- Renamed
Client#getRESTChannelDocs
toClient#getChannelDocs
and MUCH more, check out docs
Most of changes are here: efd4cd0
Indirectly related changes to TouchGuild.
- New website: https://touchguild.com/
- New docs: https://docs.touchguild.com/
- Old docs: https://legacy.docs.touchguild.com/
- New guide URL: https://guide.touchguild.com/
- Deprecated Nightly builds, they're now
Development builds (dev)
, they're deprecating much faster. - Dev builds docs: https://docs.touchguild.com/dev/ (always latest commit).
- New workflow, including checks
- New collaboration guidelines.
- Deprecated main & nightly branch on GitHub (merging between them is hell), only the dev branch will be used for development.
Credits:
- PakkoGraphic (owner & maintainer of the library)
- Special thanks to Oceanic for latency-related scripts.
0.1.7
What's new?
> Check out what's new
Instructions
- Download the zip file
- Extract it
- Run the following command inside the folder:
npm run build
- Put the folder inside your bot directory
- Import it in your bot's index
- 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.
Early access release
Release notes: #4
Instructions
- Download the package
- Extract the
.zip
file. - Put the folder in your project's folder.
- Import the package into your main file (javascript [cjs/mjs] or typescript)