Skip to content

ref(transport)!: rename and document custom transport factory - #2131

Merged
jpnurmi merged 1 commit into
v1from
jpnurmi/ref/custom-transport
Oct 15, 2026
Merged

jpnurmi merged 1 commit into
v1from
jpnurmi/ref/custom-transport

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

Caution

BREAKING CHANGE: Custom transport implementations must define:

sentry_transport_t *sentry_transport_new_default(void)

The factory used a private-style sentry__-prefixed name even though custom transports must provide its implementation. Give it a public-style name and document the contract for custom implementations.

Ref: #2044

@jpnurmi
jpnurmi added this pull request to stack #2132 September 23, 2026 12:45
@jpnurmi jpnurmi changed the title ref(transport)!: rename and document custom transport factory [1.0] ref(transport)!: rename and document custom transport factory Sep 23, 2026
@jpnurmi jpnurmi added the v1 Targets 1.0 (v1 branch) label Sep 23, 2026
@jpnurmi jpnurmi changed the title [1.0] ref(transport)!: rename and document custom transport factory ref(transport)!: rename and document custom transport factory Sep 23, 2026
@jpnurmi
jpnurmi force-pushed the jpnurmi/ref/custom-screenshot branch from 3214f2f to 545c084 Compare September 23, 2026 13:25
@codecov

codecov Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.49%. Comparing base (3d26077) to head (28f0977).

Additional details and impacted files
@@            Coverage Diff             @@
##               v1    #2131      +/-   ##
==========================================
- Coverage   75.56%   75.49%   -0.07%     
==========================================
  Files         103      103              
  Lines       28227    28227              
  Branches     5172     5172              
==========================================
- Hits        21330    21311      -19     
- Misses       5542     5573      +31     
+ Partials     1355     1343      -12     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jpnurmi
jpnurmi force-pushed the jpnurmi/ref/custom-transport branch from 67b9ec3 to 780d38a Compare September 23, 2026 13:25
@jpnurmi
jpnurmi force-pushed the jpnurmi/ref/custom-screenshot branch from 545c084 to 5b44588 Compare October 9, 2026 14:26
@jpnurmi jpnurmi mentioned this pull request Oct 14, 2026
3 of 7 tasks
Base automatically changed from jpnurmi/ref/custom-screenshot to master October 14, 2026 13:31
@jpnurmi
jpnurmi force-pushed the jpnurmi/ref/custom-transport branch 2 times, most recently from dbfd61d to 9bd987c Compare October 15, 2026 07:38
@jpnurmi
jpnurmi removed this pull request from stack #2132 October 15, 2026 07:39
@jpnurmi
jpnurmi changed the base branch from master to v1 October 15, 2026 07:39
@jpnurmi
jpnurmi force-pushed the jpnurmi/ref/custom-transport branch from 9bd987c to b1e8af6 Compare October 15, 2026 07:40
The factory used a private-style `sentry__`-prefixed name even though
custom transports must provide its implementation. Give it a public-style
name and document the contract for custom implementations.

BREAKING CHANGE: Custom transport implementations must define:
```
sentry_transport_t *sentry_transport_new_default(void)
```
@jpnurmi
jpnurmi force-pushed the jpnurmi/ref/custom-transport branch from b1e8af6 to 28f0977 Compare October 15, 2026 10:09
@jpnurmi
jpnurmi merged commit e7c6058 into v1 Oct 15, 2026
67 checks passed
@jpnurmi
jpnurmi deleted the jpnurmi/ref/custom-transport branch October 15, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1 Targets 1.0 (v1 branch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants