Skip to content

release: 7.20.0#146

Merged
mikemilla merged 7 commits into
mainfrom
release-please--branches--main--changes--next
Jul 20, 2026
Merged

release: 7.20.0#146
mikemilla merged 7 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Automated Release PR

7.20.0 (2026-07-20)

Full Changelog: v7.19.2...v7.20.0

Features

  • Document POST /notifications/{id}/duplicate [C-18607] (#165) (15985d7)
  • Merge pull request #149 from trycourier/geraldosilva/c-19201-notification-template-subscription-topic-id (99b10ca)
  • Merge pull request #168 from trycourier/geraldosilva/c-19419-topic-id-notification-template-summary (067ad71)
  • stlc: configurable CI runner and private-production-repo support in workflow templates (6ad03f8)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

…tification-template-subscription-topic-id

Document subscription_topic_id on notification template V2 responses
@stainless-app

stainless-app Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/courier-python/067ad7121cafb54fc602a5f707fd1d3bbe80c727/trycourier-7.19.2-py3-none-any.whl'

Expires at: Wed, 19 Aug 2026 18:45:45 GMT
Updated at: Mon, 20 Jul 2026 18:45:45 GMT

* Document POST /notifications/{id}/duplicate [C-18607]

Documents the V2 notification template duplicate endpoint added in
trycourier/backend#9536 and registers it for SDK generation.

- openapi.yml: new /notifications/{id}/duplicate path (post,
  operationId notifications_duplicate), modeled on the sibling publish
  endpoint. 201 -> NotificationTemplateResponse, 404 -> NotFound,
  422 -> UnprocessableEntity (source is journey- or broadcast-scoped).
- stainless.yml: adds duplicate: post /notifications/{id}/duplicate so a
  duplicate() method generates across the SDKs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Use real TypeID-style example IDs + add id-conventions.md

The duplicate endpoint example used placeholder IDs (nt_01xyz789,
brand_abc, marketing, nt_123, journey_abc) that don't match the
TypeID convention the rest of the spec follows. Swap them for real
canonical sample IDs (nt_/bnd_/pt_/jry_).

Add specs/id-conventions.md documenting the prefix registry (sourced
from backend lib/courier-ids/constants.ts), the canonical sample IDs to
reuse, and two open questions (journey jry vs jny; brand bnd not yet in
the backend registry).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Move ID conventions from specs/ into an example-ids skill

specs/ is for the shipped spec, not editor/agent guidance. Relocate the
convention reference to .agents/skills/example-ids/SKILL.md (surfaced via
the .claude/.cursor/.codex skills symlinks) so it triggers when editing
openapi.yml examples.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from ca18200 to ecd316c Compare July 14, 2026 18:40
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from ecd316c to 5fe5fe7 Compare July 18, 2026 02:02
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 5fe5fe7 to e4eaca0 Compare July 20, 2026 17:22
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from e4eaca0 to 0b04e4b Compare July 20, 2026 18:44
stainless-app Bot added 2 commits July 20, 2026 18:45
…pic-id-notification-template-summary

Document topic_id on NotificationTemplateSummary (C-19419)
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 0b04e4b to 4760c85 Compare July 20, 2026 18:45
@mikemilla
mikemilla merged commit 6d8bc33 into main Jul 20, 2026
7 checks passed
@mikemilla
mikemilla deleted the release-please--branches--main--changes--next branch July 20, 2026 20:36
@stainless-app

stainless-app Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant