Skip to content

update year in copyright stamps - #615

Merged
sywhang merged 1 commit into
thriftrw:devfrom
amolmejari2:upyear
Jan 13, 2026
Merged

sywhang merged 1 commit into
thriftrw:devfrom
amolmejari2:upyear

Conversation

@amolmejari2

Copy link
Copy Markdown
Contributor

to prepare for next release

@codecov

codecov Bot commented Jan 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.82%. Comparing base (6824de5) to head (5c6490f).
⚠️ Report is 3 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #615      +/-   ##
==========================================
+ Coverage   66.92%   69.82%   +2.89%     
==========================================
  Files         141      142       +1     
  Lines       33994    28159    -5835     
==========================================
- Hits        22751    19661    -3090     
+ Misses       8140     5360    -2780     
- Partials     3103     3138      +35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sywhang
sywhang merged commit 465219d into thriftrw:dev Jan 13, 2026
4 checks passed
@amolmejari2
amolmejari2 deleted the upyear branch January 13, 2026 17:35
sywhang pushed a commit that referenced this pull request Jan 13, 2026
* "Back to development"

* Relaxed decode of Unions (#613)

Adds an option union-decode-relaxed which enables a flexible union decoding mode that permits unknown values and returns an empty union struct in such cases.

Context

Currently, thriftrw-go generated code deserialize unknown Enum values correctly by preserving them and passing them to the client for appropriate handling. However, for Unions, thriftrw-go generated code fails to deserialize unknown cases gracefully, leading to runtime errors and service outages when new fields are introduced on the server side.

This change introduces an opt-in mechanism in thriftrw-go generated code to allow unknown field in Union deserialization. It ensures backward compatibility in evolving schemas, complies with the Robustness Principle, and defers handling decisions to the caller.

* update year in copyright stamps (#615)

* Preparing release v1.34.0

---------

Co-authored-by: Damir Atygayev <adamir@uber.com>
Co-authored-by: oneporter <oneporter@gmail.com>
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.

3 participants