Releases: OceanicJS/Oceanic
Releases · OceanicJS/Oceanic
1.3.0
- 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
- Fix build issue in
1.2.0
Nothing else has been changed.
1.2.0
- 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 bySortOrderTypes
- Removed
JsonErrorCodes
, replaced byJSONErrorCodes
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
- Deprecate
SortOrderModes
in favor ofSortOrderTypes
(SortOrderModes
will be removed in 1.2.0) - Deprecate
JsonErrorCodes
in favor ofJSONErrorCodes
(JsonErrorCodes
will be removed in 1.2.0) - Remove unusable methods from group channels
- Make
OAuth#constructURL
static, and exportOAuth
class - Correct
JSONErrorCodes.PAYMENT_SOURCE_REQUIRED
- Add
JSONErrorCodes.CANNOT_MODIFY_SYSTEM_WEBHOOOK
- Add client disconnect method
- README overhaul (#22)
- Add an
OAuthHelper
, accessible viaclient.rest.oauth.getHelper("Bearer (...)")
- Fix handling deleted private channels, because Discord:tm:
1.1.1
- Add
Member#displayName
- Add
getCompleteChannel
function toInteractionOptionsWrapper
- Fix an export error in our esm file
- Add the list of JSON Error Codes as a constant
Channels#getVoiceRegions
moved toMiscellaneous#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
tochannelUpdate
event - Make
defaultSortOrder
nullable - Fix
withCounts
typing onGuilds#get
(#19) - Add guild to
guildRoleDelete
event - Convert JSONGuild's
publicUpdatesChannel
&widgetChannel
into anID
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
intoscheduledEventID
- Add
privacyLevel
toJSONStageInstance
- 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 isuserID
. This matches the behavior of regular thread members) - Add
getWebhooks
method toAnnouncementChannel
,ForumChannel
,TextChannel
,VoiceChannel
&Guild
- Update Dependencies
- Exclude more files from npm
1.1.0
- Properly set
guild
for roles received during guild creation - Fix
Webhooks#execute*
relying onwait
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:
-
- Add:
EXPOSED_TO_ACTIVITIES_WTP_EXPERIMENT
- Add:
-
- Add:
HAD_EARLY_ACTIVITIES_ACCESS
- Add:
-
- Add:
MEMBER_PROFILES
- Add:
-
- Add:
INCREASED_THREAD_LIMIT
- Add:
-
- Add:
BOT_DEVELOPER_EARLY_ACCESS
- Add:
-
- Add:
INTERNAL_EMPLOYEE_ONLY
- Add:
-
- Remove:
COMMERCE
- Remove:
-
- Remove duplicate
THREADS_ENABLED
featue
- Remove duplicate
- Add
AuditLog#applicationCommands
- Add
Integration#scopes
- Remove
AutoModerationTriggerTypes.HARMFUL_LINK
(no longer exists) - Fix
Guilds#editMFALevel
usingPATCH
instead ofPOST
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 objectAuditLogActionTypes
-
AUTO_MODERATION_ALERT
renamed toAUTO_MODERATION_FLAG_TO_CHANNEL
(official name)
-
AUTO_MODERATION_TIMEOUT
renamed toAUTO_MODERATION_USER_COMMUNICATION_DISABLED
(official name)
ChannelFlags
-
FORUM_TAG_REQUIRED
renamed toREQUIRE_TAG
(official name)
GuildScheduledEventPrivacyLevels
-
- Remove
PUBLIC
- Remove
1.0.2
- Fix
purgeMessages
not returning if all messages are filtered - Add
appliedTags
to public threads in forum channels
1.0.0
- Properly set
Invite#channel
- Expost RequestHandler via
RESTManager#handler
- Add a guildID to Integrations
- Fetch guild & role for Integrations
- Make
getBans
loop forlimit
s >1000 - Make
getMessages
loop forlimit
s > 100 - Make
getReactions
loop forlimit
s > 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
- QoL changes & doc fixes (5b956e1, 741aa5c)
- Allow usage of bigint in
Permission#has
(86ec9e0, 92e6f50) - Voice Example (b239915)
- (docs) Remove folder prefix from various classes (5d2a306, 65b4872, 9ddf127, 9816f0c)
- Interactions Example (9ddf127)
- Add missing descriptions to various classes (f696b2f)
- (internal) Refacto out
Properties
class (ef20a75) - Fix deleting integrations (39a046c)
- Only publish dev versions a maxium of once per hour (6aa39e2)
- Fix invites constructing very basic channels when channels are not cached (they will be partial now) (70952fb, 7001173, 70952fb, 4413438, 053876f, ad6b935, 5b5f72c)
Release Candidate 4
- 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