From 9264ee5e9f9fe57f9bd1aae2c3bf2112ffeea9d5 Mon Sep 17 00:00:00 2001 From: Felipe Freitag Date: Fri, 31 Jul 2026 14:17:14 -0300 Subject: [PATCH] chore: bump version to 1.7.0 Add the suppressions entry (#208) and promote the Unreleased heading from #210 into the 1.7.0 section. Add the missing compare-link definitions for 1.7.0 and 1.6.0. The 1.6.0 heading has rendered as a broken reference link since it was added. --- CHANGELOG.md | 10 ++++++++-- Gemfile.lock | 2 +- lib/resend/version.rb | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49e473c..97269c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [1.7.0] - 2026-07-31 + +### Added + +- **Suppressions** - New `Resend::Suppressions` module to add (`add`), list (`list`), retrieve (`get`), and remove (`remove`) suppressed email addresses. `get` and `remove` accept either a suppression ID or the suppressed email address. `list` supports `origin` filtering (`bounce`, `complaint`, `manual`) plus the standard `limit`/`after`/`before` pagination params. New `Resend::Suppressions::Batch` module handles up to 100 addresses at a time via `add` and `remove`. ([#208](https://github.com/resend/resend-ruby/pull/208)) ### Changed -- ⚠️ **404 responses now raise `Resend::Error::NotFoundError`** instead of `Resend::Error::InvalidRequestError`, matching the documented intent of the (previously unreachable) `NotFoundError` class. Code rescuing `Resend::Error` or `Resend::Error::ServerError` is unaffected; code rescuing `InvalidRequestError` specifically to catch 404s should rescue `NotFoundError` instead. ([#209](https://github.com/resend/resend-ruby/issues/209)) +- ⚠️ **404 responses now raise `Resend::Error::NotFoundError`** instead of `Resend::Error::InvalidRequestError`, matching the documented intent of the (previously unreachable) `NotFoundError` class. Code rescuing `Resend::Error` or `Resend::Error::ServerError` is unaffected; code rescuing `InvalidRequestError` specifically to catch 404s should rescue `NotFoundError` instead. ([#210](https://github.com/resend/resend-ruby/pull/210)) ## [1.6.0] - 2026-07-09 @@ -141,4 +145,6 @@ Resend::Segments.remove("segment_123") - Remove deprecated `send_email` method from `Resend::Emails` module (use `Resend::Emails.send` instead) +[1.7.0]: https://github.com/resend/resend-ruby/compare/v1.6.0...v1.7.0 +[1.6.0]: https://github.com/resend/resend-ruby/compare/v1.5.0...v1.6.0 [1.0.0]: https://github.com/resend/resend-ruby/compare/v0.26.0...v1.0.0 diff --git a/Gemfile.lock b/Gemfile.lock index 51b576b..57bc728 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - resend (1.6.0) + resend (1.7.0) base64 httparty (>= 0.22.0) diff --git a/lib/resend/version.rb b/lib/resend/version.rb index e3d6951..25997fa 100644 --- a/lib/resend/version.rb +++ b/lib/resend/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Resend - VERSION = "1.6.0" + VERSION = "1.7.0" end