Skip to content

fix(deps): update rust crate resend-rs to 0.21.0#4

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/resend-rs-0.x
Open

fix(deps): update rust crate resend-rs to 0.21.0#4
renovate[bot] wants to merge 1 commit intomainfrom
renovate/resend-rs-0.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Feb 26, 2025

This PR contains the following updates:

Package Type Update Change
resend-rs (source) dependencies minor 0.11.00.21.0

Release Notes

resend/resend-rust (resend-rs)

v0.21.0

Compare Source

Changed
  • The following fields from InboundAttachment are not Options:
    • filename
    • content_disposition
    • size

v0.20.0

Compare Source

Changed
  • Renamed ErrorKind::ValidationError403 -> ErrorKind::ValidationError403Email
Added
  • ErrorKind::ValidationError403Domain
  • EmailEventType::EmailSuppressed, EmailEventType::EmailScheduled
Fixed
  • ListResponse::is_empty and ListResponse::len are no longer const
    (#​33/)

v0.19.0

Added
  • optional text, html fields in Broadcast.
  • 7 new Templates endpoints
  • 5 new Topics endpoints
    • and 2 new contact-topic endpoints
  • 4 new Inbound endpoints
  • 2 new Email endpoints
  • 5 new Webhook endpoints
  • Added email.received and email.failed webhook event types
  • 3 new contact-segment methods
  • Added 5 new contact properties endpoints
Changed
  • renamed Audiences -> Segments
  • renamed Email.Attachment -> Email.CreateAttachment
  • renamed ContactData -> CreateContactOptions
  • Contact methods no longer require an audience_id
    let contact = CreateContactOptions::new("steve.wozniak@gmail.com")
        .with_first_name("Steve")
        .with_last_name("Wozniak")
    +   .with_audience_id(&audience_id);
        .with_unsubscribed(false);
    -let _contact_id = resend.contacts.create(&audience_id, contact).await?;
    +let _contact_id = resend.contacts.create(contact).await?;
  • Contact get_*, update_* and delete_* methods have been merged into get, update and
    delete

v0.18.0

This is unfortunately going to break all endpoint::list calls due to backend changes. The good
news is that you can get more or less the old behavior by adding:

+use resend_rs::list_opts::ListOptions;

let _emails = resend
  .emails
  .list(
+    ListOptions::default()
  ).await?;
Changed
  • Email.last_event is now a strongly typed EmailEvent enum instead of a string.
  • Generalized types::ListEmailOpts to list_opts::ListOpts so it can be used in other endpoints
  • Generalized types::ListEmailResponse to list_opts::ListResponse, same as above^
  • The following endpoints now take a ListOptions argument and return ListResponse<T>
    • api_keys::list
    • audiences::list
    • broadcasts::list
    • contacts::list
    • domains::list
Removed
  • ListApiKeyResponse
  • ListAudienceResponse
  • ListBroadcastResponse
  • ListContactResponse
  • ListDomainResponse

v0.17.1

Fixed
  • The resend backend renamed the header used by the batch::send_with_batch_validation method

v0.17.0

Added
  • Vec<CreateEmailOptions> now implements Idempotent (should've added this earlier, oops)
  • Support for batch validation modes via BatchSvc::send_with_batch_validation
    (and SendEmailBatchResponse).
  • New endpoint: emails::list

v0.16.1

Added
  • Attachment::with_content_id, will replace Attachment::with_inline_content_id in the next
    major release.

v0.16.0

Added
  • Attachment::with_inline_content_id
  • Client::with_config allowing to create a Resend client with custom configuration
    (#​28)
Changed
  • Attachment fields were made private to avoid future breaking changes when new fields are added.
    Use the Attachment for setting the fields instead.
  • Tag fields were also made private.

v0.15.0

Added
  • A bunch of #[must_use] and #[inline].
Changed
  • Updated ErrorKind to match https://resend.com/docs/api-reference/errors
  • Changed how idempotency_keys work;
    • CreateEmailBaseOptions no longer has an idempotency_key field, rather its
      with_idempotency_key method returns an instance of the new Idempotent<T> struct which
      is then consumed by methods that support it. Because the methods that support it (send for now)
      now take Into<Idempotent<CreateEmailBaseOptions>> and CreateEmailBaseOptions automatically
      implements that, existing code should just work.

      In order for batch emails to work similarly, a new trait idempotent::IdempotentTrait was
      created. Importing that adds the with_idempotency_key to iterators of type
      CreateEmailBaseOptions. This was all done to fix the bug I mention later.

  • CreateDomainOptions::with_custom_return_path now takes Into<String> so &str can also be
    used
Removed
  • ErrorKind::InvalidToAddress
  • ErrorKind::InvalidScope
  • removed already deprecated contacts::get, use contacts::get_by_id or contacts::get_by_email
    instead
Fixed
  • Sending batch emails now correctly take 1 idempotency key instead of one per email.

v0.14.1

Added
  • CreateDomainOptions::with_custom_return_path

v0.14.0

Added
  • contacts::get_by_id and contacts::get_by_email
Changed
  • Deprecated contacts::get in favor of contacts::get_by_id and contacts::get_by_email
Removed
  • Removed deprecated contacts::update function (use contacts::update_by_id/contacts::update_by_email)

v0.13.0

Added
  • CreateEmailBaseOptions::with_idempotency_key
Changed
  • Moved SendEmailBatchResponse from email to batch module
  • Made LocatedError, DebugResult and CLIENT (all used for testing internals) private (they
    were accidentally public before, very unlikely they were used by anyone)

v0.12.1

Added
  • broadcasts::update and UpdateBroadcastOptions, UpdateBroadcastResponse

v0.12.0

Added
  • WASM support

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/resend-rs-0.x branch from 55dbab4 to 3a17b3b Compare April 21, 2025 04:09
@renovate renovate bot changed the title fix(deps): update rust crate resend-rs to 0.12.0 fix(deps): update rust crate resend-rs to 0.13.0 Apr 21, 2025
@renovate renovate bot force-pushed the renovate/resend-rs-0.x branch from 3a17b3b to 9202a1b Compare April 26, 2025 15:40
@renovate renovate bot changed the title fix(deps): update rust crate resend-rs to 0.13.0 fix(deps): update rust crate resend-rs to 0.14.0 Apr 26, 2025
@renovate renovate bot force-pushed the renovate/resend-rs-0.x branch from 9202a1b to ccd344e Compare May 10, 2025 15:27
@renovate renovate bot changed the title fix(deps): update rust crate resend-rs to 0.14.0 fix(deps): update rust crate resend-rs to 0.15.0 May 10, 2025
@renovate renovate bot force-pushed the renovate/resend-rs-0.x branch from ccd344e to 0fca43e Compare August 4, 2025 23:08
@renovate renovate bot changed the title fix(deps): update rust crate resend-rs to 0.15.0 fix(deps): update rust crate resend-rs to 0.16.0 Aug 4, 2025
@renovate renovate bot changed the title fix(deps): update rust crate resend-rs to 0.16.0 fix(deps): update rust crate resend-rs to 0.17.0 Sep 2, 2025
@renovate renovate bot force-pushed the renovate/resend-rs-0.x branch from 0fca43e to b24e661 Compare September 2, 2025 22:23
@renovate renovate bot force-pushed the renovate/resend-rs-0.x branch from b24e661 to 51d5a05 Compare September 17, 2025 19:55
@renovate renovate bot changed the title fix(deps): update rust crate resend-rs to 0.17.0 fix(deps): update rust crate resend-rs to 0.18.0 Sep 17, 2025
@renovate renovate bot changed the title fix(deps): update rust crate resend-rs to 0.18.0 fix(deps): update rust crate resend-rs to 0.19.0 Nov 2, 2025
@renovate renovate bot force-pushed the renovate/resend-rs-0.x branch from 51d5a05 to fbef2b1 Compare November 2, 2025 09:13
@renovate renovate bot changed the title fix(deps): update rust crate resend-rs to 0.19.0 fix(deps): update rust crate resend-rs to 0.20.0 Jan 19, 2026
@renovate renovate bot force-pushed the renovate/resend-rs-0.x branch from fbef2b1 to c608e95 Compare January 19, 2026 23:31
@renovate renovate bot force-pushed the renovate/resend-rs-0.x branch from c608e95 to 223bc21 Compare February 3, 2026 23:34
@renovate renovate bot changed the title fix(deps): update rust crate resend-rs to 0.20.0 fix(deps): update rust crate resend-rs to 0.21.0 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants