Releases: harmonyland/harmony
Releases · harmonyland/harmony
Harmony v2.1.3
- fix: authorization header not sent properly from InteractionClient.
Harmony v2.1.2
Harmony v2.1.2
What's new:
- feat: remove
applicationCommand###
events (#221)
it's not a breaking change since the bots can't access these events anyway. - fix(rest): not sending Content-Length header when the body is undefined (#223)
- feat: skip checking the status code (#223)
- feat(guild): add
reason
arg in<GuildBans>.remove
(#223)
Harmony v2.1.1
- fix(structures/applicationCommand): fix recursive call on
options
getter
Harmony v2.1.0
Harmony v2.1.0
What's new:
- fix: don't mutate data object (c26b615)
- fix(MessageComponentType): inconsistently typed enum (6ee25bb)
- feat(commands): context menu commands (#215)
- feat(stickers): add guild stickers support (#217)
- fix:
MessageTypes
members not exported (#218) - fix(util/toCamelCase): arrays having null not handled properly (baa43e9)
v2.0.0
Harmony v2.0.0
Harmony v2 is here!! 🎉
What's new
- Everything in rc1, rc2, rc3, rc4
- docs(examples): add webhook examples (#197)
- feat(command): add
onMissingArgs
method toCommand
(#199) - feat(command): add
<CommandContext>.member
property (#200) - feat(command): resolve mention args into objects (#198)
- fix(sticker): update
<Message>.stickers
to<Message>.sticker_items
(#202) - fix(slashCommand): strip sub command, group nesting in
<SlashCommandInteraction>.option()
(#205) - feat(message): add more message pins methods (#204)
- feat(userFlags): add discord certified mod badge (#206)
- feat(slashCommand): add
number
option type (#207) - fix(threads): add missing properties (#209)
Thanks to everyone who supported Harmony by making pr, making bots, or just waiting for this major release!
v2.0.0-rc4
Harmony v2.0.0-rc4
🛑 NOTE: THIS VERSION IS A RELEASE CANDIDATE VERSION, WHICH MEANS IT MIGHT BE UNSTABLE AND CAN HAVE SOME BUGS.
What's new:
- fix(interaction): not being able to respond with the ephemeral message #183
- fix(export):
AuditLogEvents
,VoiceState
not exported #180 #186 - fix(guild): change return type of
fetchAuditLog
to the proper type #185 - fix(message): guild not being present on Message when using MessagesManager#get #187
- fix(client): 1 spelling error #188
- fix(interaction): keep description for slash groups and subcommands #189
- feat: threads 🎉 #193
- chore: bumb api version to v9
v2.0.0-rc3
Harmony v2.0.0-rc3
🛑 NOTE: THIS VERSION IS A RELEASE CANDIDATE VERSION, WHICH MEANS IT MIGHT BE UNSTABLE AND CAN HAVE SOME BUGS.
What's new:
- feat(interactions/message_components): add support for TSX to create Bot UIs (there’s gonna be more cool stuff later!)
- fix(structures/application): add Team
- feat: cache optimizations
- feat: add
size
properties to managers. And also ChannelsManager#messageCacheSize() and GuildsManager#memberCacheSize() - feat: add option to enable/disable payload compression over gateway
- fix(webhook): avatar url not being set
- fix(interactions): error when sending followup with only content argument
- fix(caching): cache user objects from members and not duplicate them in member cache
- fix(select-components): add support for values in interaction object
v2.0.0-rc2
Harmony v2.0.0-rc2
🛑 NOTE: THIS VERSION IS A RELEASE CANDIDATE VERSION, WHICH MEANS IT MIGHT BE UNSTABLE AND CAN HAVE SOME BUGS.
What's new:
- feat(interactions): add support for Message Components (Buttons and Drop Downs)
- fix(gateway): switch out denoflate with zlib-wasm for better performance (low cpu usage, faster, lot faster for large bots)
- feat(guild_members): add support for List Guild Members and Search Guild Members endpoint (
fetchList
andsearch
methods) - fix(rest): turn request body into query params for GET and DELETE requests
- fix(interactions): return
this
to have better type inference for return type (i.e. for extending classes)
v2.0.0-rc1
Harmony v2.0.0-rc1
🛑 NOTE: THIS VERSION IS A RELEASE CANDIDATE VERSION, WHICH MEANS IT MIGHT BE UNSTABLE AND CAN HAVE SOME BUGS.
What's new:
!(exclamation mark) means that it has breaking changes.
- feat: add Slash Command permissions
- refactor(VoiceChannel): join/leave logic
- feat: add Commands argument parsing
- fix: decorators (which broke in deno 1.9/+)
- feat: Deno Deploy support for Slash Commands
- refactor: project structure
- feat: support Stage Channels
- fix(sharding): previous guild cache being cleared on ready event
- feat: add more examples
- feat(User): add send method
- feat!(Interactions): Split out Interaction into different structures for different Interaction types (Breaking, use SlashCommandInteraction for slash commands now)
- feat(SlashCommands): better command handling
- feat!(Client): move client.ping -> client.gateway.ping (shard 0 ping), client.shards.ping (average ping) (Breaking)
- feat(Interactions): add helper methods for different response types
- feat(Client): fire ready only when all shards' guilds are loaded
- rework: REST implementation
- feat(Client): allow Intent names instead of int values only
- feat(structures): Make Client readonly and not show up in inspect by default
- fix(Managers): async iterator writers not closed
- feat(REST): better API errors display
- fix(Command): onError not working when method is not async
- feat(RolesManager): remove fetch, add fetchAll
- feat(Command): add support for static metadata (Command.meta)
- feat(SlashCommands): add Guild#commands
- feat: add GuildChannelVoiceStatesManager
- feat(commands): add support for Sub Commands
- fix(rest): handle rate limit buckets correctly
- many bug fixes, code and doc improvements
Harmony v1.1.5
Harmony v1.1.5
What's New:
- Add
<ChannelsManager>.sendMessage(), .editMessage()
- Add
<Command>.onError
- Add
<BaseManager>.resolve()
- Add easy-to-use
Overwrite
- Add
GuildChannel
for every guild channels' base - Add checks in
<Embed>.toJSON()
so users can be reminded of the characters limit - Separate
GuildTextChannel
fromtextChannel.ts
(now it's inguildTextChannel.ts
) - Modify
<GuildChannel>.editOverwrite()
so users can select override option (defaults to{ overriteAllow: OverrideType.ADD, overriteDeny: OverrideType.ADD}
)