Releases: ijsbol/httpcord
v0.3.2
What's Changed
- Merge pull request #8 from ijsbol/dev by @ijsbol in #11
- fix: various type checking fixes by @vcokltfre in #10
- bump dev with upstream by @ijsbol in #12
- Merge pull request #12 from ijsbol/main by @ijsbol in #13
Full Changelog: v0.3.1...v0.3.2
Available on PyPi: https://pypi.org/project/httpcord/0.3.2/
v0.3.1
v0.3.0
What's Changed
- Minimise JSON payload size in requests by omitting fields with null data by @vcokltfre in #1
- chore: fix copyright by @vcokltfre in #3
- Small improvements by @lorenzo132 in #4
- feat: bump dev with main by @ijsbol in #5
- feat: v0.3.0 by @ijsbol in #6
New Contributors
- @vcokltfre made their first contribution in #1
- @lorenzo132 made their first contribution in #4
- @ijsbol made their first contribution in #5
Full Changelog: v0.2.2...v0.3.0
Available on PyPi now https://pypi.org/project/httpcord/0.3.0/
v0.2.2
Version 0.2.2 introduces the following changes:
PUTrequests are used rather thanPOSTrequests when registering app commands. This overwrites existing, dead, commands.httpcord.locale.Localehas been introduced, allowing for@bot.command(option_localisations={})which can be used to both localise and describe command parameters.httpcord.localecan also be used to localise command names and descriptions using@bot.command(name_localisations=...)and@bot.command(description_localisations=...)respectively.
See examples/localiser.py for more information.
Available on PyPi now.
https://pypi.org/project/httpcord/0.2.2/
v0.2.1
Version 0.2.1 introduces the following features:
- Using
httpcord.types.Stringyou can provide minimum and maximum lengths for strings. - Using
httpcord.types.Integer&httpcord.types.Floatyou can provide minimum and maximum values for the int / float. - Even more type clarity throughout the library.
- Using
httpcord.types.Fileas a type hint you are now able to support file uploads with your commands.
String, Integer & Float should be done via a the typing.Annotation feature.
See examples/max-length-string.py, examples/int-and-float-bounding.py & examples/upload-file.py for further information.
Available on PyPi now.
https://pypi.org/project/httpcord/0.2.1/
Release v0.2.0
This release adds the following features:
- Group (and sub group) command support.
- Commands to be loaded from external files via
bot.register_command. - Customisability on installation contexts (
Command(integration_types=...)). - Customisability on allowed interaction contexts (
Command(allowed_contexts=...)). - User & Message commands (
Command(command_type=...).
This release also:
- Improves overall library type-hint coverage.
- Adds an
isortconfig file (.cfg.isort). - Fixes a typo (
Interaction.defered->Interaction.deferred). - Hopefully fixes the dependancies being resolved on pypi.
Available on PyPi now: https://pypi.org/project/httpcord/0.2.0/
pip install --update httpcord