python-discord / metricity

Advanced metric collection for the Python Discord server
MIT License
42 stars 17 forks source link

Bump pydis-core from 10.7.0 to 11.0.0 #133

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps pydis-core from 10.7.0 to 11.0.0.

Release notes

Sourced from pydis-core's releases.

v11.0.0

Breaking Changes

This release has a number of breaking changes.

  1. Pydantic 1.x is no longer supported. You can follow the Pydantic migration guide if you havne't updated yet.
  2. fakeredis is no longer installed along side the async-rediscache extra. If you need fakeredis you can use the [fakeredis] extra. You can also use either [all] or [async-rediscache,fakeredis] to install both.
  3. Python 3.10 is no longer supported.
  4. 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 in pydis_core.BotBase.load_extensions()
    • should_raise in pydis_core.site_api.APIClient.maybe_raise_for_status()
    • fail_silently in pydis_core.utils.checks.in_whitelist_check()
    • All args other than pagination_emojis, lines, ctx, embed in pydis_core.utils.pagination.LinePaginator.paginate()

What's Changed

Full Changelog: https://github.com/python-discord/bot-core/compare/v10.7.0...v11.0.0

Changelog

Sourced from pydis-core's changelog.

.. See docs for details on formatting your entries https://releases.readthedocs.io/en/latest/concepts.html

Changelog

  • :release:11.0.0 <18th March 2024>

  • :breaking:208 Split fakeredis optional dependency from the async-rediscache extra. You can now install with [fakeredis] to just install fakeredis (with lua support), [async-rediscache] to install just async-rediscache, or use either [all] or [async-rediscache,fakeredis] to install both. This allows users who do no rely on fakeredis to install in 3.12 environments.

  • :support:208 Add support for Python 3.12. Be aware, at time of writing, our usage of fakeredis does not currently support 3.12. This is due to :literal-url:this lupa issue<https://github.com/scoder/lupa/issues/245>. 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.

  • :breaking:208 Drop support for Python 3.10

  • :breaking:208 Drop support for Pydantic 1.X

  • :support:208 Bump ruff to 0.3.0 and target Python 3.11 now that 3.10 isn't supported.

  • :breaking:207 Enable more ruff linting rules. See :literal-url:GitHub release notes <https://github.com/python-discord/bot-core/releases/tag/v11.0.0> for breaking changes.

  • :support:206 Bump ruff from 0.1.15 to 0.2.2, using the new lint config namespace, and linting with the new rules.

  • :feature:205 Add :obj:pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler and :obj:pydis_core.utils.error_handling.commands.manager.CommandErrorManager to implement and register command error handlers independantly.

  • :support:204 Document the instance attributes of :obj:pydis_core.BotBase.

  • :release:10.7.0 <30th January 2024>

  • :feature:158 Add locking utilities for controlling concurrency logic

  • :support:202 Bump various development dependencies and CI workflow action versions

  • :feature:194 Add the :obj: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.

  • :release:10.6.0 <30th January 2024>

  • :feature:189 Add :obj:pydis_core.utils.pagination.LinePaginator which allows users to paginate over content using Embeds, with emoji reactions facilitating navigation.

  • :feature:189 Add :obj:pydis_core.utils.messages.reaction_check, a predicate that dictates whether a user has the right to add a specific set of reactions based on certain criteria.

  • :feature:199 Port common discord.commands checks from other bots to :obj:pydis_core.utils.checks.

  • :release:10.5.1 <14th December 2023>

  • :bug:200 Do not attempt to read response body if the HTTP response code is 204. Previously only :obj:pydis_core.site_api.APIClient.delete did this.

  • :release:10.5.0 <10th December 2023>

  • :support:197 Mark dependencies using tilde version specifiers. This is to allow user of pydis core to use newer versions of these libraries without us having to cut a new release.

  • :release:10.4.0 <26th October 2023>

  • :support:196 Bump aiodns to :literal-url:3.1.1 <https://github.com/saghul/aiodns/releases/tag/v3.1.1>.

  • :support:196 Bump many development dependencies.

  • :release:10.3.0 <19th September 2023>

  • :feature:195 Add log_format to pydis_core.utils.logging to allow for standardised logging across all services using pydis_core.

  • :feature:195 Set discord, websockets, chardet & async_rediscache loggers to warning level and asyncio to info level by default.

  • :release:10.2.0 <28th August 2023>

  • :support:192 Bump Discord.py to :literal-url:2.3.2 <https://github.com/Rapptz/discord.py/releases/tag/v2.3.2>.

  • :release:10.1.0 <25th July 2023>

  • :feature:190 Overwrite :obj:discord.ext.commands.Bot.process_commands to ensure no commands are processed until all extensions are loaded. This only works for clients using :obj:pydis_core.BotBase.load_extensions.

... (truncated)

Commits
  • 1c35bf5 Bump version to 11.0.0
  • dfda554 reflect changes in changelog
  • 0f8d494 expose a way for registering the command error manager
  • fe6c3b2 subclass CommandTree
  • 7e7b3ce register all error handlers in the CommandErrorManager class
  • 6553f03 add the AbstractCommandErrorHandler interface
  • dc6dbbb make error_handling a package
  • 9a49719 Update ruff to target Python 3.11
  • 070255c Drop support for Python 3.10
  • e29bcfb Add support for Python 3.12
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 3 months ago

Superseded by #135.