Skip to content

Releases: OceanicJS/Oceanic

1.3.0

28 Oct 06:16
6b10dda
Compare
Choose a tag to compare
  • Remove comments about ephemeral messages not being deletable (2b2ca65)
  • ComponentInteraction helpers (isButtonComponentInteraction() & isSelectMenuComponentInteraction()) (4adb42d, a60dc5c)
  • Fix latency checks (0ab6f4e, 1cfb1a6, 7ea9462)
  • Add PremiumTypes.NITRO_BASIC (fac0abb)
  • Add DEVELOPER_SUPPORT_SERVER feature (fac0abb)
  • Add To JSONErrorCodes
    • SERVICE_RESOURCE_RATE_LIMITED (fac0abb)
    • INVALID_ACTIVITY_ACTION (fac0abb)
    • INELIGIBLE_FOR_SUBSCRIPTION (18f2465)
  • Add limit note to EditGuildChannelOptions#appliedTags & availableTags (fac0abb)
  • Fix Auto Max Concurrency (#26) (7e6b60c)
  • Emit resume after shard resumed (#27) (e5abdd9)
  • Emit shardPreReady on preReady (#28) (6cfd38e)
  • Set session ID on ready (#29) (6201639)
  • Set lastMessageID & lastMessage to null when the existing message is deleted (bd5db1f)

Breaking

1.2.1

20 Oct 08:19
e7c28d3
Compare
Choose a tag to compare
  • Fix build issue in 1.2.0
    Nothing else has been changed.

1.2.0

18 Oct 19:18
27af5a5
Compare
Choose a tag to compare
  • camelCase Role#tags
  • general wording/spelling fixes and import optimizations (#24)
  • New Select Menu Types (#23)
  • Correct CANNOT_MODIFY_SYSTEM_WEBHOOOK -> CANNOT_MODIFY_SYSTEM_WEBHOOK (no deprecation, incorrect name was immediately removed)
  • Removed SortOrderModes, replaced by SortOrderTypes
  • Removed JsonErrorCodes, replaced by JSONErrorCodes

Note: The new select menus introduce a breaking change within ComponentInteraction, data.values is now a wrapper around the receivable values, much like CommandInteraction's data.options.

1.1.2

08 Oct 11:39
d830e88
Compare
Choose a tag to compare
  • Deprecate SortOrderModes in favor of SortOrderTypes (SortOrderModes will be removed in 1.2.0)
  • Deprecate JsonErrorCodes in favor of JSONErrorCodes (JsonErrorCodes will be removed in 1.2.0)
  • Remove unusable methods from group channels
  • Make OAuth#constructURL static, and export OAuth class
  • Correct JSONErrorCodes.PAYMENT_SOURCE_REQUIRED
  • Add JSONErrorCodes.CANNOT_MODIFY_SYSTEM_WEBHOOOK
  • Add client disconnect method
  • README overhaul (#22)
  • Add an OAuthHelper, accessible via client.rest.oauth.getHelper("Bearer (...)")
  • Fix handling deleted private channels, because Discord:tm:

1.1.1

27 Sep 19:15
357cba3
Compare
Choose a tag to compare
  • Add Member#displayName
  • Add getCompleteChannel function to InteractionOptionsWrapper
  • Fix an export error in our esm file
  • Add the list of JSON Error Codes as a constant
  • Channels#getVoiceRegions moved to Miscellaneous#getVoiceRegions
  • Added support for sticker related endpoints
  • Convert Guild#stickers into a parsed variant
  • Make several uncached objects better (adding channel/ID & guild/ID properties, etc)
  • Add VoiceChannel#userLimit
  • Add ForumChannel to channelUpdate event
  • Make defaultSortOrder nullable
  • Fix withCounts typing on Guilds#get (#19)
  • Add guild to guildRoleDelete event
  • Convert JSONGuild's publicUpdatesChannel & widgetChannel into an ID only variant
  • Make JSONGuild#widgetChannelID not optional
  • Convert emojis into a parsed variant
  • Convert Integration#roleID from optional to nullable
  • Refactor inviteCreate & inviteDelete events
  • Convert JSONStageInstance#scheduledEvent into scheduledEventID
  • Add privacyLevel to JSONStageInstance
  • Fix threadUpdate event nullability
  • Fix threadMemberUpdate event description (this event is only associated with the client)
  • Add guild in uncached threadMemberUpdate & threadMembersUpdate
  • Proper uncached thread members (the uncached thread member's id property is now the thread id, the user id is userID. This matches the behavior of regular thread members)
  • Add getWebhooks method to AnnouncementChannel, ForumChannel, TextChannel, VoiceChannel & Guild
  • Update Dependencies
  • Exclude more files from npm

1.1.0

19 Sep 13:34
a4cc123
Compare
Choose a tag to compare
  • Properly set guild for roles received during guild creation
  • Fix Webhooks#execute* relying on wait option for returning a message
  • Add Connection#twoWayLink
  • Remove samsunggalaxy connection
  • Add paypal, riotgames & ebay connections
  • Sort features, add some that were missed and remove some that don't exist anymore
    • Add: INVITES_DISABLED
    • Add: EXPOSED_TO_ACTIVITIES_WTP_EXPERIMENT
    • Add: HAD_EARLY_ACTIVITIES_ACCESS
    • Add: MEMBER_PROFILES
    • Add: INCREASED_THREAD_LIMIT
    • Add: BOT_DEVELOPER_EARLY_ACCESS
    • Add: INTERNAL_EMPLOYEE_ONLY
    • Remove: COMMERCE
    • Remove duplicate THREADS_ENABLED featue
  • Add AuditLog#applicationCommands
  • Add Integration#scopes
  • Remove AutoModerationTriggerTypes.HARMFUL_LINK (no longer exists)
  • Fix Guilds#editMFALevel using PATCH instead of POST
  • Guilds#editMFALevel now accepts a reason
  • Accept an id in bulkEditGuildCommands
  • Add missing edit properties for Forum Threads and fix other properties not being set
  • Add auto moderation rule name & trigger type to audit logs
  • various bugfixes for methods accepting after & before
  • Update Channel#lastMessageID
  • Edit forum channel availableTags ID is optional
  • Add maxStageVideoChannelUsers
  • Make ApplicationCommand#guild nullable (differentiates between uncached & global)
  • Add Guild/GuildPreview discoverySplashURL & splashURL
  • Add generic for InteractionOptionsWrapper#getSubCommand
  • Add SortOrderModes for forum threads
  • Add edit method to Role
  • Add more concise getX errors & add users to cache (InteractionOptionsWrapper)
  • Add CommandInteraction messages to cache
  • Convert resolved channels to InteractionResolvedChannel instances (also fixes an iussue with receiving dms in resolved channels
  • Fix some typos and simplify some regex statements (#17)

Breaking

  • Guilds#editMFALevel's second parameter now accepts an object
  • AuditLogActionTypes
    • AUTO_MODERATION_ALERT renamed to AUTO_MODERATION_FLAG_TO_CHANNEL (official name)
    • AUTO_MODERATION_TIMEOUT renamed to AUTO_MODERATION_USER_COMMUNICATION_DISABLED (official name)
  • ChannelFlags
    • FORUM_TAG_REQUIRED renamed to REQUIRE_TAG (official name)
  • GuildScheduledEventPrivacyLevels
    • Remove PUBLIC

1.0.2

14 Sep 23:55
39eb1d2
Compare
Choose a tag to compare
  • Fix purgeMessages not returning if all messages are filtered
  • Add appliedTags to public threads in forum channels

1.0.0

14 Sep 23:12
df7bf78
Compare
Choose a tag to compare
  • Properly set Invite#channel
  • Expost RequestHandler via RESTManager#handler
  • Add a guildID to Integrations
  • Fetch guild & role for Integrations
  • Make getBans loop for limits >1000
  • Make getMessages loop for limits > 100
  • Make getReactions loop for limits > 100
  • Make deleteMessages loop for more than 100 messages
  • New purgeMessages function in the channels route
  • fix THREAD_MEMBERS_UPDATE assuming things will always be pesent which aren't (added_members & removed_member_ids)

Release Candidate 5

14 Sep 00:39
5b5f72c
Compare
Choose a tag to compare
Release Candidate 5 Pre-release
Pre-release

Release Candidate 4

13 Sep 10:27
5f062dd
Compare
Choose a tag to compare
Release Candidate 4 Pre-release
Pre-release
  • Fix the createBan method using POST
  • Events have been changed to support various partial objects
  • fix getAllUsers
  • more generics for Interaction & Message properties
  • Support for voice via @discordjs/voice