Skip to content

Commit b15ca7d

Browse files
release: 4.19.1 (#99)
* codegen metadata * ci(docs): generate docs on the PR, publish Postman from the raw spec (#157) * ci(docs): generate docs on the PR, publish Postman from the raw spec Move the mintlify-docs sync off the post-merge Stainless build and onto the PR, right after the preview generation — restoring the pre-#136 "docs PR from the PR" flow. The post-merge build was flaky: a downstream SDK target (usually cli) failing, or Stainless's content cache skipping a re-run of the same commit, silently blocked the docs sync. - sync_docs now runs on pull_request (needs: preview) and creates/updates the docs PR (branch api-spec-<pr>) from the PR's own code-sample-decorated spec. No auto-merge — a human merges the docs PR once this PR lands, matching the original flow. - publish_postman builds the collection straight from specs/openapi.yml (the converter ignores x-codeSamples), so it no longer depends on the Stainless build, and publishes the live public collection only on merge to main (push is path-filtered to specs/**). - sdk_release keeps the Stainless build@main that cuts the per-language SDK release PRs; it no longer gates docs or Postman, so a cli flake is just a re-run. Also reword the bulk-replace tenant_id param ("Update" -> "Replace") to exercise the new PR-based docs generation. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * docs(readme): document PR-time docs sync and raw-spec Postman flow Rewrite the 'What happens in CI' section to match the restructured workflow: docs sync now runs on the PR right after generation (no auto-merge), and Postman/SDK-release run on merge — Postman built from specs/openapi.yml, sdk_release no longer gating docs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * ci(e2e): pass COURIER_RESENDABLE_MESSAGE_ID through to the e2e run The resend test reads COURIER_RESENDABLE_MESSAGE_ID (repo secret exists, listed in node/.env.example) but it was never mapped into the e2e env block, so env() fell back to "" and courier.messages.resend("") hit POST /messages//resend -> 404. Wire the secret through. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> * codegen metadata * release: 4.19.1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 16bc91f commit b15ca7d

9 files changed

Lines changed: 16 additions & 12 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "4.19.0"
2+
".": "4.19.1"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 138
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-cba470b0c221bcfbe2e8bf51276292285a60a05a4c0b47f5f741706adf1205fc.yml
3-
openapi_spec_hash: c9f1b73fb32f39243d9d95a667ea3341
4-
config_hash: 6025fdbfe31c3b2d57a71f9885d37294
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-e8d4bd51bf260b8a6cb9875718e36eab95d4e8d9490cd6c5c669eb69b82c2bf8.yml
3+
openapi_spec_hash: bf321581a238ae891debcc5bb59dd501
4+
config_hash: 6c3a754258f0f77e9032a90a478ab76d

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 4.19.1 (2026-07-09)
4+
5+
Full Changelog: [v4.19.0...v4.19.1](https://github.com/trycourier/courier-ruby/compare/v4.19.0...v4.19.1)
6+
37
## 4.19.0 (2026-07-09)
48

59
Full Changelog: [v4.18.2...v4.19.0](https://github.com/trycourier/courier-ruby/compare/v4.18.2...v4.19.0)

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
trycourier (4.19.0)
14+
trycourier (4.19.1)
1515
cgi
1616
connection_pool
1717

lib/courier/models/users/preference_bulk_replace_params.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class PreferenceBulkReplaceParams < Courier::Internal::Type::BaseModel
2323
-> { Courier::Internal::Type::ArrayOf[Courier::Users::PreferenceBulkReplaceParams::Topic] }
2424

2525
# @!attribute tenant_id
26-
# Update the preferences of a user for this specific tenant context.
26+
# Replace the preferences of a user for this specific tenant context.
2727
#
2828
# @return [String, nil]
2929
optional :tenant_id, String, nil?: true
@@ -36,7 +36,7 @@ class PreferenceBulkReplaceParams < Courier::Internal::Type::BaseModel
3636
#
3737
# @param topics [Array<Courier::Models::Users::PreferenceBulkReplaceParams::Topic>] The complete set of topic overrides for the user. Up to 50 topics may be provide
3838
#
39-
# @param tenant_id [String, nil] Update the preferences of a user for this specific tenant context.
39+
# @param tenant_id [String, nil] Replace the preferences of a user for this specific tenant context.
4040
#
4141
# @param request_options [Courier::RequestOptions, Hash{Symbol=>Object}]
4242

lib/courier/resources/users/preferences.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def retrieve(user_id, params = {})
5959
#
6060
# @param topics [Array<Courier::Models::Users::PreferenceBulkReplaceParams::Topic>] Body param: The complete set of topic overrides for the user. Up to 50 topics ma
6161
#
62-
# @param tenant_id [String, nil] Query param: Update the preferences of a user for this specific tenant context.
62+
# @param tenant_id [String, nil] Query param: Replace the preferences of a user for this specific tenant context.
6363
#
6464
# @param request_options [Courier::RequestOptions, Hash{Symbol=>Object}, nil]
6565
#

lib/courier/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Courier
4-
VERSION = "4.19.0"
4+
VERSION = "4.19.1"
55
end

rbi/courier/models/users/preference_bulk_replace_params.rbi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Courier
2626
end
2727
attr_accessor :topics
2828

29-
# Update the preferences of a user for this specific tenant context.
29+
# Replace the preferences of a user for this specific tenant context.
3030
sig { returns(T.nilable(String)) }
3131
attr_accessor :tenant_id
3232

@@ -47,7 +47,7 @@ module Courier
4747
# provided. Any existing override not listed here is reset to its topic default;
4848
# an empty array resets every existing override.
4949
topics:,
50-
# Update the preferences of a user for this specific tenant context.
50+
# Replace the preferences of a user for this specific tenant context.
5151
tenant_id: nil,
5252
request_options: {}
5353
)

rbi/courier/resources/users/preferences.rbi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module Courier
5858
# may be provided. Any existing override not listed here is reset to its topic
5959
# default; an empty array resets every existing override.
6060
topics:,
61-
# Query param: Update the preferences of a user for this specific tenant context.
61+
# Query param: Replace the preferences of a user for this specific tenant context.
6262
tenant_id: nil,
6363
request_options: {}
6464
)

0 commit comments

Comments
 (0)