Releases: python-discord/bot-core
Releases · python-discord/bot-core
v11.5.1
What's Changed
- Update invite regex to not be overly strict by @ChrisLovering in #295
Full Changelog: https://bot-core.pythondiscord.com/main/changelog.html
v11.5.0
What's Changed
- Update invite regex by @ChrisLovering in #282
Full Changelog: https://bot-core.pythondiscord.com/main/changelog.html
v11.4.0
What's Changed
- Update discord invite regex by @ChrisLovering in #269
Full Changelog: https://bot-core.pythondiscord.com/main/changelog.html
v11.3.1
What's Changed
- Correct the docstring
pydis_core.utils.interactions.ViewWithUserAndRoleCheck
by @ChrisLovering - Bump fakeredis from 2.23.2 to 2.23.3 by @dependabot in #248
- Bump pydantic from 2.7.4 to 2.8.2 by @dependabot in #249
- Bump certifi from 2024.6.2 to 2024.7.4 by @dependabot in #252
- Bump sphinx-autodoc-typehints from 2.2.1 to 2.2.3 by @dependabot in #255
Full Changelog: https://bot-core.pythondiscord.com/main/changelog.html
v11.3.0
What's Changed
- Add
py.typed
by @decorator-factory in #254
New Contributors
- @decorator-factory made their first contribution in #254
Full Changelog: https://bot-core.pythondiscord.com/main/changelog.html
v11.2.0
What's Changed
- Upgrade discord.py to 2.4 by @jb3 in #244
- Use python version specifier that dependabot can understand by @wookie184 in #212
- Fix site startup command used in docker-compose.yml by @wookie184 in #238
- Bump pydantic from 2.6.4 to 2.7.3 by @dependabot in #215 and #234
- Bump fakeredis from 2.21.3 to 2.23.2 by @dependabot in #221
- Bump requests from 2.31.0 to 2.32.2 by @dependabot in #226
- Bump aiodns from 3.1.1 to 3.2.0 by @dependabot in #232
New Contributors
- @wookie184 made their first contribution in #212
- @jb3 made their first contribution in #244
Full Changelog: https://bot-core.pythondiscord.com/main/changelog.html
v11.1.0
What's Changed
- Add support for running fakeredis on 3.12 by @ChrisLovering in #211
Full Changelog: https://bot-core.pythondiscord.com/main/changelog.html
v11.0.1
What's Changed
Full Changelog: https://bot-core.pythondiscord.com/main/changelog.html
v11.0.0
Breaking Changes
This release has a number of breaking changes.
- Pydantic 1.x is no longer supported. You can follow the Pydantic migration guide if you havne't updated yet.
fakeredis
is no longer installed along side theasync-rediscache
extra. If you needfakeredis
you can use the[fakeredis]
extra. You can also use either[all]
or[async-rediscache,fakeredis]
to install both.- Python 3.10 is no longer supported.
- Boolean default and boolean-typed positional arguments in function definition are now keyword args only. The arg names and functions are listed below.
sync_app_commands
inpydis_core.BotBase.load_extensions()
should_raise
inpydis_core.site_api.APIClient.maybe_raise_for_status()
fail_silently
inpydis_core.utils.checks.in_whitelist_check()
- All args other than
pagination_emojis, lines, ctx, embed
inpydis_core.utils.pagination.LinePaginator.paginate()
What's Changed
- Split
fakeredis
optional dependency from theasync-rediscache
extra, by @ChrisLovering in #208 - Add support for Python 3.12, by @ChrisLovering in #208
- Be aware, at time of writing, our usage of fakeredis does not currently support 3.12. This is due to this lupa issue. Lupa is required by async-rediscache for lua script support within fakeredis. As such, fakeredis can not be installed in a Python 3.12 environment
- Drop support for Python 3.10, by @ChrisLovering in #208
- Drop support for Pydantic 1.X, by @ChrisLovering in #208
- Enable more ruff linting rules, by @ChrisLovering in #206
- Bump ruff to 0.3.0 and target Python 3.11 now that 3.10 isn't supported, by @ChrisLovering in #208
- Added
pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler
andpydis_core.utils.error_handling.commands.manager.CommandErrorManager
to implement and register command error handlers independantly`, by @shtlrs in #205 - Document the instance attributes of
pydis_core.BotBase
, by @shtlrs in #204 - Bump ruff from 0.1.15 to 0.2.2, using the new lint config namespace, and linting with the new rules, by @ChrisLovering in #206
Full Changelog: https://bot-core.pythondiscord.com/main/changelog.html
v10.7.0
What's Changed
- Add locking utilities for controlling concurrency logic, by @ChrisLovering in #158
- Bump various development dependencies and CI workflow action versions, by @ChrisLovering in #202
- Add the
pydis_core.utils.interactions.user_has_access
helper function, that returns whether the given user is in the allowed_users list, or has a role from allowed_roles.@ChrisLovering in #194
Full Changelog: https://bot-core.pythondiscord.com/main/changelog.html