Skip to content

Commit

Permalink
Prepare for release of 2.0.0.dev114 (#1437)
Browse files Browse the repository at this point in the history
Co-authored-by: hikari-bot <90276125+hikari-bot[bot]@users.noreply.github.com>
  • Loading branch information
hikari-bot[bot] authored Jan 1, 2023
1 parent f9e883d commit 056da01
Show file tree
Hide file tree
Showing 22 changed files with 49 additions and 32 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
## 2.0.0.dev114 (2023-01-01)

### Breaking Changes

- `BulkDeleteError`:
- No longer contains a `messages_skipped` attribute.
- `messages_deleted` renamed to `deleted_messages`. ([#1134](https://github.com/hikari-py/hikari/issues/1134))
- `RESTApp` and `RESTBucketManager` now need to be started and stopped by using `.start` and `.close`. ([#1230](https://github.com/hikari-py/hikari/issues/1230))
- Remove long deprecated `async with` support for `EventStream`. ([#1426](https://github.com/hikari-py/hikari/issues/1426))

### Deprecation

- Deprecate the `delete_message_days` parameter for PartialGuild.ban and Member.ban. ([#1378](https://github.com/hikari-py/hikari/issues/1378))

### Features

- Allow async iterators in `RESTClient.delete_messages`. ([#1134](https://github.com/hikari-py/hikari/issues/1134))
- `RESTClientImpl` improvements:
- You can now share client sessions and bucket managers across these objects or have them created for you.
- Speedup of request lifetime
- No-ratelimit routes no longer attempt to acquire rate limits
- Just for safety, a check is in place to treat the route as a rate limited route if a bucket is ever received for it and a error log is emitted. If you spot it around, please inform us! ([#1230](https://github.com/hikari-py/hikari/issues/1230))
- Add `save()` method to `Resource`. ([#1272](https://github.com/hikari-py/hikari/issues/1272))
- Allow specifying the `delete_message_seconds` parameter for PartialGuild.ban and Member.ban.
- This parameter can be specified as either an int, a float, or a datetime.timedelta object. ([#1378](https://github.com/hikari-py/hikari/issues/1378))
- Support yielding in interaction listeners. ([#1383](https://github.com/hikari-py/hikari/issues/1383))
- Add Indonesian locale as `hikari.Locale.ID`. ([#1404](https://github.com/hikari-py/hikari/issues/1404))
- Improve pyright support ([#1412](https://github.com/hikari-py/hikari/issues/1412))
- Improve error raised when attempting to use an asynchronous iterator synchronously. ([#1419](https://github.com/hikari-py/hikari/issues/1419))
- Add missing `Application` fields:
- `Application.custom_install_url`
- `Application.tags`
- `Application.install_parameters` ([#1420](https://github.com/hikari-py/hikari/issues/1420))
- Add support for guild forum channels. ([#1430](https://github.com/hikari-py/hikari/issues/1430))
- Add a warning when not running in (at least) level 1 optimization mode. ([#1431](https://github.com/hikari-py/hikari/issues/1431))

### Bugfixes

- Buckets across different authentications are not shared any more, which would lead to incorrect rate limiting. ([#1230](https://github.com/hikari-py/hikari/issues/1230))
- Suppress incorrect deprecation warning regarding event loops. ([#1425](https://github.com/hikari-py/hikari/issues/1425))
- Properly close unclosed file descriptor when reading banner.
- This only affects versions of Python >= 3.9. ([#1434](https://github.com/hikari-py/hikari/issues/1434))
- Start GC of bucket manager when creating a rest client. ([#1435](https://github.com/hikari-py/hikari/issues/1435))
- Fix incorrect value in `CommandBuilder.is_nsfw`. ([#1436](https://github.com/hikari-py/hikari/issues/1436))

---


## 2.0.0.dev113 (2022-12-04)

### Breaking Changes
Expand Down
3 changes: 0 additions & 3 deletions changes/1134.breaking.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1134.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1230.breaking.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1230.bugfix.md

This file was deleted.

5 changes: 0 additions & 5 deletions changes/1230.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1272.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1378.deprecation.md

This file was deleted.

2 changes: 0 additions & 2 deletions changes/1378.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1383.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1404.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1412.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1419.feature.md

This file was deleted.

4 changes: 0 additions & 4 deletions changes/1420.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1425.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1426.breaking.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1430.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1431.feature.md

This file was deleted.

2 changes: 0 additions & 2 deletions changes/1434.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1435.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changes/1436.bugfix.md

This file was deleted.

2 changes: 1 addition & 1 deletion hikari/_about.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
__copyright__: typing.Final[str] = "2021-present, davfsa"
__coverage__: typing.Final[str] = "https://codeclimate.com/github/hikari-py/hikari"
__discord_invite__: typing.Final[str] = "https://discord.gg/Jx4cNGG"
__docs__: typing.Final[str] = "https://docs.hikari-py.dev/en/master"
__docs__: typing.Final[str] = "https://docs.hikari-py.dev/en/2.0.0.dev114"
__email__: typing.Final[str] = "[email protected]"
__issue_tracker__: typing.Final[str] = "https://github.com/hikari-py/hikari/issues"
__license__: typing.Final[str] = "MIT"
Expand Down

0 comments on commit 056da01

Please sign in to comment.