diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a458854..abeb3cc 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.19.1" + ".": "4.19.2" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index c6ea0b3..9e3b99b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 72ee7b0..3f1a41a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/Gemfile.lock b/Gemfile.lock index 7a6d503..de77cce 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - trycourier (4.19.1) + trycourier (4.19.2) cgi connection_pool diff --git a/lib/courier/version.rb b/lib/courier/version.rb index b8b4655..6766905 100644 --- a/lib/courier/version.rb +++ b/lib/courier/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Courier - VERSION = "4.19.1" + VERSION = "4.19.2" end diff --git a/test/courier/resources/notifications_test.rb b/test/courier/resources/notifications_test.rb index 3ce1b92..37d0525 100644 --- a/test/courier/resources/notifications_test.rb +++ b/test/courier/resources/notifications_test.rb @@ -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] } ) diff --git a/test/courier/resources/users/preferences_test.rb b/test/courier/resources/users/preferences_test.rb index 8b086bd..048d8fd 100644 --- a/test/courier/resources/users/preferences_test.rb +++ b/test/courier/resources/users/preferences_test.rb @@ -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 @@ -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"} ] )