Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 6, 2024

This PR contains the following updates:

Package Change Age Confidence
resend 0.10.0 -> 0.27.0 age confidence

Release Notes

resend/resend-ruby (resend)

v0.27.0

Compare Source

v0.26.0

Compare Source

Overview

This major release introduces breaking changes to the Contacts API and deprecates the Audiences API in favor of Segments. If you only use the SDK for sending emails or the Audiences API, you can upgrade to v1.0.0 without any code changes. The breaking changes are limited to the Contacts API only.

⚠️ BREAKING CHANGES
Contacts API Changes
  • ⚠️ Change Contacts.create to accept hash parameter with optional audience_id - Previously required audience_id in params, now it's optional. Supports global contacts.
  • ⚠️ Change Contacts.get from get(audience_id, id) to get(params) - Now accepts a hash with optional audience_id and required id or email. Raises ArgumentError: "Missing \id` or `email` field"` when neither is provided.
  • ⚠️ Change Contacts.list from list(audience_id, params = {}) to list(params = {}) - Now accepts a hash with optional audience_id and pagination params
  • ⚠️ Change Contacts.remove from remove(audience_id, contact_id) to remove(params) - Now accepts a hash with optional audience_id and required id or email. Raises ArgumentError: "Missing \id` or `email` field"` when neither is provided.
  • ⚠️ Change Contacts.update error message - Error changed from "id or email is required" to "Missing \id` or `email` field"` to match Node.js SDK format
  • ⚠️ Change Contacts.update to accept optional audience_id - Previously required audience_id in params, now it's optional

Before (v0.x):

# Methods used positional arguments and required audience_id
Resend::Contacts.create(audience_id: "aud_123", email: "user@example.com", first_name: "John")
contact = Resend::Contacts.get("aud_123", "contact_123")
contacts = Resend::Contacts.list("aud_123")
contacts = Resend::Contacts.list("aud_123", limit: 10)
Resend::Contacts.update(audience_id: "aud_123", id: "contact_123", first_name: "Jane")
Resend::Contacts.remove("aud_123", "contact_123")

After (v1.0.0):

# Methods use hash parameters and support optional audience_id
# Global contacts (no audience_id)
Resend::Contacts.create(email: "user@example.com", first_name: "John")
contact = Resend::Contacts.get(id: "contact_123")
contact = Resend::Contacts.get(email: "user@example.com")
contacts = Resend::Contacts.list
contacts = Resend::Contacts.list(limit: 10)
Resend::Contacts.update(id: "contact_123", first_name: "Jane")
Resend::Contacts.remove(id: "contact_123")

# Audience-scoped contacts (with audience_id)
Resend::Contacts.create(audience_id: "aud_123", email: "user@example.com", first_name: "John")
contact = Resend::Contacts.get(audience_id: "aud_123", id: "contact_123")
contacts = Resend::Contacts.list(audience_id: "aud_123", limit: 10)
Resend::Contacts.update(audience_id: "aud_123", id: "contact_123", first_name: "Jane")
Resend::Contacts.remove(audience_id: "aud_123", id: "contact_123")
Audiences API Deprecated
  • ⚠️ Deprecate Resend::Audiences in favor of Resend::Segments - The Audiences module has been replaced with Segments. A backward-compatible alias Audiences = Segments has been added, so existing code will continue to work.

Migration (Recommended):

Update your code to use Segments instead of Audiences:

# Before (still works but deprecated)
Resend::Audiences.create(name: "My Audience")
Resend::Audiences.get("audience_123")
Resend::Audiences.list
Resend::Audiences.remove("audience_123")

# After (recommended)
Resend::Segments.create(name: "My Segment")
Resend::Segments.get("segment_123")
Resend::Segments.list
Resend::Segments.remove("segment_123")

Note: The Audiences alias is deprecated and may be removed in a future major version. Please migrate to Segments.

Added
New API Modules
  • Add Resend::Templates API for managing email templates
    • Templates.create - Create a new template
    • Templates.get - Retrieve a template by ID
    • Templates.update - Update an existing template
    • Templates.publish - Publish a template
    • Templates.duplicate - Duplicate an existing template
    • Templates.list - List all templates with pagination
    • Templates.remove - Delete a template
  • Add Resend::Topics API for managing topics
    • Topics.create - Create a new topic
    • Topics.get - Retrieve a topic by ID
    • Topics.update - Update a topic
    • Topics.list - List all topics with pagination
    • Topics.remove - Delete a topic
  • Add Resend::Segments API for managing segments (replacement for Audiences)
    • Segments.create - Create a new segment
    • Segments.get - Retrieve a segment by ID
    • Segments.list - List all segments
    • Segments.remove - Delete a segment
  • Add Resend::ContactProperties API for managing custom contact properties
    • ContactProperties.update - Update contact properties (validates and raises ArgumentError: "Missing \id` field"` when id is not provided)
    • ContactProperties.get - Retrieve contact properties by ID
  • Add Resend::Contacts::Segments API for managing contact-segment relationships
    • Contacts::Segments.list - List all segments for a contact
    • Contacts::Segments.add - Add a contact to a segment
    • Contacts::Segments.remove - Remove a contact from a segment
  • Add Resend::Contacts::Topics API for managing contact topic subscriptions
    • Contacts::Topics.list - List topic subscriptions for a contact
    • Contacts::Topics.update - Update topic subscriptions (opt-in/opt-out) for a contact
Contacts API Enhancements
  • Add support for email parameter in Contacts.get and Contacts.remove methods (can now use email instead of ID)
  • Add audience_id support in Contacts API methods for scoped operations
  • Add support for global contacts (contacts not scoped to a specific audience/segment)
  • Add validation error messages matching Node.js SDK format with backticks around field names
