Skip to content

Latest commit

 

History

History
77 lines (60 loc) · 3.62 KB

File metadata and controls

77 lines (60 loc) · 3.62 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project aims to follow Semantic Versioning.

[1.1.1]

Security

  • Updated httparty to >= 0.24, < 0.25 to address the SSRF and API-key leakage vulnerability in CVE-2025-68696.
  • Required addressable >= 2.9, < 3.0 for development to address the URI-template ReDoS vulnerability in CVE-2026-35611.

Changed

  • Raised the minimum supported Ruby version from 2.1 to 2.7, matching the requirement of the fixed httparty release line.
  • Updated development dependency floors for minitest, rake, and webmock.

[1.1.0]

Changed

  • Added messages.fetch_message_summary for GET /api/v2/domains/{domain}/messages/{messageId}/summary.
  • Added messages.fetch_message_text for GET /api/v2/domains/{domain}/messages/{messageId}/text.
  • Added messages.fetch_message_textplain for GET /api/v2/domains/{domain}/messages/{messageId}/textplain.
  • Added messages.fetch_message_texthtml for GET /api/v2/domains/{domain}/messages/{messageId}/texthtml.
  • Added messages.fetch_message_headers for GET /api/v2/domains/{domain}/messages/{messageId}/headers.
  • Added messages.stream_domain_messages for GET /api/v2/domains/{domain}/stream.
  • Added messages.stream_inbox_messages for GET /api/v2/domains/{domain}/stream/{inbox}.
  • Removed wait query parameter from messages.fetch_sms_message because the endpoint does not support it.
  • Removed wait query parameter from messages.fetch_inbox.
  • Fixed webhooks.private_webhook to include the webhook payload in the request body.
  • Debugging and test updates.
  • Made attachment download tests derive attachment IDs from the attachments list, removing the need for MAILINATOR_TEST_ATTACHMENT_ID.
  • Documented that GET /domains/{domain}/inboxes is covered by messages.fetch_inbox with inbox: "*".

[1.0.7]

Added

  • Optional delete query parameter support to messages.fetch_inbox_message.
  • Inbox-list query parameters to messages.fetch_sms_message (skip, limit, sort, decode_subject, cursor, full, delete).
  • .env.example with Mailinator integration test variables.
  • Resource-scoped integration test files:
    • test/authenticators_api_test.rb
    • test/domains_api_test.rb
    • test/messages_api_test.rb
    • test/rules_api_test.rb
    • test/stats_api_test.rb
    • test/webhooks_api_test.rb
  • Focused query-parameter regression tests in test/messages_query_params_test.rb.

Deprecated

  • Marked all Rules endpoints as deprecated:
    • client.rules.create_rule
    • client.rules.enable_rule
    • client.rules.disable_rule
    • client.rules.get_all_rules
    • client.rules.get_rule
    • client.rules.delete_rule
  • Marked Domain mutation endpoints as deprecated:
    • client.domains.create_domain
    • client.domains.delete_domain
  • Added deprecation markers in code (lib/mailinator_client/rules.rb) and deprecation notices in docs (docs/rules.md, README.md).

Changed

  • Updated dependency constraints:
    • Runtime: httparty to >= 0.21, < 0.22 (Ruby 2.6-compatible)
    • Development: minitest >= 5.25, < 7.0, rake >= 13.0, < 14.0, webmock >= 3.26, < 4.0
  • Updated integration testing structure by splitting the previous monolithic test/mailinator_client_api_test.rb.
  • Added .env loading support in test/test_helper.rb.
  • Hardened API error handling for non-JSON/empty error responses:
    • MailinatorClient::ResponseError now handles nil parsed responses safely.
    • Client#request now passes raw response body into ResponseError.