mailblastr 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9210b14443861405563bc567facbbdbbc1f2a085ed6758d67ba9d1e070ef65a
4
- data.tar.gz: faa999d54c513582c1e708b9b388e12a02d5df3b4ff1cc9102a6a22788e15541
3
+ metadata.gz: af406b751cac271f65de584e43a1b405887cbfa13448eace04d4ba8a58f57567
4
+ data.tar.gz: 46c015562325cd114404e4f34e17ac44b7481ae781bb013aba951349fe016fc9
5
5
  SHA512:
6
- metadata.gz: bb7228f34d402024c01ac0352d83a8a67b8f68f40720157fd635775fb19d5d3ae83d5f926bff9de4e4a7994fe8a9c48bbdeaa64c899ec2beae0a227a5c6ebc7b
7
- data.tar.gz: b84a3d5deb93b3c34fa0bb1fa3e6a69137bdfc4bf21e47e3fa3864481e00a7fd6782d5e1baab60b6f4d2629fce749508aec0d025632450a44fa27969f1b70c57
6
+ metadata.gz: b65ef435e4c88cc4415eba880b0be79ae107f7f20d374e6f30a4b19e7c85b5afb4c49833910a671979150407659b13e39a097d84cef3174a168cae3d0514b835
7
+ data.tar.gz: 157b75d0c9c47f2d0a78561238ab61ce03779ddf8da3b2a1a633cca472cfe0a66a2f392f2da54554aa2fa1dac319adac0ceddc03f313c871fde79dcd6dcd394c
data/README.md CHANGED
@@ -402,7 +402,7 @@ Only `Emails.send` and `Batch.send` honour the header. Every other endpoint —
402
402
 
403
403
  ## Rate limits
404
404
 
405
- Only the `/emails` routes are rate-limited: **30 requests per minute per IP**, covering reads as well as sends. Those responses carry `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset` headers (on successes too) so you can throttle before being rejected. The SDK retries a 429 or 503 automatically — up to `Mailblastr.max_retries` times (default 2), honouring `Retry-After`.
405
+ Only the `/emails` **send** routes are rate-limited: **30 requests per minute per IP**. Reads (`GET /emails`, `GET /emails/:id`, the `receiving` subtree and attachment listings) are NOT subject to that cap, so paging a large list no longer risks a 429. Capped responses carry `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset` headers (on successes too) so you can throttle before being rejected. The SDK retries a 429 or 503 automatically — up to `Mailblastr.max_retries` times (default 2), honouring `Retry-After`.
406
406
 
407
407
  ## Documentation
408
408
 
@@ -6,6 +6,13 @@ module Mailblastr
6
6
  class << self
7
7
  # Send a single email. POST /emails
8
8
  # Mailblastr::Emails.send({ from: "...", to: ["..."], subject: "...", html: "..." })
9
+ #
10
+ # Write ordinary links. Anchors, markdown links and bare URLs/domains in
11
+ # BOTH the :html and :text bodies are converted to tracked redirects at
12
+ # send time (when the sending domain has click tracking on), so a click is
13
+ # recorded whichever alternative the recipient's mail client renders.
14
+ # Opt-out links are never wrapped, and the content you send is stored and
15
+ # returned UNCHANGED — only the delivered copy carries the tracking URL.
9
16
  # Pass { idempotency_key: "order-123" } as the second argument to retry safely.
10
17
  def send(params, options = {})
11
18
  Client.request(:post, "/emails", body: params, options: options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mailblastr
4
- VERSION = "3.0.0"
4
+ VERSION = "4.0.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailblastr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MailBlastr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-09 00:00:00.000000000 Z
11
+ date: 2026-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest