Skip to content

Commit ce1330f

Browse files
authored
Merge branch 'master' into docs/ffmpeg-warning
2 parents 2cc8bdf + bf84bb9 commit ce1330f

7 files changed

Lines changed: 135 additions & 35 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
- name: "Checkout repository"
2929
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3030
- name: "Initialize CodeQL"
31-
uses: github/codeql-action/init@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4
31+
uses: github/codeql-action/init@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4
3232
with:
3333
languages: ${{ matrix.language }}
3434
- name: "Autobuild"
35-
uses: github/codeql-action/autobuild@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4
35+
uses: github/codeql-action/autobuild@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4
3636
- name: "Perform CodeQL Analysis"
37-
uses: github/codeql-action/analyze@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4
37+
uses: github/codeql-action/analyze@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4

.github/workflows/release.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -307,31 +307,31 @@ jobs:
307307
echo "old_milestone_version=$OLD_MILESTONE_VERSION" >> $GITHUB_OUTPUT
308308
echo "new_milestone_version=$NEW_MILESTONE_VERSION" >> $GITHUB_OUTPUT
309309
310-
close_milestone:
311-
runs-on: ubuntu-latest
312-
needs: [determine_milestone_id, pre_config]
313-
if: ${{ !contains(needs.pre_config.outputs.version, 'rc') &&
314-
endsWith(needs.pre_config.outputs.version, '.0') && false }}
315-
environment: release
316-
env:
317-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
318-
steps:
319-
- name: "Checkout Repository"
320-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
321-
with:
322-
fetch-depth: 0
323-
fetch-tags: true
324-
325-
- name: "Close Milestone"
326-
run: |
327-
gh extension install valeriobelli/gh-milestone
328-
OLD_MILESTONE_ID=$(gh milestone list --query "${{ needs.determine_milestone_id.outputs.old_milestone_version }}" | grep "#" | cut -d' ' -f2 | cut -d '#' -f2)
329-
gh milestone edit $OLD_MILESTONE_ID --state closed
330-
331-
- name: "Create New Milestone"
332-
run: |
333-
gh extension install valeriobelli/gh-milestone
334-
gh milestone create -t "${{ needs.determine_milestone_id.outputs.new_milestone_version }}"
310+
# close_milestone:
311+
# runs-on: ubuntu-latest
312+
# needs: [determine_milestone_id, pre_config]
313+
# if: ${{ !contains(needs.pre_config.outputs.version, 'rc') &&
314+
# endsWith(needs.pre_config.outputs.version, '.0') && false }}
315+
# environment: release
316+
# env:
317+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
318+
# steps:
319+
# - name: "Checkout Repository"
320+
# uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
321+
# with:
322+
# fetch-depth: 0
323+
# fetch-tags: true
324+
#
325+
# - name: "Close Milestone"
326+
# run: |
327+
# gh extension install valeriobelli/gh-milestone
328+
# OLD_MILESTONE_ID=$(gh milestone list --query "${{ needs.determine_milestone_id.outputs.old_milestone_version }}" | grep "#" | cut -d' ' -f2 | cut -d '#' -f2)
329+
# gh milestone edit $OLD_MILESTONE_ID --state closed
330+
#
331+
# - name: "Create New Milestone"
332+
# run: |
333+
# gh extension install valeriobelli/gh-milestone
334+
# gh milestone create -t "${{ needs.determine_milestone_id.outputs.new_milestone_version }}"
335335

336336
# branch_protection_restore:
337337
# runs-on: ubuntu-latest

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ repos:
3131
- id: isort
3232
exclude: \.(po|pot|yml|yaml)$
3333
- repo: https://github.com/psf/black-pre-commit-mirror
34-
rev: 26.3.1
34+
rev: 26.5.1
3535
hooks:
3636
- id: black
3737
args: [--safe, --quiet]

CHANGELOG.md

Lines changed: 103 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,64 @@ possible (see our [Version Guarantees] for more info).
88

99
## [Unreleased]
1010

