-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge client
feature/module into gateway
#2947
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
framework
Related to the `framework` and `framework::standard` modules and/or the `command_attr` crate
model
Related to the `model` module.
client
Related to the `client` module.
cache
Related to the `cache`-feature.
http
Related to the `http` module.
utils
Related to the `utils` module.
gateway
Related to the `gateway` module.
examples
Related to Serenity's examples.
ci
Related to the continuous integration.
labels
Aug 17, 2024
mkrasnitski
force-pushed
the
client-gateway-merge
branch
from
August 20, 2024 21:36
27512b2
to
ee6f394
Compare
mkrasnitski
force-pushed
the
client-gateway-merge
branch
from
August 20, 2024 21:45
ee6f394
to
8b1fa58
Compare
arqunis
approved these changes
Aug 22, 2024
arqunis
added
enhancement
An improvement to Serenity.
breaking change
The public API is changed, resulting in miscompilations or unexpected new behaviour for users
labels
Aug 22, 2024
GnomedDev
pushed a commit
to GnomedDev/serenity
that referenced
this pull request
Oct 7, 2024
The `client` and `gateway` features were very tightly coupled so it makes the most sense to just merge them because there's no real path towards separating them ergonomically. A few breaking changes: * Removed `ClientError` because it was unused. * The `client` module is moved to be a submodule under the `gateway` module. * Moved sharding-specific gateway types into their own `sharding` submodule for clarity's sake, but re-exported them. I also adjusted the gateway documentation to hopefully make it as clear as possible. Note that the `Cargo.toml` changes are mostly superficial - in particular, changing `gateway` to depend on `model` (instead of `http` like how `client` did) isn't actually much of a change because trying to use `gateway` with only a subset of `model` enabled will fail to compile, and that was also the case for `client` previously.
GnomedDev
pushed a commit
to GnomedDev/serenity
that referenced
this pull request
Oct 20, 2024
The `client` and `gateway` features were very tightly coupled so it makes the most sense to just merge them because there's no real path towards separating them ergonomically. A few breaking changes: * Removed `ClientError` because it was unused. * The `client` module is moved to be a submodule under the `gateway` module. * Moved sharding-specific gateway types into their own `sharding` submodule for clarity's sake, but re-exported them. I also adjusted the gateway documentation to hopefully make it as clear as possible. Note that the `Cargo.toml` changes are mostly superficial - in particular, changing `gateway` to depend on `model` (instead of `http` like how `client` did) isn't actually much of a change because trying to use `gateway` with only a subset of `model` enabled will fail to compile, and that was also the case for `client` previously.
GnomedDev
pushed a commit
that referenced
this pull request
Oct 20, 2024
The `client` and `gateway` features were very tightly coupled so it makes the most sense to just merge them because there's no real path towards separating them ergonomically. A few breaking changes: * Removed `ClientError` because it was unused. * The `client` module is moved to be a submodule under the `gateway` module. * Moved sharding-specific gateway types into their own `sharding` submodule for clarity's sake, but re-exported them. I also adjusted the gateway documentation to hopefully make it as clear as possible. Note that the `Cargo.toml` changes are mostly superficial - in particular, changing `gateway` to depend on `model` (instead of `http` like how `client` did) isn't actually much of a change because trying to use `gateway` with only a subset of `model` enabled will fail to compile, and that was also the case for `client` previously.
GnomedDev
pushed a commit
to GnomedDev/serenity
that referenced
this pull request
Nov 11, 2024
The `client` and `gateway` features were very tightly coupled so it makes the most sense to just merge them because there's no real path towards separating them ergonomically. A few breaking changes: * Removed `ClientError` because it was unused. * The `client` module is moved to be a submodule under the `gateway` module. * Moved sharding-specific gateway types into their own `sharding` submodule for clarity's sake, but re-exported them. I also adjusted the gateway documentation to hopefully make it as clear as possible. Note that the `Cargo.toml` changes are mostly superficial - in particular, changing `gateway` to depend on `model` (instead of `http` like how `client` did) isn't actually much of a change because trying to use `gateway` with only a subset of `model` enabled will fail to compile, and that was also the case for `client` previously.
GnomedDev
pushed a commit
that referenced
this pull request
Nov 13, 2024
The `client` and `gateway` features were very tightly coupled so it makes the most sense to just merge them because there's no real path towards separating them ergonomically. A few breaking changes: * Removed `ClientError` because it was unused. * The `client` module is moved to be a submodule under the `gateway` module. * Moved sharding-specific gateway types into their own `sharding` submodule for clarity's sake, but re-exported them. I also adjusted the gateway documentation to hopefully make it as clear as possible. Note that the `Cargo.toml` changes are mostly superficial - in particular, changing `gateway` to depend on `model` (instead of `http` like how `client` did) isn't actually much of a change because trying to use `gateway` with only a subset of `model` enabled will fail to compile, and that was also the case for `client` previously.
GnomedDev
pushed a commit
to GnomedDev/serenity
that referenced
this pull request
Nov 15, 2024
The `client` and `gateway` features were very tightly coupled so it makes the most sense to just merge them because there's no real path towards separating them ergonomically. A few breaking changes: * Removed `ClientError` because it was unused. * The `client` module is moved to be a submodule under the `gateway` module. * Moved sharding-specific gateway types into their own `sharding` submodule for clarity's sake, but re-exported them. I also adjusted the gateway documentation to hopefully make it as clear as possible. Note that the `Cargo.toml` changes are mostly superficial - in particular, changing `gateway` to depend on `model` (instead of `http` like how `client` did) isn't actually much of a change because trying to use `gateway` with only a subset of `model` enabled will fail to compile, and that was also the case for `client` previously.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
breaking change
The public API is changed, resulting in miscompilations or unexpected new behaviour for users
cache
Related to the `cache`-feature.
ci
Related to the continuous integration.
client
Related to the `client` module.
enhancement
An improvement to Serenity.
examples
Related to Serenity's examples.
framework
Related to the `framework` and `framework::standard` modules and/or the `command_attr` crate
gateway
Related to the `gateway` module.
http
Related to the `http` module.
model
Related to the `model` module.
utils
Related to the `utils` module.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
client
andgateway
features were very tightly coupled so it makes the most sense to just merge them because there's no real path towards separating them ergonomically.A few breaking changes:
ClientError
because it was unused.client
module is moved to be a submodule under thegateway
module.sharding
submodule for clarity's sake, but re-exported them.I also adjusted the gateway docs to hopefully make them as clear as possible.
Note that the
Cargo.toml
changes are mostly superficial - in particular, changinggateway
to depend onmodel
(instead ofhttp
like howclient
did) isn't actually much of a change because trying to usegateway
with only a subset ofmodel
enabled will fail to compile, and that was also the case forclient
previously.