mailersend-ruby 3.4.0 → 3.5.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: 84cfcecb512ca3be82b1060018748424960c07fb2c1f4f37b2fd0e5b495f8623
4
- data.tar.gz: e2737c666d5fe36e12338faf2816dc755fbbdf8a2003eb552acc45bd19a0abe4
3
+ metadata.gz: 11e81f98436cdc2dfed4f6f1698d45b4fa4b4290432e9c22b8cc5bf043db16c9
4
+ data.tar.gz: 4f23f65693276d116b7de40524c1be037e857135379a75bb4e9d88ad9b951aa7
5
5
  SHA512:
6
- metadata.gz: 79b0ae2b3cb61881a245ee793d13cb588838846e51488a35142755fa9cdcd7376932efe6e7b5c73c8706b3409cc1a4bca7ca4c8ceec669af72e66b00d39a7b07
7
- data.tar.gz: 457825d4c739fd5be6fe2e7864bead0d3838fdbfaf26cb7675fe15be9448e6a655388791faed2c317085ccaa6b9e2e476a9de7a1a1df809cb26ff290eee82e78
6
+ metadata.gz: 1ada53e94173c0b3698a0a28858e3155cec9780b28b87db45ffd7713b02da70bab541d72b9a079440be79bb864aaebc70019cd5d062ec660e9b098c4440377da
7
+ data.tar.gz: 84a99338090731e4745cd2cbedda499521ae261c06ec8b27dfbc52169417a6ead54400212c811af90e9a2693da88878c0127f58d0d28f5bc3de7e7ea0ba7a731
@@ -3,30 +3,33 @@ name: Publish Gem
3
3
  on:
4
4
  push:
5
5
  tags:
6
- - v*
6
+ - "v*"
7
7
  jobs:
8
8
  build:
9
9
  runs-on: ubuntu-latest
10
10
 
11
11
  steps:
12
- - uses: actions/checkout@v7
12
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
13
13
 
14
14
  - name: Set up Ruby
15
15
  uses: ruby/setup-ruby@v1
16
16
  with:
17
17
  ruby-version: 3.1
18
18
 