11-
These changes are available on the `master` branch, but have not yet been released.
11+
These changes are available on the `cherry/2.8.0` branch, but have not yet been
12+
released.
13+
14+
### Added
15+
16+
### Changed
17+
18+
### Fixed
19+
20+
- Include `bypass_slowmode` in `Permissions.all`.
21+
([#3231](https://github.com/Pycord-Development/pycord/pull/3231))
22+
23+
### Deprecated
24+
25+
### Removed
26+
27+
## [2.8.0] - 2026-05-18
1228

1329
### Added
1430

1531
- Support for **Python 3.14**.
1632
([#2948](https://github.com/Pycord-Development/pycord/pull/2948))
33+
- Added support for community invites.
34+
([#3044](https://github.com/Pycord-Development/pycord/pull/3044))
35+
- Added `Member.colours` and `Member.colors` properties.
36+
([#3063](https://github.com/Pycord-Development/pycord/pull/3063))
37+
- Added `RoleType` enum accessible via `Role.type` and `RoleTags.type`.
38+
([#2708](https://github.com/Pycord-Development/pycord/pull/2708))
39+
- Added `Colour.light_theme()`, `Colour.ash_theme()`, and `Colour.onyx_theme()`.
40+
([#3043](https://github.com/Pycord-Development/pycord/pull/3043))
41+
- Added `RadioGroup`, `CheckboxGroup`, and `Checkbox` for modals.
42+
([#3073](https://github.com/Pycord-Development/pycord/pull/3073))
43+
- Added the ability to respond to interactions with suppressed push and desktop
44+
notifications. ([#3062](https://github.com/Pycord-Development/pycord/pull/3062))
45+
- Added `User.collectibles` property.
46+
([#3107](https://github.com/Pycord-Development/pycord/pull/3107))
47+
- Added the ability to compare instances of `Nameplate`.
48+
([#3107](https://github.com/Pycord-Development/pycord/pull/3107))
49+
- Added `Member.display_avatar_decoration` and `Member.guild_avatar_decoration`.
50+
([#3109](https://github.com/Pycord-Development/pycord/pull/3109))
51+
- Added a new event called `on_raw_member_update` that is dispatched when a member is
52+
updated, regardless of cache status.
53+
([#3012](https://github.com/Pycord-Development/pycord/pull/3012))
54+
- Added support for Discord DAVE (Audio & Video E2EE) for voice-sending related
55+
features. ([#3143](https://github.com/Pycord-Development/pycord/pull/3143))
1756

1857
### Changed
1958

2059
- `read_only` team members aren't considered as owners anymore when checking for app
2160
ownership permissions.
61+
- Changed `Member.colour` and `Member.color` to be aliases for `Member.colours.primary`.
62+
([#3063](https://github.com/Pycord-Development/pycord/pull/3063))
63+
- Updated `Colour.dark_theme()` with Discord's new theme colours.
64+
([#3043](https://github.com/Pycord-Development/pycord/pull/3043))
65+
- Changed `User.nameplate` to be an alias for `User.collectibles.nameplate`.
66+
([#3107](https://github.com/Pycord-Development/pycord/pull/3107))
67+
- Changed `FileComponent.name` and `FileComponent.size` to be optional.
68+
([#3115](https://github.com/Pycord-Development/pycord/pull/3115))
2269

2370
### Fixed
2471

@@ -36,11 +83,49 @@ These changes are available on the `master` branch, but have not yet been releas
3683
with `is_owner`.
3784
- Fixed certain scenarios where received components could crash the app.
3885
([#3059](https://github.com/Pycord-Development/pycord/pull/3059))
86+
- Fixed a `KeyError` when fetching an app's information or checking for app ownership
87+
with `is_owner`.
88+
- Fixed some `Item` attributes not being set correctly.
89+
([#3102](https://github.com/Pycord-Development/pycord/pull/3102))
90+
- Fixed use of deprecated `float` type for `timeout=...` in `ws_connect()`.
91+
([#3105](https://github.com/Pycord-Development/pycord/pull/3105))
92+
- Fixed the update of a user's `avatar_decoration` to now cause an `on_user_update`
93+
event to fire. ([#3103](https://github.com/Pycord-Development/pycord/pull/3103))
3994

4095
### Deprecated
4196

97+
- Deprecated `is_bot_managed`, `is_premium_subscriber`, `is_integration`,
98+
`is_available_for_purchase`, and `is_guild_connections_role` in favor of `type` for
99+
both `Role` and `RoleTags` .
100+
([#2708](https://github.com/Pycord-Development/pycord/pull/2708))
101+
- Deprecated `Colour.embed_background()`.
102+
([#3043](https://github.com/Pycord-Development/pycord/pull/3043))
103+
- Deprecated the `suppress` parameter in all applicable message-related methods in favor
104+
of `suppress_embeds`.
105+
([#3062](https://github.com/Pycord-Development/pycord/pull/3062))
106+
- Deprecated `discord.VoiceClient` and `discord.VoiceProtocol` in favor of
107+
`discord.voice.VoiceClient` and `discord.voice.VoiceProtocol`.
108+
([#3143](https://github.com/Pycord-Development/pycord/pull/3143))
109+
42110
### Removed
43111

112+
- Removed the guild creation and ownership-related methods and arguments due to updated
113+
restrictions. ([#3056](https://github.com/Pycord-Development/pycord/pull/3056))
114+
- Removed the following methods: `Guild.set_mfa_required`, `Guild.delete`,
115+
`Template.create_guild`, and `Client.create_guild`.
116+
117+
## [2.8.0rc2] - 2026-04-14
118+
119+
### Changed
120+
121+
- `read_only` team members aren't considered as owners anymore when checking for app
122+
ownership permissions.
123+
124+
### Fixed
125+
126+
- Fixed a `KeyError` when fetching an app's information or checking for app ownership
127+
with `is_owner`.
128+
44129
## [2.8.0rc1] - 2026-03-21
45130

46131
### Added
@@ -111,6 +196,18 @@ These changes are available on the `master` branch, but have not yet been releas
111196
- Removed the following methods: `Guild.set_mfa_required`, `Guild.delete`,
112197
`Template.create_guild`, and `Client.create_guild`.
113198

199+
## [2.7.2] - 2026-04-14
200+
201+
### Changed
202+
203+
- `read_only` team members aren't considered as owners anymore when checking for app
204+
ownership permissions.
205+
206+
### Fixed
207+
208+
- Fixed a `KeyError` when fetching an app's information or checking for app ownership
209+
with `is_owner`.
210+
114211
## [2.7.1] - 2026-02-09
115212

116213
### Added
@@ -1684,8 +1781,11 @@ These changes are available on the `master` branch, but have not yet been releas
16841781
- Fix py3.10 UnionType checks issue.
16851782
([#1240](https://github.com/Pycord-Development/pycord/pull/1240))
16861783

1687-
[unreleased]: https://github.com/Pycord-Development/pycord/compare/v2.8.0rc1...HEAD
1688-
[2.8.0rc1]: https://github.com/Pycord-Development/pycord/compare/v2.7.0...v2.8.0rc1
1784+
[unreleased]: https://github.com/Pycord-Development/pycord/compare/v2.8.0...HEAD
1785+
[2.8.0]: https://github.com/Pycord-Development/pycord/compare/v2.7.2...v2.8.0
1786+
[2.8.0rc1]: https://github.com/Pycord-Development/pycord/compare/v2.8.0rc1...v2.8.0rc2
1787+
[2.8.0rc1]: https://github.com/Pycord-Development/pycord/compare/v2.7.2...v2.8.0rc1
1788+
[2.7.2]: https://github.com/Pycord-Development/pycord/compare/v2.7.1...v2.7.2
16891789
[2.7.1]: https://github.com/Pycord-Development/pycord/compare/v2.7.0...v2.7.1
16901790
[2.7.0]: https://github.com/Pycord-Development/pycord/compare/v2.7.0rc2...v2.7.0
16911791
[2.7.0rc2]: https://github.com/Pycord-Development/pycord/compare/v2.7.0rc1...v2.7.0rc2

discord/permissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def all(cls: type[P]) -> P:
180180
"""A factory method that creates a :class:`Permissions` with all
181181
permissions set to ``True``.
182182
"""
183-
return cls(~(~1 << 51))
183+
return cls(~(~1 << 52))
184184

185185
@classmethod
186186
def all_channel(cls: type[P]) -> P:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ voice = { file = "requirements/voice.txt" }
6969
[dependency-groups]
7070
dev = [
7171
"pylint~=4.0.5",
72-
"mypy~=1.20.0",
72+
"mypy~=2.1.0",
7373
"coverage~=7.10",
7474
"pre-commit==4.6.0",
7575
"codespell==2.4.2",

requirements/docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sphinx==9.1.0 ; python_version >= "3.13"
22
sphinxcontrib_trio==1.2.0 ; python_version >= "3.13"
33
sphinxcontrib-websupport==2.0.0 ; python_version >= "3.13"
4-
myst-parser[linkify]==5.0.0 ; python_version >= "3.13"
4+
myst-parser[linkify]==5.1.0 ; python_version >= "3.13"
55
sphinxext-opengraph==0.13.0 ; python_version >= "3.13"
66
sphinx-copybutton==0.5.2 ; python_version >= "3.13"
77
furo==2025.12.19 ; python_version >= "3.13"

0 commit comments

Comments
 (0)