Skip to content

Commit fd91d93

Browse files
authored
Merge branch 'master' into enum-limit
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
2 parents 6bdb292 + bf84bb9 commit fd91d93

7 files changed

Lines changed: 114 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: 82 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,69 @@ 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+
<<<<<<< enum-limit
1734
- Added `ComponentLimits` and `EmbedLimits` enums for Discord API constraints.
1835
([#3217](https://github.com/Pycord-Development/pycord/pull/3217))
36+
=======
37+
- Added support for community invites.
38+
([#3044](https://github.com/Pycord-Development/pycord/pull/3044))
39+
- Added `Member.colours` and `Member.colors` properties.
40+
([#3063](https://github.com/Pycord-Development/pycord/pull/3063))
41+
- Added `RoleType` enum accessible via `Role.type` and `RoleTags.type`.
42+
([#2708](https://github.com/Pycord-Development/pycord/pull/2708))
43+
- Added `Colour.light_theme()`, `Colour.ash_theme()`, and `Colour.onyx_theme()`.
44+
([#3043](https://github.com/Pycord-Development/pycord/pull/3043))
45+
- Added `RadioGroup`, `CheckboxGroup`, and `Checkbox` for modals.
46+
([#3073](https://github.com/Pycord-Development/pycord/pull/3073))
47+
- Added the ability to respond to interactions with suppressed push and desktop
48+
notifications. ([#3062](https://github.com/Pycord-Development/pycord/pull/3062))
49+
- Added `User.collectibles` property.
50+
([#3107](https://github.com/Pycord-Development/pycord/pull/3107))
51+
- Added the ability to compare instances of `Nameplate`.
52+
([#3107](https://github.com/Pycord-Development/pycord/pull/3107))
53+
- Added `Member.display_avatar_decoration` and `Member.guild_avatar_decoration`.
54+
([#3109](https://github.com/Pycord-Development/pycord/pull/3109))
55+
- Added a new event called `on_raw_member_update` that is dispatched when a member is
56+
updated, regardless of cache status.
57+
([#3012](https://github.com/Pycord-Development/pycord/pull/3012))
58+
- Added support for Discord DAVE (Audio & Video E2EE) for voice-sending related
59+
features. ([#3143](https://github.com/Pycord-Development/pycord/pull/3143))
60+
>>>>>>> master
1961
2062
### Changed
2163

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

2575
### Fixed
2676

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

42100
### Deprecated
43101

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

117+
- Removed the guild creation and ownership-related methods and arguments due to updated
118+
restrictions. ([#3056](https://github.com/Pycord-Development/pycord/pull/3056))
119+
- Removed the following methods: `Guild.set_mfa_required`, `Guild.delete`,
120+
`Template.create_guild`, and `Client.create_guild`.
121+
46122
## [2.8.0rc2] - 2026-04-14
47123

48124
### Changed
@@ -1710,8 +1786,11 @@ These changes are available on the `master` branch, but have not yet been releas
17101786
- Fix py3.10 UnionType checks issue.
17111787
([#1240](https://github.com/Pycord-Development/pycord/pull/1240))
17121788

1713-
[unreleased]: https://github.com/Pycord-Development/pycord/compare/v2.8.0rc1...HEAD
1714-
[2.8.0rc1]: https://github.com/Pycord-Development/pycord/compare/v2.7.0...v2.8.0rc1
1789+
[unreleased]: https://github.com/Pycord-Development/pycord/compare/v2.8.0...HEAD
1790+
[2.8.0]: https://github.com/Pycord-Development/pycord/compare/v2.7.2...v2.8.0
1791+
[2.8.0rc1]: https://github.com/Pycord-Development/pycord/compare/v2.8.0rc1...v2.8.0rc2
1792+
[2.8.0rc1]: https://github.com/Pycord-Development/pycord/compare/v2.7.2...v2.8.0rc1
1793+
[2.7.2]: https://github.com/Pycord-Development/pycord/compare/v2.7.1...v2.7.2
17151794
[2.7.1]: https://github.com/Pycord-Development/pycord/compare/v2.7.0...v2.7.1
17161795
[2.7.0]: https://github.com/Pycord-Development/pycord/compare/v2.7.0rc2...v2.7.0
17171796
[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)