Skip to content

Commit 84f7383

Browse files
committed
Merge remote-tracking branch 'origin/master' into partial-autocomplete
2 parents 0378f17 + f75b7f1 commit 84f7383

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1069
-253
lines changed

.github/workflows/docs-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: "Setup Python"
4141
uses: actions/setup-python@v5
4242
with:
43-
python-version: "3.12"
43+
python-version: "3.13"
4444
cache: "pip"
4545
cache-dependency-path: "requirements/docs.txt"
4646
check-latest: true

.github/workflows/docs-localization-download.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: "Install Python"
2222
uses: actions/setup-python@v5
2323
with:
24-
python-version: "3.12"
24+
python-version: "3.13"
2525
cache: "pip"
2626
cache-dependency-path: "requirements/_locale.txt"
2727
- name: "Install Dependencies"
@@ -40,7 +40,7 @@ jobs:
4040
working-directory: ./docs
4141
- name: "Crowdin"
4242
id: crowdin
43-
uses: crowdin/github-action@v2
43+
uses: crowdin/github-action@v2.6.0
4444
with:
4545
upload_sources: false
4646
upload_translations: false

.github/workflows/docs-localization-upload.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: "Install Python"
2727
uses: actions/setup-python@v5
2828
with:
29-
python-version: "3.12"
29+
python-version: "3.13"
3030
cache: "pip"
3131
cache-dependency-path: "requirements/_locale.txt"
3232
- name: "Install Dependencies"
@@ -44,7 +44,7 @@ jobs:
4444
sphinx-intl update -p ./build/locales ${{ vars.SPHINX_LANGUAGES }}
4545
working-directory: ./docs
4646
- name: "Crowdin"
47-
uses: crowdin/github-action@v2
47+
uses: crowdin/github-action@v2.6.0
4848
with:
4949
upload_sources: true
5050
upload_translations: false

.github/workflows/lib-checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: "Setup Python"
3737
uses: actions/setup-python@v5
3838
with:
39-
python-version: "3.12"
39+
python-version: "3.13"
4040
cache: "pip"
4141
cache-dependency-path: "requirements/dev.txt"
4242
- name: "Install dependencies"
@@ -56,7 +56,7 @@ jobs:
5656
- name: "Setup Python"
5757
uses: actions/setup-python@v5
5858
with:
59-
python-version: "3.12"
59+
python-version: "3.13"
6060
cache: "pip"
6161
cache-dependency-path: "requirements/dev.txt"
6262
- name: "Install dependencies"
@@ -74,7 +74,7 @@ jobs:
7474
- name: "Setup Python"
7575
uses: actions/setup-python@v5
7676
with:
77-
python-version: "3.12"
77+
python-version: "3.13"
7878
cache: "pip"
7979
cache-dependency-path: "requirements/dev.txt"
8080
- name: "Install dependencies"
@@ -98,7 +98,7 @@ jobs:
9898
- name: "Setup Python"
9999
uses: actions/setup-python@v5
100100
with:
101-
python-version: "3.12"
101+
python-version: "3.13"
102102
cache: "pip"
103103
cache-dependency-path: "requirements/dev.txt"
104104
- name: "Install dependencies"
@@ -120,7 +120,7 @@ jobs:
120120
strategy:
121121
matrix:
122122
os: [ubuntu-latest, macos-latest, windows-latest]
123-
python-version: ["3.9", "3.10", "3.11", "3.12"]
123+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
124124
exclude:
125125
- { python-version: "3.9", os: "macos-latest" }
126126
include:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
version-branch-name: ${{ needs.pre_config.outputs.branch_name }}
8181
ref: ${{ github.ref_name }}
8282
repository: ${{ github.repository }}
83-
python-version: "3.12"
83+
python-version: "3.13"
8484
release-requirements: "requirements/_release.txt"
8585
version: ${{ needs.pre_config.outputs.version }}
8686
is-rc: ${{ needs.pre_config.outputs.is_rc }}