19
- - name: Install Bundler
20
- run: gem install bundler -v 2.5.23
19
+ # The tag is the only source of the version; version.rb holds a placeholder.
20
+ - name: Set the version from the tag
21
+ run: |
22
+ if ! [[ "$GITHUB_REF_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.]+)?$ ]]; then
23
+ echo "::error::$GITHUB_REF_NAME is not a version tag such as v1.2.3"
24
+ exit 1
25
+ fi
26
+ VERSION="${GITHUB_REF_NAME#v}"
27
+ sed -i "s/VERSION = '.*'/VERSION = '${VERSION}'/" lib/mailersend/version.rb
28
+ ruby -Ilib -e 'require "mailersend/version"; abort "version.rb was not updated" unless Mailersend::VERSION == ARGV[0]' "$VERSION"
21
29
 
22
- - name: Install dependencies
23
- run: bundle _2.5.23_ install
24
-
25
- - name: Release Gem
26
- if: contains(github.ref, 'refs/tags/v')
27
- uses: cadwallion/publish-rubygems-action@master
30
+ - name: Publish to RubyGems
31
+ run: |
32
+ gem build mailersend-ruby.gemspec
33
+ gem push mailersend-ruby-*.gem
28
34
  env:
29
- GITHUB_TOKEN: ${{secrets.GITHUBTOKEN}}
30
- RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
31
- RELEASE_COMMAND: rake release
32
-
35
+ GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
data/.vesnik.yaml ADDED
@@ -0,0 +1,36 @@
1
+ # vesnik tags releases and writes the GitHub Release notes for `just release` and
2
+ # `just hotfix-release`: https://github.com/nklmilojevic/vesnik
3
+ #
4
+ # The tag is the only source of the version. vesnik never commits: the publish
5
+ # workflow writes the version from the tag into version.rb before it pushes the gem.
6
+
7
+ provider: claude
8
+ model: claude-haiku-5-5
9
+
10
+ # The SDK is public. GitHub's generated notes copy PR titles, which carry internal
11
+ # ticket keys, so a release without the model stops instead of using them.
12
+ ai:
13
+ on_error: fail
14
+
15
+ style:
16
+ preset: ste100
17
+ product: "MailerSend Ruby SDK (gem mailersend-ruby) for the MailerSend API; release notes are read by developers who use the SDK."
18
+ rules:
19
+ - "Never write ticket keys such as MSD-15283 or SRE-76231, branch names, or names of internal tools and processes."
20
+ - "Describe each change by what it adds, changes or fixes for developers who use the SDK, such as the endpoint, method or option."
21
+ - "Leave out merge commits, Renovate dependency updates (\"chore(deps): ...\"), and version bump commits unless they change behavior."
22
+ - "Leave out reverted changes, and \"Fix\", \"Nits\" or \"update docs\" commits unless they change behavior."
23
+
24
+ github:
25
+ append_generated_notes: false
26
+
27
+ changelog:
28
+ enabled: false
29
+
30
+ branch: main
31
+
32
+ breaking_bumps_minor: true
33
+
34
+ packages:
35
+ - path: .
36
+ ecosystem: none
data/README.md CHANGED
@@ -145,6 +145,7 @@ MailerSend Ruby SDK
145
145
  - [Update an SMS webhook](#update-an-sms-webhook)
146
146
  - [Delete an SMS webhook](#delete-an-sms-webhook)
147
147
  - [Other endpoints](#other-endpoints)
148
+ - [Get account](#get-account)
148
149
  - [Get API quota](#get-api-quota)
149
150
  - [Support and Feedback](#support-and-feedback)
150
151
  - [License](#license)
@@ -1837,6 +1838,19 @@ ms_whatsapp_templates.get(whatsapp_template_id: 'your-whatsapp-template-id')
1837
1838
 
1838
1839
  ## Other endpoints
1839
1840
 
1841
+ ### Get account
1842
+
1843
+ ```ruby
1844
+ require "mailersend-ruby"
1845
+
1846
+ ms_client = Mailersend::Client.new('your_mailersend_token')
1847
+
1848
+ # Intialize the Account class
1849
+ ms_account = Mailersend::Account.new(ms_client)
1850
+
1851
+ ms_account.get_account
1852
+ ```
1853
+
1840
1854
  ### Get API quota
1841
1855
 
1842
1856
  ```ruby
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.mailersend.com/v1/account
6
+ body:
7
+ encoding: ASCII-8BIT
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - "<AUTH>"
12
+ User-Agent:
13
+ - MailerSend-client-ruby/3.4.0
14
+ Accept:
15
+ - application/json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.mailersend.com
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Date:
26
+ - Thu, 05 Nov 2026 08:00:00 GMT
27
+ Content-Type:
28
+ - application/json
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Connection:
32
+ - close
33
+ Cache-Control:
34
+ - no-cache, private
35
+ Strict-Transport-Security:
36
+ - max-age=31536000; includeSubDomains
37
+ Server:
38
+ - cloudflare
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"data":{"name":"Acme Inc","status":"approved","plan_type":"starter","data_retention_days":7,"emails":{"sent":12000,"received":430,"limit":-1},"rate_limits":{"general":60,"email":120,"bulk_email":10,"activity":10},"resources":{"domains":{"used":3,"limit":10},"users":{"used":2,"limit":5},"free_accountant_seat":{"used":0,"limit":0},"templates":{"used":41,"limit":250},"smtp_users":{"used":1,"limit":50},"api_tokens":{"used":4,"limit":50},"webhooks":{"used":2,"limit":50}},"addons":{"sms":{"sent":120,"received":30,"limit":-1},"whatsapp":{"sent":800,"limit":1000},"phone_numbers":1,"domain_spaces":2,"data_retention_days":30,"dedicated_ips":0}}}'
42
+ recorded_at: Thu, 05 Nov 2026 08:00:00 GMT
43
+ recorded_with: VCR 6.3.1
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.mailersend.com/v1/account
6
+ body:
7
+ encoding: ASCII-8BIT
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - "<AUTH>"
12
+ User-Agent:
13
+ - MailerSend-client-ruby/3.4.0
14
+ Accept:
15
+ - application/json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.mailersend.com
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Date:
26
+ - Thu, 05 Nov 2026 08:00:00 GMT
27
+ Content-Type:
28
+ - application/json
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Connection:
32
+ - close
33
+ Cache-Control:
34
+ - no-cache, private
35
+ Strict-Transport-Security:
36
+ - max-age=31536000; includeSubDomains
37
+ Server:
38
+ - cloudflare
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"data":{"name":"Acme Inc","status":"approved","plan_type":"starter","data_retention_days":7,"emails":{"sent":12000,"received":430,"limit":-1},"rate_limits":{"general":60,"email":120,"bulk_email":10,"activity":10},"resources":{"domains":{"used":3,"limit":10},"users":{"used":2,"limit":5},"free_accountant_seat":{"used":1,"limit":1},"templates":{"used":41,"limit":250},"smtp_users":{"used":1,"limit":50},"api_tokens":{"used":4,"limit":50},"webhooks":{"used":0,"limit":null}},"addons":{"sms":{"sent":120,"received":30,"limit":-1},"whatsapp":null,"phone_numbers":1,"domain_spaces":2,"data_retention_days":30,"dedicated_ips":0}}}'
42
+ recorded_at: Thu, 05 Nov 2026 08:00:00 GMT
43
+ recorded_with: VCR 6.3.1
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Authorization:
11
- - Bearer <AUTH>
11
+ - "<AUTH>"
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
data/flake.lock CHANGED
@@ -18,7 +18,29 @@
18
18
  },
19
19
  "root": {
20
20
  "inputs": {
21
- "nixpkgs": "nixpkgs"
21
+ "nixpkgs": "nixpkgs",
22
+ "vesnik": "vesnik"
23
+ }
24
+ },
25
+ "vesnik": {
26
+ "inputs": {
27
+ "nixpkgs": [
28
+ "nixpkgs"
29
+ ]
30
+ },
31
+ "locked": {
32
+ "lastModified": 1792501163,
33
+ "narHash": "sha256-NL9FUQSh2m8WD67KBuWi0Y5jy+qkGE/0dT+BC3MJD60=",
34
+ "owner": "nklmilojevic",
35
+ "repo": "vesnik",
36
+ "rev": "ee5d22cdabf097da4fbcd975da9473a8be78ea28",
37
+ "type": "github"
38
+ },
39
+ "original": {
40
+ "owner": "nklmilojevic",
41
+ "ref": "v0.2.0",
42
+ "repo": "vesnik",
43
+ "type": "github"
22
44
  }
23
45
  }
24
46
  },
data/flake.nix CHANGED
@@ -3,9 +3,14 @@
3
3
 
4
4
  inputs = {
5
5
  nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6
+ # Release notes and versions for `just release`.
7
+ vesnik = {
8
+ url = "github:nklmilojevic/vesnik/v0.2.0";
9
+ inputs.nixpkgs.follows = "nixpkgs";
10
+ };
6
11
  };
7
12
 
8
- outputs = { self, nixpkgs }:
13
+ outputs = { self, nixpkgs, vesnik }:
9
14
  let
10
15
  systems = [ "aarch64-darwin" "x86_64-darwin" "aarch64-linux" "x86_64-linux" ];
11
16
  forEachSystem = f:
@@ -18,7 +23,8 @@
18
23
  lefthook
19
24
  gitleaks
20
25
  git-secrets
21
- ];
26
+ just
27
+ ] ++ [ vesnik.packages.${system}.default ];
22
28
  };
23
29
  });
24
30
  };
data/justfile ADDED
@@ -0,0 +1,56 @@
1
+ set shell := ["bash", "-uc"]
2
+
3
+ [private]
4
+ default:
5
+ @just --list
6
+
7
+ # Release main: vesnik picks the version (minor if the model gives none) and writes the notes
8
+ release:
9
+ @git checkout main
10
+ @git pull --tags -f
11
+ @just _publish-release --default-bump minor
12
+ @just _open "https://github.com/mailersend/mailersend-ruby/releases"
13
+
14
+ # Release main as a patch version
15
+ hotfix-release:
16
+ @git checkout main
17
+ @git pull --tags -f
18
+ @just _publish-release --bump patch
19
+ @just _open "https://github.com/mailersend/mailersend-ruby/releases"
20
+
21
+ # --- Internal helpers ----------------------------------------------------------------
22
+
23
+ # Tag main and publish the GitHub Release with vesnik from PATH or the Nix dev
24
+ # shell; the tag push starts the RubyGems publish workflow. Without vesnik, the
25
+ # version is typed by hand. VESNIK_YES=1 skips vesnik's review.
26
+ [private]
27
+ _publish-release +flags:
28
+ #!/usr/bin/env bash
29
+ set -uo pipefail
30
+ vesnik=""
31
+ if command -v vesnik >/dev/null 2>&1; then
32
+ vesnik="vesnik"
33
+ elif command -v nix >/dev/null 2>&1; then
34
+ vesnik="nix develop --command vesnik"
35
+ fi
36
+ if [ -n "$vesnik" ]; then
37
+ review=""
38
+ if [ "${VESNIK_YES:-}" = 1 ]; then review="--yes"; fi
39
+ $vesnik release {{flags}} $review
40
+ case $? in
41
+ 0) exit 0 ;;
42
+ 3) echo "Release aborted; nothing was tagged." >&2; exit 1 ;;
43
+ 4) echo "The tag is pushed but the GitHub Release failed; run: vesnik renote <tag>" >&2; exit 1 ;;
44
+ *) echo "vesnik failed before tagging; falling back to the manual release." >&2 ;;
45
+ esac
46
+ fi
47
+ echo "> Latest version:"
48
+ git tag -l --sort=-creatordate | head -n 1
49
+ read -r VERSION || exit 1
50
+ # No --generate-notes: it copies PR titles, which carry internal ticket keys.
51
+ gh release create "$VERSION" --target main --notes "" || exit 1
52
+ echo "Add the release notes: vesnik renote $VERSION"
53
+
54
+ [private]
55
+ _open url:
56
+ @if [ "$(uname -s)" = "Darwin" ]; then open "{{url}}"; elif command -v xdg-open >/dev/null 2>&1; then xdg-open "{{url}}"; else echo "{{url}}"; fi
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mailersend
4
+ # Account endpoint from MailerSend API
5
+ class Account
6
+ attr_accessor :client
7
+
8
+ def initialize(client = Mailersend::Client.new)
9
+ @client = client
10
+ end
11
+
12
+ def get_account(*)
13
+ client.http.get("#{MAILERSEND_API_URL}/account")
14
+ end
15
+ end
16
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mailersend
4
- VERSION = '3.4.0'
4
+ VERSION = '3.5.0'
5
5
  end
data/lib/mailersend.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  require_relative 'mailersend/client'
4
4
  require_relative 'mailersend/version'
5
+ require_relative 'mailersend/account/account'
5
6
  require_relative 'mailersend/activity/activity'
6
7
  require_relative 'mailersend/api_quota/api_quota'
7
8
  require_relative 'mailersend/analytics/analytics'
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.metadata['homepage_uri'] = spec.homepage
22
22
  spec.metadata['source_code_uri'] = 'https://github.com/mailersend/mailersend-ruby'
23
- spec.metadata['changelog_uri'] = 'https://github.com/mailersend/mailersend-ruby/blob/main/CHANGELOG.md'
23
+ spec.metadata['changelog_uri'] = 'https://github.com/mailersend/mailersend-ruby/releases'
24
24
  spec.metadata['rubygems_mfa_required'] = 'true'
25
25
 
26
26
  spec.files = `git ls-files -z`.split("\x0")
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rspec'
4
+ require 'vcr'
5
+ require 'json'
6
+
7
+ VCR.configure do |config|
8
+ config.cassette_library_dir = './fixtures'
9
+ config.hook_into :webmock
10
+ config.filter_sensitive_data('<AUTH>') do |interaction|
11
+ interaction.request.headers['Authorization'][0]
12
+ end
13
+ end
14
+
15
+ RSpec.describe Mailersend::Account do
16
+ let(:client) { Mailersend::Client.new(API_TOKEN) }
17
+ let(:account) { Mailersend::Account.new(client) }
18
+
19
+ it 'returns the account' do
20
+ VCR.use_cassette('account/account_get') do
21
+ response = account.get_account
22
+ data = JSON.parse(response.body)['data']
23
+
24
+ expect(response.status).to eq(200)
25
+ expect(response.uri.to_s).to eq('https://api.mailersend.com/v1/account')
26
+ expect(data).to include('name' => 'Acme Inc', 'status' => 'approved', 'plan_type' => 'starter', 'data_retention_days' => 7)
27
+ expect(data['emails']).to eq('sent' => 12_000, 'received' => 430, 'limit' => -1)
28
+ expect(data['rate_limits']).to eq('general' => 60, 'email' => 120, 'bulk_email' => 10, 'activity' => 10)
29
+ expect(data['resources']).to include('domains' => { 'used' => 3, 'limit' => 10 }, 'free_accountant_seat' => { 'used' => 0, 'limit' => 0 })
30
+ expect(data['addons']).to include('whatsapp' => { 'sent' => 800, 'limit' => 1000 }, 'sms' => { 'sent' => 120, 'received' => 30, 'limit' => -1 })
31
+ expect(data['addons']).to include('phone_numbers' => 1, 'domain_spaces' => 2, 'data_retention_days' => 30, 'dedicated_ips' => 0)
32
+ end
33
+ end
34
+
35
+ it 'returns the account without a WhatsApp add-on' do
36
+ VCR.use_cassette('account/account_get_without_whatsapp') do
37
+ data = JSON.parse(account.get_account.body)['data']
38
+
39
+ expect(data['addons']).to include('whatsapp' => nil)
40
+ expect(data['resources']).to include('free_accountant_seat' => { 'used' => 1, 'limit' => 1 }, 'webhooks' => { 'used' => 0, 'limit' => nil })
41
+ end
42
+ end
43
+ end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailersend-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Milojević
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-11-19 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: http
@@ -69,13 +70,15 @@ files:
69
70
  - ".gitignore"
70
71
  - ".rspec"
71
72
  - ".rubocop.yml"
72
- - CHANGELOG.md
73
+ - ".vesnik.yaml"
73
74
  - Gemfile
74
75
  - LICENSE.txt
75
76
  - README.md
76
77
  - Rakefile
77
78
  - bin/console
78
79
  - bin/setup
80
+ - fixtures/account/account_get.yml
81
+ - fixtures/account/account_get_without_whatsapp.yml
79
82
  - fixtures/activity/activity_get_activity.yml
80
83
  - fixtures/api_quota/api_quota_get.yml
81
84
  - fixtures/bulk_email/bulk_email_send.yml
@@ -170,9 +173,11 @@ files:
170
173
  - fixtures/whatsapp_templates/whatsapp_templates_list.yml
171
174
  - flake.lock
172
175
  - flake.nix
176
+ - justfile
173
177
  - lefthook.yml
174
178
  - lib/mailersend-ruby.rb
175
179
  - lib/mailersend.rb
180
+ - lib/mailersend/account/account.rb
176
181
  - lib/mailersend/activity/activity.rb
177
182
  - lib/mailersend/analytics/analytics.rb
178
183
  - lib/mailersend/api_quota/api_quota.rb
@@ -209,6 +214,7 @@ files:
209
214
  - lib/mailersend/whatsapp_templates/whatsapp_templates.rb
210
215
  - mailersend-ruby.gemspec
211
216
  - renovate.json
217
+ - spec/account_rspec.rb
212
218
  - spec/activity_rspec.rb
213
219
  - spec/api_quota_rspec.rb
214
220
  - spec/bulk_email_rspec.rb
@@ -245,8 +251,9 @@ metadata:
245
251
  allowed_push_host: https://rubygems.org
246
252
  homepage_uri: https://www.mailersend.com
247
253
  source_code_uri: https://github.com/mailersend/mailersend-ruby
248
- changelog_uri: https://github.com/mailersend/mailersend-ruby/blob/main/CHANGELOG.md
254
+ changelog_uri: https://github.com/mailersend/mailersend-ruby/releases
249
255
  rubygems_mfa_required: 'true'
256
+ post_install_message:
250
257
  rdoc_options: []
251
258
  require_paths:
252
259
  - lib
@@ -261,7 +268,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
268
  - !ruby/object:Gem::Version
262
269
  version: '0'
263
270
  requirements: []
264
- rubygems_version: 3.6.9
271
+ rubygems_version: 3.3.27
272
+ signing_key:
265
273
  specification_version: 4
266
274
  summary: MailerSend's official Ruby SDK
267
275
  test_files: []
data/CHANGELOG.md DELETED
@@ -1,157 +0,0 @@
1
- ## [Released]
2
-
3
- ## [3.4.0] - 2026-10-26
4
- - WhatsApp read endpoints: messages, items, activities, inbound messages, recipients and templates (list with filters, and get by ID)
5
-
6
- ## [3.3.0] - 2026-09-01
7
- - WhatsApp support (send template-based WhatsApp messages)
8
-
9
- ## [3.2.0] - 2026-07-09
10
- - Add optional language field to email send
11
-
12
- ## [3.1.0] - 2026-04-24
13
- - DMARC Monitoring support (list, create, update, delete monitors; aggregated reports, IP-specific reports, report sources, mark/remove IP favorites)
14
-
15
- ## [3.0.1] - 2025-04-10
16
- - Adding missing parameters
17
-
18
- ## [3.0.0] - 2024-12-20
19
- - *BREAKING CHANGE* - Updated the minimal required Ruby version from 2.5 to 3.1
20
- - Adding tests
21
-
22
- ## [2.0.3] - 2024-06-24
23
-
24
- - Advanced personalization is now personalization
25
-
26
- ## [2.0.2] - 2024-03-12
27
-
28
- - Update constant name
29
-
30
- ## [2.0.1] - 2023-01-08
31
-
32
- - Simple personalization removed
33
-
34
- ## [2.0.0] - 2023-12-18
35
-
36
- - *BREAKING CHANGE* - Please check the README file, MailerSend API token is now defined inside your application.
37
-
38
- ## [1.6.0] - 2023-06-22
39
-
40
- - Sender identities by email
41
-
42
- ## [1.5.2] - 2023-06-20
43
-
44
- - Removed uninitialized variable
45
-
46
- ## [1.5.1] - 2023-05-09
47
-
48
- - Added supports for base64 attachment
49
-
50
- ## [1.5.0] - 2023-05-08
51
-
52
- - API Quota
53
- - Single eMail Verification
54
-
55
- ## [1.4.0] - 2023-01-17
56
-
57
- - Sender Identities
58
-
59
- ## [1.3.2] - 2022-11-22
60
-
61
- - Fixes add_tags method in MailerSend::Email class
62
-
63
- ## [1.3.1] - 2022-09-28
64
-
65
- - Added attachment content disposition
66
-
67
- ## [1.3.0] - 2022-08-03
68
-
69
- - SMS Personalization
70
- - SMS Messages
71
- - SMS Inbounds
72
- - SMS Webhooks
73
- - Email Verification
74
-
75
- ## [1.2.0] - 2022-06-15
76
-
77
- - SMS Sending
78
- - SMS Activity
79
- - SMS Phone Numbers
80
- - SMS Recipients
81
-
82
- ## [1.1.0] - 2022-02-18
83
-
84
- - Domains endpoint improvements
85
- - Added schedule an email parameter
86
- - Added inbound routes endpoint
87
- - Added scheduled messages endpoint
88
-
89
- ## [1.0.1] - 2022-02-16
90
-
91
- - Removed puts from request response
92
- - Added dynamic User-Agent based on SDK version
93
-
94
- ## [1.0.0] - 2022-02-15
95
-
96
- - BREAKING CHANGE: Renamed `API_TOKEN` variable to `MAILERSEND_API_TOKEN`
97
-
98
- ## [0.2.4] - 2021-12-13
99
-
100
- - Added bulk email endpoint
101
-
102
- # [0.2.3] - 2021-11-11
103
-
104
- - Fixed typo for reply_to (thanks @JohnGoodman)
105
-
106
- ## [0.2.2] - 2021-08-04
107
-
108
- - Removed leftover debugging stuff
109
-
110
- ## [0.2.1] - 2021-08-04
111
-
112
- - Fixed email class so that it omits empty values
113
-
114
- ## [0.2.0] - 2021-07-01
115
-
116
- - Added Templates endpoint
117
-
118
- ## [0.1.9] - 2021-06-30
119
-
120
- - Fixed docs
121
-
122
- ## [0.1.8] - 2021-06-15
123
-
124
- - Fixed unused parameter
125
-
126
- ## [0.1.7] - 2021-06-15
127
-
128
- - Added required parameter for token creation
129
- -
130
-
131
- ## [0.1.6] - 2021-06-15
132
-
133
- - Fixed small issues in Domains
134
-
135
- ## [0.1.5] - 2021-06-15
136
-
137
- - Fixed arguments error in Domains list
138
-
139
- ## [0.1.4] - 2021-06-15
140
-
141
- - Fixed Domains init
142
-
143
- ## [0.1.3] - 2021-06-14
144
-
145
- - Updated gem description
146
-
147
- ## [0.1.2] - 2021-06-14
148
-
149
- - Fixed activity and tokens endpoints.
150
-
151
- ## [0.1.1] - 2021-06-14
152
-
153
- - Updated token format so you don't have to include `Bearer` in env variable.
154
-
155
- ## [0.1.0] - 2021-06-14
156
-
157
- - Initial release