# What changed in discord-api-types

> 10 changes in discord-api-types 0.38 from its official release notes, upgrade guides and advisories: 2 breaking, 5 new APIs and options. Each one cited. Sources checked 2026-10-28. HTML: https://unstale.sh/npm/discord-api-types/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## discord-api-types 0.38

### Breaking changes

- The handler field was removed. (0.38.56) — [release notes](https://github.com/discordjs/discord-api-types/releases/tag/0.38.56)
- The options field was removed. (0.38.56) — [release notes](https://github.com/discordjs/discord-api-types/releases/tag/0.38.56)

### New APIs and options

- Adds OAuth2 type support for iss, allowing developers to represent it in their code. (0.38.57) — [release notes](https://github.com/discordjs/discord-api-types/releases/tag/0.38.57)
- Application identity profiles were added. (0.38.56) — [release notes](https://github.com/discordjs/discord-api-types/releases/tag/0.38.56)
- Game mention support was added. (0.38.56) — [release notes](https://github.com/discordjs/discord-api-types/releases/tag/0.38.56)
- Added the PruneRequiresAdmin guild feature. (0.38.56) — [release notes](https://github.com/discordjs/discord-api-types/releases/tag/0.38.56)
- Added error codes 160009 and 160010 for forward message errors. (0.38.56) — [release notes](https://github.com/discordjs/discord-api-types/releases/tag/0.38.56)

### Fixes and other changes

- AutoModeration custom_message can now be null. (0.38.56) — [release notes](https://github.com/discordjs/discord-api-types/releases/tag/0.38.56)
- The create DM channel result type is narrower. (0.38.56) — [release notes](https://github.com/discordjs/discord-api-types/releases/tag/0.38.56)
- Descriptions are now allowed for primary entry point commands. (0.38.55) — [release notes](https://github.com/discordjs/discord-api-types/releases/tag/0.38.55)
