Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Releases: guildedts/guilded.ts

[email protected]

30 May 20:41
Compare
Choose a tag to compare

Features

  • Add APIMentions
  • Add mentions to APIDoc, APIListItemSummary and APIMessage
  • Add APIWebhookEditPayload

@guildedts/[email protected]

30 May 20:41
Compare
Choose a tag to compare

Features

  • Add router to RESTManager
  • Add routers
    • BaseRouter
    • ChannelRouter
    • DocRouter
    • ForumThreadRouter
    • GroupRouter
    • ListItemRouter
    • MessageRouter
    • ReactionRouter
    • Router
    • WebhookRouter
    • ServerBanRouter
    • ServerMemberRouter
    • ServerRoleRouter

0.5.0

19 May 21:32
Compare
Choose a tag to compare

Features

  • Remove caching from BaseManager
  • Remove toggleCache method from BaseManager
  • Remove ManagerOptions
  • Remove cache parameter of methods named create, send, edit and more
  • Remove return of a deleted item when deleting it in its manager
  • Change MessageReactionManager to ReactionManager
  • Remove cache parameters in fetch method in UserManager
  • Remove methods from ChannelManager
    • createAnnouncement
    • createChat
    • createCalendar
    • createForum
    • createMedia
    • createDoc
    • createVoice
    • createList
    • createSchedule
    • createStream
  • Add edit method to ChannelManager
  • Change ready to isReady in Client
  • Change logout method to disconnect in Client
  • Change type of message in the messageDelete event from Message to Message | APIMessageSummary
  • Change serverRolesEdit to rolesEdit in ClientEvents
  • Add raw property to all data model structures
  • Change cached to isCached in all data model structures
  • Change private to isPrivate in Message
  • Change default to isDefault in Message
  • Change system to isSystem in Message
  • Change deleted to isDeleted in Message
  • Add return for a deleted item when deleting it in its structure
  • Change private and silent to isPrivate and isSilent in MessagePayload and MessageEditPayload
  • Change bot and human to isBot and isHuman in User
  • Remove cache method in User
  • Change properties in Channel
    • archived to isArchived
    • announcement to isAnnouncement
    • chat to isChat
    • chatBased to isChatBased
    • calendar to isCalendar
    • forum to isForum
    • media to isMedia
    • doc to isDoc
    • voice to isVoice
    • list to isList
    • schedule to isSchedule
    • stream to isStream
  • Add edit, setName, setTopic and setPublic methods to Channel
  • Remove methods from Server
    • createAnnouncementChannel
    • createChatChannel
    • createCalanderChannel
    • createForumChannel
    • createMediaChannel
    • createDocChannel
    • createVoiceChannel
    • createListChannel
    • createScheduleChannel
    • createStreamChannel
  • Create new WS event handler

[email protected]

19 May 21:31
Compare
Choose a tag to compare

Features

  • Update Routes
    • Change channelMessage and channelMessages to message and messages
    • Change userNickname to serverMemberNickname
    • Change channelForum to forums
    • Chnage channelListItems and channelListItem to listItems and listItem
    • Change channelListItemComplete to listItemComplete
    • Chnage channelDocs and channelDoc to docs and doc
    • Chnage messageReaction to reaction
    • Chnage memberXP to serverMemberXP
    • Chnage roleXP to serverRoleXP
    • Chnage memberSocialLink to socialLink
    • Chnage memberRoles and memberRole to serverMemberRoles and serverMemberRole
    • Change serverWebhooks and serverWebhook to webhooks and webhook
  • Improve WS event's typings
  • Add APIChannelEditPayload
  • Chnage APIGetDocsQuery to APIFetchDocsQuery
  • Chnage APIChatMessage to APIMessage
  • Change APIDeletedChatMessage to APIMessageSummary
  • Change APIChatMessageType to APIMessageType
  • Change APIChatMessagePayload to APIMessagePayload
  • Add APIMessageEditPayload
  • Change APIGetChatMessagesQuery to APIFetchMessagesQuery
  • Change APIMessageReaction to APIContentReaction
  • Change APIServerMemberBan to APIServerBan
  • Add APIServerMemberNicknamePayload
  • Change APIServerMemberBanPayload to APIServerBanPayload
  • Change APIServerXpPayload to APIServerXPPayload
  • Remove APISocialLinkType
  • Change APIGetWebhooksQuery to APIFetchWebhooksQuery

Fixes

  • Fix incorrect endpoint for serverMemberNickname

@guildedts/[email protected]

19 May 21:31
Compare
Choose a tag to compare

Features

  • Add ping, pingedAt and pingedTimestamp to WebsocketManager
  • Change connected to isConnected in WebsocketManager
  • Add WebsocketOptions
  • Remove WSData

@guildedts/[email protected]

19 May 21:31
Compare
Choose a tag to compare

Features

  • Change GuildedAPIError name layout
  • Change RestManager to RESTManager
  • Change baseUrl to baseURL in RESTManager
  • Add patch method to RESTManager
  • Change RestManagerOptions to RESTOptions
  • Add token to RESTOptions

@guildedts/[email protected]

19 May 21:31
Compare
Choose a tag to compare

Features

  • Update Embed builder
    • Change timestamp from type string to Date
    • Change parameters for setFooter method
    • Add number to parameter of setTimestamp method
    • Change parameters for addField method
  • Add userMention function
  • Add RANDOM option to the color resolver

0.4.0

09 May 18:45
Compare
Choose a tag to compare

Features

  • Add avatar and banner properties to the User structure

[email protected]

09 May 18:44
Compare
Choose a tag to compare

Features

  • Add avatar property to the UserSummary interface
  • Add banner property to the User interface

[email protected]

08 May 11:02
Compare
Choose a tag to compare

Features

  • Add new managers
    • ChannelWebhookManager
    • GroupManager
    • GroupMemberManager
    • MessageReactionManager
    • ServerMemberRoleManager
    • ServerRoleManager
    • DocManager
    • ForumThreadManager
    • ListItemManager
  • Add new structures
    • ChatChannel
    • DocChannel
    • ForumChannel
    • ListChannel
    • StreamChannel
    • VoiceChannel
    • ListItem
    • Note
    • ServerMemberRole
    • ServerRole
    • Doc
    • ForumThread
    • Group
    • Webhook
  • Update Channel to support official channel fetching
  • Update ChannelManager to support official channel fetching
  • Add embeds property to Message
  • Remove is prefix to properies like isPrivate
  • Add cached getter to all structures with a manager
  • Add default and system getters to Message
  • Add group getter to all structures that include grooupId
  • Add deleted getter to all structures that include deletedAt
  • Add webhook getter to all structures that include createdByWebhookId
  • Add editable getter to all structures that can be edited
  • Moved WS event handling to its own dedicated file
  • Change memberRemove event to return a Server instead of a User
  • Change serverRolesEdit event to return a Server instead of CacheCollection<string, ServerMember>
  • Add new Client events
    • channelCreate
    • channelEdit
    • channelDelete
    • webhookCreate
    • webhookEdit
    • docCreate
    • docEdit
    • docDelete
    • listItemCreate
    • listItemEdit
    • listItemDelete
    • listItemComplete
    • listItemUncomplete
  • Add new Client options
    • cacheForumThreads
    • maxForumThreadCache
    • cacheListItems
    • maxListItemCache
    • cacheDocs
    • maxDocCache
    • cacheGroups
    • maxGroupCache
    • cacheServerRoles
    • maxServerRoleCache
    • cacheServerMemberRoles
    • maxServerMemberRoleCache
    • cacheWebhooks
    • maxWebhookCache