API versioning + API v10 #4510
Replies: 21 comments 35 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Pretty cool news, with all these versions of marked, a new one can get lost quickly. |
Beta Was this translation helpful? Give feedback.
-
Did the message content intent became a gateway intent to pass inside the identify payload? if it is, what's the flag? |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
does this mean that achievements will stay and will no longer require the dev license? |
Beta Was this translation helpful? Give feedback.
-
So, is the updated |
Beta Was this translation helpful? Give feedback.
-
Are command permissions v2 still on track to be released with enough migration time before April 30th? |
Beta Was this translation helpful? Give feedback.
-
Will file uploads with incorrect field names (i.e not files[n]) be rejected on v10? |
Beta Was this translation helpful? Give feedback.
-
What about cdn.discordapp.com ? |
Beta Was this translation helpful? Give feedback.
-
Has the changed mentioned in https://discord.com/developers/docs/resources/channel#start-thread-without-message for API v10 been applied? ( |
Beta Was this translation helpful? Give feedback.
-
This one is actually not required for backward compatibility, as a bot without message content intent will still receive redacted (i.e. content fields set to blank values) guild message objects. |
Beta Was this translation helpful? Give feedback.
-
I want to make sure that we're on the same page about how the default API is selected and how versions are bumped in the future. Worth noting that v6 has been simultaneously a default and deprecated version for about 1.5 years (#2097), and the default is now being bumped to v10, effectively skipping v8 and v9 (and v7, our beloved). Not a huge deal if users have been explicitly selecting a version and are keeping up with the changes, but that jump just seems kind of abrupt for people who have relied on the default having a meaningful place in the sequence of API versions. Some questions, then: You define what "stable" means here, but not what "default" means. Are these the same thing? In the future, can we expect a schedule of sorts for when individual versions become decommissioned/deprecated/stable/default/available? I don't mean a calendar schedule, but more like "if version |
Beta Was this translation helpful? Give feedback.
-
But why do you must shut API v6 and v7 down? |
Beta Was this translation helpful? Give feedback.
-
I'll be migrating my library to this version tonight, with a plan to release an official 10.0.0 too. new versions are always good news! the changes seem small and safe enough to do this (our lib major versions match that of the latest Discord API version). |
Beta Was this translation helpful? Give feedback.
-
Another small question, after April 30th rolls around, whats the state of API v8? Does it also get discontinued? |
Beta Was this translation helpful? Give feedback.
-
Are there any other story channel/SKU related application fields that are considered deprecated and tagged for removal in v11 or is it just application.summary? |
Beta Was this translation helpful? Give feedback.
-
Decommission date for API v6 and v7 has been postponed to early 2023. |
Beta Was this translation helpful? Give feedback.
-
When v10 will be default? |
Beta Was this translation helpful? Give feedback.
-
Should the 4 states be documented here? |
Beta Was this translation helpful? Give feedback.
-
We are in middle 2023, but API 6 and 7 deprecation schedule still says "early 2023" with an unspecified date. |
Beta Was this translation helpful? Give feedback.
-
was discord creation date mint cryptographic encryption algorithm changed? . since the only documentation , was suggesting a way to decrypt available part to by decrypted which is the first and second section. it does work for the first section (before the first dot) of the token which is the user id decrypted in base64. But the token create date mint which is encoded in base64 -> hex -> discord unix timestamp + token epoch time, doesn't seem to be encoded in this format anymore. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone,
We have a few updates regarding API versioning and what to expect over the coming months. As of today, you can begin specifying
v10
in your API requests. We are also deprecating API v8. Read more below for what to expect.API states
First, let's clarify the possible states of an API version. There are 4 states:
We recognize that you count on the API to be stable. Deprecation periods will last at least 1 year, unless otherwise noted.
Changes as of today:
Early 2023:
API v10 will become the Default version, and the default version for API requestsPlans for default versions will be communicated in the futureAPI v10 changes
Message Content
Message content restrictions are enforced for verified bots on v10. The full extent of the changes can be found here: https://support-dev.discord.com/hc/en-us/articles/4404772028055-Message-Content-Privileged-Intent-for-Verified-Bots
These restrictions will not be applied by default until after August 31, 2022. The availability of API v10 allows you to opt-in to testing your bot's behavior early.
Specifying the message content intent (
1 << 15
) is required on v10. If you are on v9 or lower, you will automatically receive message content if you have been approved, even if you aren't specifying the intent.Other Changes
application.summary
now returns an empty string. This field will be removed inv11
name
anddescription
are now strings, and localized strings are now stored inname_localizations
anddescription_localizations
/channels/<channel_id>/threads/active
has been removedattachments
must be specified whenPATCH
ing messages with new attachments. Any attachments not specified will be removed and replaced with the specified listreason
as a body/query parameter is no longer supported, and you should instead use theX-Audit-Log-Reason
header.embeds
rather thanembed
v10
and higher will no longer be supported ondiscordapp.com
Why not X change?
There were a few other changes that were raised during the v9 lifecycle that we could have brought into v10. We decided to keep the set of changes small outside the message content change. We want developers to fully focus on being prepared for the August 31, 2022 deadline.
Beta Was this translation helpful? Give feedback.
All reactions