.github/workflows/todo-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: "Checkout Repository"
2424
uses: actions/checkout@v4
2525
- name: "Track TODO Action"
26-
uses: ribtoks/[email protected].13-beta
26+
uses: ribtoks/[email protected].14-beta
2727
with:
2828
TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
REPO: ${{ github.repository }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ repos:
2626
- id: pyupgrade
2727
exclude: \.(po|pot|yml|yaml)$
2828
- repo: https://github.com/PyCQA/isort
29-
rev: 5.13.2
29+
rev: 6.0.0
3030
hooks:
3131
- id: isort
3232
exclude: \.(po|pot|yml|yaml)$
3333
- repo: https://github.com/psf/black
34-
rev: 24.10.0
34+
rev: 25.1.0
3535
hooks:
3636
- id: black
3737
args: [--safe, --quiet]

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ formats: []
44
build:
55
os: ubuntu-22.04
66
tools:
7-
python: "3.12"
7+
python: "3.13"
88

99
sphinx:
1010
configuration: docs/conf.py

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,25 @@ These changes are available on the `master` branch, but have not yet been releas
3030
([#2587](https://github.com/Pycord-Development/pycord/pull/2587/))
3131
- Added optional `filter` parameter to `utils.basic_autocomplete()`.
3232
([#2590](https://github.com/Pycord-Development/pycord/pull/2590))
33+
- Added role tags: `subscription_listing_id`, `guild_connections`, and
34+
`available_for_purchase`.
35+
([#2606](https://github.com/Pycord-Development/pycord/pull/2606))
3336
- Added missing `with_counts` parameter to `fetch_guilds` method.
3437
([#2615](https://github.com/Pycord-Development/pycord/pull/2615))
3538
- Added the following missing permissions: `Permissions.use_soundboard`,
3639
`Permissions.use_external_sounds`, and
3740
`Permissions.view_creator_monetization_analytics`.
3841
([#2620](https://github.com/Pycord-Development/pycord/pull/2620))
42+
- Added `MediaChannel` channel type.
43+
([#2641](https://github.com/Pycord-Development/pycord/pull/2641))
44+
- Added `Message._raw_data` attribute.
45+
([#2670](https://github.com/Pycord-Development/pycord/pull/2670))
3946
- Added helper methods to determine the authorizing party of an `Interaction`.
4047
([#2659](https://github.com/Pycord-Development/pycord/pull/2659))
48+
- Added `VoiceMessage` subclass of `File` to allow voice messages to be sent.
49+
([#2579](https://github.com/Pycord-Development/pycord/pull/2579))
50+
- Added new `Subscription` object and related methods/events.
51+
([#2564](https://github.com/Pycord-Development/pycord/pull/2564))
4152
- Added the ability to use functions with any number of optional arguments and functions
4253
returning an awaitable as `Option.autocomplete`.
4354
([#2669](https://github.com/Pycord-Development/pycord/pull/2669))
@@ -65,13 +76,28 @@ These changes are available on the `master` branch, but have not yet been releas
6576
([#2627](https://github.com/Pycord-Development/pycord/issues/2627))
6677
- Fixed `AttributeError` when sending polls with `PartialWebook`.
6778
([#2624](https://github.com/Pycord-Development/pycord/pull/2624))
79+
- Fixed editing `ForumChannel` flags not working.
80+
([#2641](https://github.com/Pycord-Development/pycord/pull/2641))
6881
- Fixed `AttributeError` when accessing `Member.guild_permissions` for user installed
6982
apps. ([#2650](https://github.com/Pycord-Development/pycord/pull/2650))
7083
- Fixed type annotations of cached properties.
7184
([#2635](https://github.com/Pycord-Development/pycord/issues/2635))
85+
- Fixed malformed properties in `Interaction.channel`.
86+
([#2658](https://github.com/Pycord-Development/pycord/pull/2658))
7287
- Fixed an error when responding non-ephemerally with a `Paginator` to an ephemerally
7388
deferred interaction.
7489
([#2661](https://github.com/Pycord-Development/pycord/pull/2661))
90+
- Fixed attachment metadata being set incorrectly in interaction responses causing the
91+
metadata to be ignored by Discord.
92+
([#2679](https://github.com/Pycord-Development/pycord/pull/2679))
93+
- Fixed unexpected backoff behavior in the handling of task failures
94+
([#2700](https://github.com/Pycord-Development/pycord/pull/2700)).
95+
- Fixed `BridgeCommand` duplicate in default help command.
96+
([#2656](https://github.com/Pycord-Development/pycord/pull/2656))
97+
- Fixed `AttributeError` when trying to consume a consumable entitlement.
98+
([#2564](https://github.com/Pycord-Development/pycord/pull/2564))
99+
- Fixed `Subscription.renewal_sku_ids` not accepting `None` from the received payload.
100+
([#2709](https://github.com/Pycord-Development/pycord/pull/2709))
75101

76102
### Changed
77103

@@ -87,13 +113,17 @@ These changes are available on the `master` branch, but have not yet been releas
87113
([#2176](https://github.com/Pycord-Development/pycord/pull/2176))
88114
- Updated `Guild.filesize_limit` to 10 MB instead of 25 MB following Discord's API
89115
changes. ([#2671](https://github.com/Pycord-Development/pycord/pull/2671))
116+
- `Entitlement.ends_at` can now be `None`.
117+
([#2564](https://github.com/Pycord-Development/pycord/pull/2564))
90118

91119
### Deprecated
92120

93121
- Deprecated `AppInfo.summary` in favor of `AppInfo.description`.
94122
([#2520](https://github.com/Pycord-Development/pycord/pull/2520))
95123
- Deprecated `Emoji` in favor of `GuildEmoji`.
96124
([#2501](https://github.com/Pycord-Development/pycord/pull/2501))
125+
- Deprecated `Interaction.cached_channel` in favor of `Interaction.channel`.
126+
([#2658](https://github.com/Pycord-Development/pycord/pull/2658))
97127

98128
## [2.6.1] - 2024-09-15
99129

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for D
3131
Note
3232
----
3333

34-
Pycord supports Python ``3.9`` - ``3.12``
34+
Pycord supports Python ``3.9`` - ``3.13``
3535

3636
Key Features
3737
------------

0 commit comments

Comments
 (0)