Skip to content

Comments

chore: add omitzero and remove custom serialization#1197

Merged
giortzisg merged 7 commits intomasterfrom
add-omitzero
Feb 13, 2026
Merged

chore: add omitzero and remove custom serialization#1197
giortzisg merged 7 commits intomasterfrom
add-omitzero

Conversation

@giortzisg
Copy link
Contributor

Description

This change adds the omitzero field that was introduced in go 1.24, allowing us to remove some custom serialization for skipping empty maps and slices (eg. Span and Trace id types).

Issues

Changelog Entry Instructions

To add a custom changelog entry, uncomment the section above. Supports:

  • Single entry: just write text
  • Multiple entries: use bullet points
  • Nested bullets: indent 4+ spaces

For more details: custom changelog entries

Reminders

@giortzisg giortzisg requested a review from Litarnus February 12, 2026 11:38
@giortzisg giortzisg self-assigned this Feb 12, 2026
@linear
Copy link

linear bot commented Feb 12, 2026

@github-actions
Copy link

github-actions bot commented Feb 12, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Breaking Changes 🛠

  • Add support for go 1.26 by giortzisg in #1193
    • bump minimum supported go version to 1.24

New Features ✨

  • Log specific message for RequestEntityTooLarge by giortzisg in #1185

Bug Fixes 🐛

  • Ensure correct signal delivery on multi-client setups by giortzisg in #1190

Internal Changes 🔧

Deps

  • Bump golang.org/x/crypto to 0.48.0 by giortzisg in #1196
  • Use go1.24.0 by giortzisg in #1195
  • Bump github.com/gofiber/fiber/v2 from 2.52.9 to 2.52.11 in /fiber by dependabot in #1191
  • Bump getsentry/craft from 2.19.0 to 2.20.1 by dependabot in #1187

Other

  • Add omitzero and remove custom serialization by giortzisg in #1197
  • Rename Telemetry Processor components by giortzisg in #1186

🤖 This preview updates automatically when you update the PR.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@giortzisg giortzisg merged commit 0faba36 into master Feb 13, 2026
18 checks passed
@giortzisg giortzisg deleted the add-omitzero branch February 13, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor custom serialized types to use omitzero when the SDK bumps to 1.24

2 participants