Skip to content

Update Rust crate resend-rs to 0.22.0#342

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

Update Rust crate resend-rs to 0.22.0#342
oxide-renovate[bot] wants to merge 1 commit intomainfrom
renovate/resend-rs-0.x

Conversation

@oxide-renovate
Copy link
Copy Markdown
Contributor

@oxide-renovate oxide-renovate bot commented Aug 6, 2025

This PR contains the following updates:

Package Type Update Change
resend-rs (source) workspace.dependencies minor 0.15.00.22.0

Release Notes

resend/resend-rust (resend-rs)

v0.22.0

Added
  • Lots of structs that previously only implemented Deserialize now also implement Serialize
  • New receiving::forward endpoint for forwarding received emails
  • CreateEmailBaseOptions::with_attachments
  • ContactBody.segment_ids
  • ApiKey.last_used_at
Changed
  • Fixed some typos in types
    • AttatchmentId -> AttachmentId
    • Attachment.AttatchmentId -> Attachment.AttachmentId
    • InboundAttatchmentId -> InboundAttachmentId
    • InboundAttachment.InboundAttatchmentId -> InboundAttachment.InboundAttachmentId
  • Attachment.content_disposition is now a concrete type instead of a string
  • receiving::get_attachment and receiving::list_attachments now return Attachment instead of
    InboundAttachment
  • Fixed some DomainStatuses parsing incorrectly
  • A bunch of updates to EmailBody, now fully up to spec
  • Renamed the type fields of the following structs to r#type for consistency
    • CreateContactPropertyOptions.ttype
    • ContactProperty.ttype
    • DomainSpfRecord.d_type
    • DomainDkimRecord.d_type
    • ReceivingRecord.d_type
    • Variable.ttype
  • Slightly simplified validation errors
    • ValidationError403Email and ValidationError403Domain have now been replaced with ValidationError403
      This was done because another 403 error was added for domains so the earlier distinction made no sense and
      was overly complex anyway.

v0.21.1

Compare Source

Added
  • Many fields that were previously private in events are now public

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.

Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • "after 8pm,before 6am"
  • Automerge
    • "after 8pm,before 6am"

🚦 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 has been generated by Renovate Bot.

@oxide-renovate oxide-renovate bot added the dependencies Pull requests that update a dependency file label Aug 6, 2025
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch from 066ef19 to b206e90 Compare August 8, 2025 03:02
@oxide-renovate oxide-renovate bot changed the title Update Rust crate resend-rs to 0.16.0 Update Rust crate resend-rs to 0.16.1 Aug 8, 2025
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch from b206e90 to 27647a6 Compare August 18, 2025 05:27
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch from 27647a6 to dfd4606 Compare September 2, 2025 12:49
@oxide-renovate oxide-renovate bot changed the title Update Rust crate resend-rs to 0.16.1 Update Rust crate resend-rs to 0.17.0 Sep 2, 2025
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch from dfd4606 to 7b86922 Compare September 3, 2025 11:26
@oxide-renovate oxide-renovate bot changed the title Update Rust crate resend-rs to 0.17.0 Update Rust crate resend-rs to 0.16.1 Sep 3, 2025
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch from 7b86922 to 08d294d Compare September 3, 2025 12:24
@oxide-renovate oxide-renovate bot changed the title Update Rust crate resend-rs to 0.16.1 Update Rust crate resend-rs to 0.17.1 Sep 3, 2025
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch from 08d294d to e49f874 Compare September 17, 2025 03:24
@oxide-renovate oxide-renovate bot changed the title Update Rust crate resend-rs to 0.17.1 Update Rust crate resend-rs to 0.18.0 Sep 17, 2025
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch 2 times, most recently from 384c59d to ac4efda Compare October 30, 2025 03:29
@oxide-renovate oxide-renovate bot changed the title Update Rust crate resend-rs to 0.18.0 Update Rust crate resend-rs to 0.19.0 Oct 30, 2025
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch from ac4efda to 9bede44 Compare January 18, 2026 08:58
@oxide-renovate oxide-renovate bot changed the title Update Rust crate resend-rs to 0.19.0 Update Rust crate resend-rs to 0.20.0 Jan 18, 2026
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch 2 times, most recently from a6bcb82 to 1317c13 Compare January 24, 2026 04:10
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch from 1317c13 to 20c241b Compare February 4, 2026 04:37
@oxide-renovate oxide-renovate bot changed the title Update Rust crate resend-rs to 0.20.0 Update Rust crate resend-rs to 0.21.0 Feb 4, 2026
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch 2 times, most recently from e18f635 to 6136cd3 Compare February 24, 2026 04:36
@oxide-renovate oxide-renovate bot changed the title Update Rust crate resend-rs to 0.21.0 Update Rust crate resend-rs to 0.21.1 Feb 24, 2026
@oxide-renovate oxide-renovate bot force-pushed the renovate/resend-rs-0.x branch from 6136cd3 to a5f357b Compare April 1, 2026 04:11
@oxide-renovate oxide-renovate bot changed the title Update Rust crate resend-rs to 0.21.1 Update Rust crate resend-rs to 0.22.0 Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants