v1004.0.0-nightly.20261130.123
Automatic nightly build of main. It can include breaking changes at any time
Major Changes
Align the SDK with Fluxer commit 75781bf9. Breaking changes, each with the code it affects and how to migrate:
OAuthAuthorization["application"]removesflagsbecause Fluxer removedapplication.flagsfromGET /oauth2/@meand now populatesiconanddescriptionfrom the application's bot profile Affected: Code that readsauthorization.application.flagsor constructsOAuthAuthorizationfixtures withflagsMigration: Remove reads and fixture fields forapplication.flagsOAuthIdentitymakesavatarColor,isBotandisSystemrequired (avatarColor: number | null,isBot: boolean,isSystem: boolean), and OAuth response decoding now requiresavatar_color,botandsystemfromGET /oauth2/userinfoandGET /oauth2/@meAffected: Code or test fixtures constructingOAuthIdentityvalues or mock OAuth responses withoutavatar_color,botorsystemMigration: IncludeavatarColor,isBotandisSystemon fixtures andavatar_color,botandsystemin mock responses- The
presenceUpdateBulkevent,PresenceUpdateBulktype andGatewayDispatchPayloads["PRESENCE_UPDATE_BULK"]are removed because Fluxer removedPRESENCE_UPDATE_BULKfrom its gateway and documentation Affected: Code that subscribes topresenceUpdateBulk, importsPresenceUpdateBulkor narrows raw dispatches onPRESENCE_UPDATE_BULKMigration: Subscribe topresenceUpdateinstead and removePresenceUpdateBulkimports and handlers GatewayDispatchPayloadsandRawDispatchEventadd"OPERATOR_PASS_UPDATE"and makeGatewayDispatchPayloads["GUILD_MEMBER_LIST_UPDATE"]["channel_id"]required (stringinstead ofstring | undefined) to match Fluxer's updated gateway documentation Affected: Exhaustiveswitchstatements over documentedrawdispatch types and typed fixtures constructingGUILD_MEMBER_LIST_UPDATEpayloads withoutchannel_idMigration: Handle"OPERATOR_PASS_UPDATE"(or a default branch) in exhaustive raw dispatch switches and supplychannel_idin typedGUILD_MEMBER_LIST_UPDATEfixturesRestRoutes["POST /channels/{channel_id}/typing"]widens its response type fromundefinedtoTypingCooldownResponse | undefinedto match Fluxer's controller and OpenAPI description Affected: Code callingPOST /channels/{channel_id}/typingthroughclient.rest.callthat assignsresponse.bodytoundefinedwithout narrowing Migration: Narrowresponse.bodywhen callingPOST /channels/{channel_id}/typingthroughclient.rest.call- Non-breaking parity updates, which need no change: Optional embed fields (
url,author.url,author.iconUrl,footer.iconUrl,image.description,thumbnail.description) and webhook message overrides (username,avatarUrl) now accept exact""and send it as given to match Fluxer'somitEmptyStringpreprocessing while still rejecting whitespace-only strings andtimestamp: ""on non-webhook-edit routes, gateway close code4003beforeREADYorRESUMEDnow retries cleanly while preserving Resume state instead of failing the shard permanently while post-readiness4003closes remain fatal, and generated REST route types, documentedGUILD_HEALTH_UPDATEandREADY.geoip_country_coderaw payload types and opcode 12 voice refusal documentation match Fluxer commit75781bf9
| candidate.json | 471 KB |
| checksum.txt | 65 B |
| docs.json | 4.6 MB |
| notes.md | 3 KB |
| sdk.tgz | 2.8 MB |
| Source code (tar.gz) | |