Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "4.19.1"
".": "4.19.2"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 138
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-e8d4bd51bf260b8a6cb9875718e36eab95d4e8d9490cd6c5c669eb69b82c2bf8.yml
openapi_spec_hash: bf321581a238ae891debcc5bb59dd501
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-11e1931d767cef402bbed5a965746d1933ae72db0f41881860593a0b1424fd80.yml
openapi_spec_hash: 9def941805f233f8761c4bdae88f6137
config_hash: 6c3a754258f0f77e9032a90a478ab76d
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 4.19.2 (2026-07-10)

Full Changelog: [v4.19.1...v4.19.2](https://github.com/trycourier/courier-ruby/compare/v4.19.1...v4.19.2)

### Documentation

* **openapi:** canonical type-id prefixes across all examples ([#162](https://github.com/trycourier/courier-ruby/issues/162)) ([c72a6f6](https://github.com/trycourier/courier-ruby/commit/c72a6f63809b553dd84f047498ce8d695b311b09))
* **openapi:** use canonical type-id prefixes in id examples ([#160](https://github.com/trycourier/courier-ruby/issues/160)) ([ea3ec70](https://github.com/trycourier/courier-ruby/commit/ea3ec70a9339c34c0e162d807fe58ee4cbc8cc62))

## 4.19.1 (2026-07-09)

Full Changelog: [v4.19.0...v4.19.1](https://github.com/trycourier/courier-ruby/compare/v4.19.0...v4.19.1)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
trycourier (4.19.1)
trycourier (4.19.2)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion lib/courier/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Courier
VERSION = "4.19.1"
VERSION = "4.19.2"
end
6 changes: 3 additions & 3 deletions test/courier/resources/notifications_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ def test_create_required_params
response =
@courier.notifications.create(
notification: {
brand: {id: "brand_abc"},
brand: {id: "bnd_01kx4mrd0pfzw8wt7pn7p2fzag"},
content: {elements: [{}], version: "2022-01-01"},
name: "Welcome Email",
routing: {strategy_id: "rs_123"},
subscription: {topic_id: "marketing"},
routing: {strategy_id: "rs_01kx4h2jdafq8bk9amzvy6hbv0"},
subscription: {topic_id: "pt_01kx4h2jdafq8bk9a26x0kvd1t"},
tags: %w[onboarding welcome]
}
)
Expand Down
6 changes: 3 additions & 3 deletions test/courier/resources/users/preferences_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_bulk_replace_required_params
response =
@courier.users.preferences.bulk_replace(
"user_id",
topics: [{status: :OPTED_IN, topic_id: "74Q4QGFBEX481DP6JRPMV751H4XT"}]
topics: [{status: :OPTED_IN, topic_id: "pt_01kx4h2jdafq8bk996nn92357r"}]
)

assert_pattern do
Expand All @@ -48,8 +48,8 @@ def test_bulk_update_required_params
@courier.users.preferences.bulk_update(
"user_id",
topics: [
{status: :OPTED_IN, topic_id: "74Q4QGFBEX481DP6JRPMV751H4XT"},
{status: :OPTED_OUT, topic_id: "5Q4QGFBEX481DP6JRPMV751H4YU"}
{status: :OPTED_IN, topic_id: "pt_01kx4h2jdafq8bk996nn92357r"},
{status: :OPTED_OUT, topic_id: "pt_01kx4h2jdafq8bk99eyt3dx43x"}
]
)

Expand Down