Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/twilight-rs/twilight

Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.
https://github.com/twilight-rs/twilight

release(util): bump to 0.8.0

Changes

`CommandBuilder::{application_id, id}` have been removed since they are
not sent to Dis...

7e7fd0715f27c5fb28b1ca280529f866ad0b6719 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(gateway): bump to 0.8.0

Changes

The default value for `ShardBuilder::large_threshold` has been corrected
to `50` ([#125...

44eb0dadde02957e3ed885eb11d8591ca9715375 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(gateway-queue): bump to 0.8.0

Changes

`tracing` is now an optional feature, and enabled by default ([#1203] -
[@Gelbpunkt]).
...

ab867e6cc8f9b8a1c30787a1f8eddd4b738a47d1 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(http): bump to 0.8.0

Additions

Add a feature, `trust-dns`, which uses `hyper-trust-dns` to use a fully
async and fea...

a8e4a80ebb5c667f2760b816e177e68e63fe2316 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(http-ratelimiting): initial release 0.8.0

Initial release ([#1191] - [@Gelbpunkt]). `http` now internally depends
on this crate to ratelim...

485f986face22f720bf7417b7559c6eacd8ba43a authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(embed-builder): bump to 0.8.0

Changes

`EmbedAuthorBuilder` now properly requires the `name` field ([#1290] -
[@itohatweb]).

...

98072dc52aec4a9c7fa30036c3820ef196615725 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(model): bump to 0.8.0

Changes

`tracing` is now an optional feature, and enabled by default ([#1203] -
[@Gelbpunkt]).
...

5981c0b0fa30755809933b05c1bd0a4cf1ad815a authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(http): Don't enforce HTTP scheme in connector (#1312)

Fixes an issue introduced in #1310: Now that the `HttpConnector` is
being created manually, the...

bc23e7314a54d4b1cd667cf33c790152c419bdd5 authored almost 3 years ago by Jens Reidel <[email protected]>
Merge branch 'main' into next

adb698218f2e06dd80fa27e40baf4d52f373fd10 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
refactor(model)!: parse timestampes with `time` (#1308)

Use the `time` crate to parse timestamps provided by the API.

This fixes an issue where leap ...

023428a723c47942abb9f33fb940e6251e870dde authored almost 3 years ago by Cassandra McCarthy <[email protected]>
feat(http): support trust-dns (#1310)

This adds back [trust-dns] support to twilight-http. It used to be
possible to use this via req...

3423d972474f955d06f52db6f717b86647ce2dda authored almost 3 years ago by Jens Reidel <[email protected]>
Merge branch 'main' into next

0b0a042093a870eacea5fd2bca5ad3aefc19ee43 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(model): bump to 0.7.3

Fixes

Mark some `old` fields as `Option`s to fix a case where they weren't present
([#1284] - [...

aa14a2d471508418e4d2219e7bf029e9e30b81c4 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(lavalink): bump to 0.7.3

Fixes

Support deserializing negative track vales in `PlaylistInfo` as `None`
([#1304] - [@james...

15b605e3107c2f336d5168f22ba1c8afac4e6b97 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(http): bump to 0.7.3

Additions

`DeleteWebhookMessage`, `UpdateWebhookMessage`, and `GetWebhookMessage`
now support t...

8d93ff49341cce4e2b642ffcc52f55d665351ca2 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(http)!: interaction followups have no `thread_id` (#1311)

This is breaking, however the previous commit has not been released.

Hotfix followup to #1286.

03fc39a25e6da3e02685c39cd5052eb7967fd46f authored almost 3 years ago by Cassandra McCarthy <[email protected]>
feat,fix(http): add and correct `thread_id` to webhooks/interactions (#1286)

`ExecuteWebhook` was sending the `thread_id` parameter in the JSON body
instead of in the path....

1f57c38d53d6e717e57801d8c63bfac4da1c0d50 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore: remove inapplicable lint

fdd7a5978c680f9ae23ee6fd684da6cee121f4d2 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Merge branch 'main' into next

f6198aa722af018c226bb92da2c1f5b6d556a997 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(examples): bring dependencies in line, fix codestyle and deprecation (#1294)

Changes:
* All examples now have the same order of dependencies and same feature notation style...

9891d08f491a9956dd89bb70501129f0c1a0ab4e authored almost 3 years ago by Jens Reidel <[email protected]>
feat(http): add missing codes to `ErrorCode` (#1291)

This PR adds the following error codes to the ErrorCode enum:

`30038`: Maximum number of unco...

1f5015701f49e5bba1bd321a9b9613578a6b317a authored almost 3 years ago by ITOH <[email protected]>
chore(http)!: avatar_url & username from CreateFollowupMessage (#1287)

The `avatar_url` and `username` fields are ignored by Discord when
creating an interaction foll...

e955e88ccf09455e1481b8fd40b2278db7ef8d91 authored almost 3 years ago by ITOH <[email protected]>
feat!(http,lavalink,model,gateway-queue): make `tracing` optional and default (#1203)

This makes `tracing` an optional dependency in all crates it previously
was required in. This d...

9aa7f4c0b87be80d8857070f6b28b591d8585c3a authored almost 3 years ago by Jens Reidel <[email protected]>
enhancement(model)!: `CommandInteractionDataResolved` `HashMap` fields. (#1225)

This lines up our implementation with Discord's and simplifies our
`serde` implementation.

B...

2a3e0db5e92cdceb82fa2110fed6f8ddb7e315c8 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
fix(embed-builder,model)!: new required embed fields (#1290)

`EmbedThumbnail:url`, `EmbedImage::url` and `EmbedAuthor::name` are now
required fields.

Clo...

457e48b74fca2cb283b7099c9073262ea8c5d601 authored almost 3 years ago by ITOH <[email protected]>
chore(gateway, http, lavalink): update dependencies for rustls 0.20 (#1276)

Updates `tokio-tungstenite` to `0.16` from `0.14`, which now supports
`rustls` `0.20` and allow...

0840dbf789bd99201387f03d0885b1912389091f authored almost 3 years ago by Jens Reidel <[email protected]>
Merge branch 'main' into next

c729847bab7eba35201da1561aede641c2630e6f authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(lavalink): treat `selected_track` negatives as None (#1304)

Fixes #1303.

643becbb1e092dd5418b4fd09a60f0411c7dab48 authored almost 3 years ago by James Liu <[email protected]>
fix(model/audit-log)!: mark some old fields optional (#1284)

In role create audit log events, and possibly channel create as well,
the `old_value` may be a ...

fe16d64706ecfeeb9212ec7872fe73100ce66216 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Merge branch 'main' into next

4d8b07a8145533e3464f2b4b4d8c8d3b17d603b6 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
ci: refactor actions into one file (#1285)

This PR does two things:
- Moves all actions into one file
- Requires a passing MSRV to run th...

90df4136a00c1f61f88b1bf02d7a3d9ad5ff6cfa authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(ci): correct min-ver (#1293)

The previous implementation invalidated its cache every day (nightly)
and it used the pre-minve...

4fdfcb856e291fe0555e83743aaeafed34466894 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
fix(gateway)!: large threshold default is 50 (#1255)

Closes #1204.

025d784dd04c37becb91a35a473aec8a030f4c13 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Merge branch 'main' into next

02e37aea7b91e15f023bb9248dd3209c2652dcd2 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(util): bump to 0.7.1

Additions

Add autocomplete support to the `CommandBuilder` ([#1228] - [@vilgotf]).

Add `max_va...

78f853a63184f81e0b9eb449d914dae48e6bdac0 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(model): bump to 0.7.2

Additions

Add the `UserOrId::id` function ([#1219] - [@vilgotf]).

Support `ApplicationCommand`...

a18a01d7f584c3e9e6716ea9c1c50355b3b4c1c9 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(lavalink): bump to 0.7.2

Fixes

Allow the crate to compile with `default-features = false` set ([#1248] -
[@7596ff]).

[#...

fc2feb72e8fe027b7c7d5bfa1f635c1b068c28e8 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(http): bump to 0.7.2

Additions

Add `Client::update_current_member`, and deprecate
`Client::update_current_user_nick`...

8c7160aa87b6ce4559f09a62bcab72330c45ba2f authored almost 3 years ago by Cassandra McCarthy <[email protected]>
release(cache-inmemory): bump to 0.7.2

Additions

Add `CachedMember::avatar` ([#1252] - [@7596ff]).

[#1252]: https://github.com/twilig...

ddc68d12fe2c0d6d766718a8c210c0c8285500f7 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Merge branch 'main' into next

626404b0ea44db5a2895f95eabf8b510614e54b6 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
feat(http,model): bring multiple attachments up to date (#1206)

This brings support for multiple attachments up to date with
https://github.com/discord/discord...

b4c80b561126c4267a48b302e3dd551f9017d1d1 authored almost 3 years ago by Erk <[email protected]>
Merge branch 'main' into next

15323d2fccc5aec721320441ad0accc5adeb2333 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(model): followup to previous hotfix

042ac9ed4e2ce0d681e78c6a6fad705fca4c4e6b authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(model): hotfix for non-optional joined_at

64d45e42e135d026f775e5ce541c93cc1ad34735 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(model): hotfix for non-optional joined_at

1ff841befa1d365ce98dbdac00e3a61a9a7da34e authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Merge branch 'main' into next

c843bc4207cbe6d891cc3ed4937e56ff00e27a88 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(http): deprecate username & avatar_url (#1289)

This PR deprecates the avatar_url & username functions from the
CreateFollowupMessage struct.
...

c79570e4cc3b58e5d5bacb41f6a417fe102ea7de authored almost 3 years ago by ITOH <[email protected]>
fix(model): deserialize thread member by injecting the guild id (#1264)

This injects the guild ID into the fields member and presence for
THREAD_MEMBERS_UPDATE.

Clo...

c98e01904310f9251d294c8a123b04ce5eacef55 authored almost 3 years ago by Erk <[email protected]>
feat(http): add `UpdateCurrentMember` (#1253)

Adds `UpdateCurrentMember`, which allows updating the current member in
a guild. Only supports ...

feaaac0f1f7a0bb85d1bf028da45b2653e95df6a authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(cache): use normal partialeq impl (#1279)

`PartialEq` should be implemented for the Owned variants.

53a0867b8cbfcea8284e4c85fa5e32b132875ce9 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
chore(cache): `joined_at` no longer optional (#1278)

Followup to #1220.

06ea427d5d60d30b484325f0837ae16955999684 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
fix(http-ratelimiting): webhook token is major parameter (#1263)

This should fix a lot of issues when responding to lots of interactions,
because currently they...

68e8708d883cee3131d2f5035826d0a505d15058 authored almost 3 years ago by Jens Reidel <[email protected]>
feat(standby)!: expose results of event processing (#1160)

Expose the results of processing an event by keeping a counter of what
results we get from byst...

5ed2e2c9e1d755ed1f3b5ae0d145bb1b2788034d authored almost 3 years ago by Zeyla Hellyer <[email protected]>
Merge branch 'main' into next

8f496cdeb936116aaac74d9b21cb9cbc81b8515b authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(project): make error example compile (#1281)

4f6311192fbdb9484f5e3f941e2b98be6c840a16 authored almost 3 years ago by Gryffon Bellish <[email protected]>
fix(model): serialize correct order & serde typo (#1272)

Moved out of #1228.

09ca9ca35e844a0e552fae39639948cc7c9e9137 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
feat(model)!: `ApplicationCommand` autocomplete (#1228)

This adds the following structs:
* `application::callback::Autocomplete`

The following metho...

c2f395cc508dab699c2007177eb8d70f9252a0db authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
Merge branch 'main' into next

66dfdebfa9577e4a51572c152cd8b61e7889e015 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(gh-actions): check minver deps (#1277)

Will catch if newer features are unintentionally used without a
dependency bump. Note that `mo...

efb604504f2fe199ef924fd6bfcadd5a63754491 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
docs: add note to initial example (#1080)

Co-authored-by: Cassandra McCarthy <[email protected]>

b879b4fd5b4c90668847b8fe7c435df98d471965 authored almost 3 years ago by Forest Anderson <[email protected]>
chore(http)!: demote `auto_archive_duration` to optional when creating a thread (#1256)

Adds methods copied from `UpdateThread` to set the value optionally.

Fixes #1210.

801988545aa2f8a4b3e275383b7b2ea949975800 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(model)!: remove deprecated user flags (#1274)

Continued from #1268.

14a084eb3403e0237cdd552176bd1a1a28068138 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(http)!: remove prelude (#1273)

Remove the `http` prelude.

Continued from #1257 and #1265.

81e52b19177a7a27086d52a5720c470c11f8908b authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Merge branch 'main' into next

9d6eff950ef3d5aad0a83ee89dffa5bafa395488 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(cache,gateway-queue): add missing sync-readme checks (#1259)

Sorts sync-readme check list, adds missing checks for cache-inmemory and
gateway-queue, and act...

c014f5a9cbeb4dd05f508ffed9f0b63bd649fc25 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
feat(http): add `GetThreadMember` (#1258)

Fixes #1231.

Conflicts with #1162.

de3b519cffd0302c68dd7b08a32197c683d5e76b authored almost 3 years ago by Cassandra McCarthy <[email protected]>
enhancement(model)!: make `Member::joined_at` required (#1220)

This field is not optional: <https://discord.com/developers/docs/resources/guild#guild-member-ob...

48a74e113fb252d23739bef44cc5a05b80ff2599 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
Merge branch 'main' into next

006424b8c64567b447a2a2b035137be28890e7f2 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(model): update user flags (#1268)

Fixes #1236.

6eecb2f3cf7063f7b64c95d854b622c501d6b347 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(model): new system channel flag (#1269)

Additionally documents the entire struct.

Fixes #1239.

1a2e92413e49548f483ae3ceeeaf64e24ebf516c authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(model): add 2 application flags (#1267)

Fixes #1238.

59540b759ddc9b3ca5a2e8d6e7bd887e977f7af4 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(model): add 3 activity flags (#1266)

Fixes #1237.

5fa169f01f1cab5f45660f3be71aeb22fdb233b5 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(util/builder): CommandBuilder remove unnecessary options (#1233)

These options are not meant to be sent to Discord so there's no need to
customize them.

Also...

a90e86d2f119d967587b37ad3048f99dc1a5cfcf authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
Merge branch 'main' into next

66b4ecbfc3e6628a9d06b366250f4a3e472fd5bc authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(http): readd and deprecate prelude (#1265)

#1257 accidentally caused a breaking change. This reverts it to the
extent where it is no longe...

e0e6399a226e24cad114f947355ddc5f84bd2b84 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Merge branch 'main' into next

1f77d801247904207d7cf4308ffdd4c7eed8c21a authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(model): account for the `type` of `CommandDataOption` in deserialization (#1240)

Because the JSON doubles sent by discord sometimes seems to be without
trailing decimals (eg `5...

b28fdde4de976c071e7073dead657a17c5d82f78 authored almost 3 years ago by Erk <[email protected]>
chore(examples): fold in webhook-slash (#1246)

Adds the contents of `twilight-rs/examples` to the new examples
directory.

If you are having...

4c6c086b5d9d1f271e9963bcd1b23c5fa8242547 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
ci: add tarpaulin codecov action (#1254)

Adds a check for code coverage, which reports the statistic to
codecov.io, and comments on PRs ...

5f35a77f3ede9e24026d0f51ef32b48bbb328c25 authored almost 3 years ago by Gryffon Bellish <[email protected]>
refactor(http): remove internal prelude (#1257)

98bf26ca646f4ee5ad7eef9faebe427e12b9b3e3 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
feat(cache,model): guild avatrs (#1252)

Adds the `avatar` field to `Member`, `PartialMember`, and
`MemberUpdate`.

Part of #1178.

45d75dbd8ebbc8a11fe16f3cc87b6b290b02c93f authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(model): move `InviteMetadata` fields to `Invite` (#1247)

Fixes a misunderstanding of the docs on my part that didn't actually
include these fields in th...

db1b469ae51bdb4938ec24bbc1929372d085fb24 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(model): skip serialize optional values (#1234)

Aligns our serialization with Discord's docs.

1cd2d2672953cffea9962c144ac70f29f5612ac9 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
chore(model): `START_EMBEDDED_ACTIVITIES` permission (#1229)

Doc comment is copied from Discord's docs.

Closes #1173.

a2960ad9eb96e76120cc7d37f47b585e0651fbcd authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
Merge branch 'main' into next

4b2442e59a22e6ecf3818eaf5c8390b908b4ee6d authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(lavalink): reconfigure default features (#1248)

Promotes `http` to a required dependency. Changes the feature tag on the
`http` module definiti...

cb43cdbc7365879b6a30c6f5ef92578de065a287 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
ci: exclude examples properly

Updates the old action to properly exclude the new example location.

90a0050f57b97c71933c3524238e2fa13778689a authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Revert "ci: doc action improvements (#1249)"

This reverts commit 43d2d46d5ac96b8910a15fbf292618a6fd6d843e.

e14ab04750b29e826f57f96d00aadc729c8f1704 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
feat(model/interactions)!: add `min_value` and `max_value` (#1235)

This PR adds `min_value` and `max_value` to the `NUMBER` and `INTEGER`
slash command options. T...

58b9c89bf7ddb858aa05b01cd34b82f54fd6f636 authored almost 3 years ago by baptiste0928 <[email protected]>
ci: doc action improvements (#1249)

Combines testing and deploying docs into one action.

43d2d46d5ac96b8910a15fbf292618a6fd6d843e authored almost 3 years ago by Gryffon Bellish <[email protected]>
chore: move examples to central location (#1243)

This moves all of our example crates to a central location in the
repository, and adds a line t...

a53edf70a9fc489c35b4e44dd093bcba586e0c05 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Merge branch 'main' into next

4981e3f388e7776470d3f53ab057f6a0d07b2c4d authored almost 3 years ago by Cassandra McCarthy <[email protected]>
enhancement(model): Add `UserId` getter to`UserOrId` (#1219)

Refactors a few internal functions into a convenience function.

7982e4a061c184c8e93d9b0b92a6f972233d20a5 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
fix!(http): template paths (#1205)

Taken from #1191.

Matches the Discord API Docs on this matter (https://discord.com/developers...

40eab445d8e47cd2d7e4b8f7dd1fee16d2072b8a authored almost 3 years ago by Jens Reidel <[email protected]>
Merge branch 'main' into next

d39444331dd169d2f4ab855fea186ac2f24c040b authored almost 3 years ago by Cassandra McCarthy <[email protected]>
chore(model): Add `Command::version` field (#1230)

Also adds a `CommandVersionId` identifier.

9aa74e074741c4ae46e6625e83af050a3db076d0 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
refactor(model): improve `CommandDataOption` serde implementation (#1217)

The old implementation contained unnecessary code duplication and clones.

15b7911b1033fe1b6fbb3544fd375987fa77daa5 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
Merge branch 'main' into next

304d80ccdfa31160f055d0e17a57da43b90589bb authored almost 3 years ago by Cassandra McCarthy <[email protected]>
fix(model): subcommand without option is allowed (#1216)

Fixes an error in deserializing subcommands when no options are present.

Co-authored-by: Cas...

e4839572816997cf68744c59b8397c50077b5c11 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
feat(standby): add components (#1189)

Adds functions and types that enable listening for components.

Closes #1179.

591434222a4fa06497aabcb78242307fa376ce7d authored almost 3 years ago by Gryffon Bellish <[email protected]>