Broadcasts API Updates
  • Add deprecation warnings for audience_id in Broadcasts.create and Broadcasts.update (use segment_id instead)
Removed
  • Remove deprecated send_email method from Resend::Emails module (use Resend::Emails.send instead)

v0.25.0

Compare Source

What's Changed

New Contributors

Full Changelog: resend/resend-ruby@v0.24.0...v0.25.0

v0.24.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.23.0...v0.24.0

v0.23.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.22.0...v0.23.0

v0.22.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.21.0...v0.22.0

v0.21.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.20.0...v0.21.0

v0.20.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.19.0...v0.20.0

v0.19.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.18.1...v0.19.0

v0.18.1

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.18.0...v0.18.1

v0.18.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.17.2...v0.18.0

v0.17.2

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.17.1...v0.17.2

v0.17.1

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.17.0...v0.17.1

v0.17.0

Compare Source

What's Changed

  • feat: Support for Rails API based headers setting by @​drish in #​89
  • chore: bump to v0.17.0

Full Changelog: resend/resend-ruby@v0.16.0...v0.17.0

v0.16.0

Compare Source

What's Changed

New Contributors

Full Changelog: resend/resend-ruby@v0.15.0...v0.16.0

v0.15.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.14.0...v0.15.0

v0.14.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.13.0...v0.14.0

v0.13.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.12.0...v0.13.0

v0.12.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.11.0...v0.12.0

v0.11.0

Compare Source

What's Changed

Full Changelog: resend/resend-ruby@v0.10.0...v0.11.0


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 is behind base branch, 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-0.x-lockfile branch 2 times, most recently from 6c36c16 to ab4c4de Compare March 22, 2024 02:53
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.11.0 chore(deps): update dependency resend to v0.12.0 Jun 11, 2024
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from ab4c4de to 6498b41 Compare June 11, 2024 00:52
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 6498b41 to ba8be9d Compare June 27, 2024 13:14
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch 2 times, most recently from 4996607 to fd40cbc Compare August 16, 2024 02:08
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.12.0 chore(deps): update dependency resend to v0.13.0 Aug 16, 2024
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from fd40cbc to 483a428 Compare September 12, 2024 15:07
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 483a428 to acde564 Compare September 24, 2024 16:38
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from acde564 to 108ded1 Compare November 8, 2024 01:29
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.13.0 chore(deps): update dependency resend to v0.14.0 Nov 8, 2024
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 108ded1 to fcb8622 Compare December 15, 2024 03:49
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.14.0 chore(deps): update dependency resend to v0.15.0 Dec 15, 2024
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.15.0 chore(deps): update dependency resend to v0.16.0 Dec 24, 2024
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from fcb8622 to 2c60fd4 Compare December 24, 2024 16:06
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 2c60fd4 to 2de3a45 Compare December 31, 2024 22:23
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.16.0 chore(deps): update dependency resend to v0.17.0 Dec 31, 2024
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 2de3a45 to 5274406 Compare January 8, 2025 04:38
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.17.0 chore(deps): update dependency resend to v0.17.1 Jan 8, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 5274406 to 1983cdd Compare January 16, 2025 02:07
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.17.1 chore(deps): update dependency resend to v0.17.2 Jan 16, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 1983cdd to dc67342 Compare January 24, 2025 22:08
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.17.2 chore(deps): update dependency resend to v0.18.0 Jan 24, 2025
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.18.0 chore(deps): update dependency resend to v0.18.1 Feb 6, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from dc67342 to 5af23c1 Compare February 6, 2025 02:56
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 5af23c1 to 38d98a9 Compare March 25, 2025 05:08
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.18.1 chore(deps): update dependency resend to v0.19.0 Mar 25, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 38d98a9 to 71d63d8 Compare April 28, 2025 00:58
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.19.0 chore(deps): update dependency resend to v0.20.0 Apr 28, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 71d63d8 to cd67026 Compare May 6, 2025 01:11
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.20.0 chore(deps): update dependency resend to v0.21.0 May 6, 2025
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.21.0 chore(deps): update dependency resend to v0.22.0 May 15, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from cd67026 to c39e44b Compare May 15, 2025 05:33
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from c39e44b to 5c4f4bc Compare July 5, 2025 00:13
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 5c4f4bc to 3ed43e6 Compare August 7, 2025 02:15
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.22.0 chore(deps): update dependency resend to v0.23.0 Aug 7, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 3ed43e6 to 41830a3 Compare August 13, 2025 04:35
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.23.0 chore(deps): update dependency resend to v0.24.0 Aug 13, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch 2 times, most recently from 7d1f804 to 6fce7c2 Compare August 25, 2025 15:08
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 6fce7c2 to 47246d9 Compare September 20, 2025 02:26
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.24.0 chore(deps): update dependency resend to v0.25.0 Sep 20, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 47246d9 to 94d425b Compare October 14, 2025 20:12
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.25.0 chore(deps): update dependency resend to v0.26.0 Oct 14, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 94d425b to 547960f Compare October 29, 2025 21:12
@renovate renovate bot changed the title chore(deps): update dependency resend to v0.26.0 chore(deps): update dependency resend to v0.27.0 Oct 29, 2025
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch 3 times, most recently from c0a1e78 to 6223b84 Compare November 21, 2025 17:29
@renovate renovate bot force-pushed the renovate/resend-0.x-lockfile branch from 6223b84 to c3dc1a5 Compare November 26, 2025 16:22
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.

1 participant