-
Notifications
You must be signed in to change notification settings - Fork 378
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: stephenh/ts-proto
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.181.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: stephenh/ts-proto
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 16 commits
- 278 files changed
- 3 contributors
Commits on Aug 15, 2024
-
fix: toJSON Function with
removeEnumPrefix=trueand `unrecognizedEn……umValue=0` Options (#1089) close: #1086 This PR addresses the issue described in #1086, where the `toJSON` function generated by ts-proto incorrectly serializes enum values when both the `removeEnumPrefix=true` and `unrecognizedEnumValue=0` options are used. The expected behavior is that, even with `removeEnumPrefix=true`, the `toJSON` function should encode the enum values using their original string values, including the prefix. However, the bug causes the function to encode the enum values without the prefix, leading to incorrect JSON serialization. To fix this, the PR updates the `toJSON` function to correctly use the original enum name, including the prefix, when encoding. This is achieved by storing the `originalName` alongside the `UnrecognizedEnum` value and using it during serialization. This change ensures that the enum values are correctly serialized with their full names, aligning the behavior with the expected output when these options are enabled. If this code format doesn't align with the maintainer's preferences, please feel free to modify it as needed.
Configuration menu - View commit details
-
Copy full SHA for 2401490 - Browse repository at this point
Copy the full SHA 2401490View commit details -
Configuration menu - View commit details
-
Copy full SHA for 290d0c5 - Browse repository at this point
Copy the full SHA 290d0c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a9ee1d - Browse repository at this point
Copy the full SHA 6a9ee1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 069a874 - Browse repository at this point
Copy the full SHA 069a874View commit details
Commits on Aug 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 44756cf - Browse repository at this point
Copy the full SHA 44756cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 633bcb4 - Browse repository at this point
Copy the full SHA 633bcb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00ed234 - Browse repository at this point
Copy the full SHA 00ed234View commit details -
Configuration menu - View commit details
-
Copy full SHA for e801110 - Browse repository at this point
Copy the full SHA e801110View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b2865a - Browse repository at this point
Copy the full SHA 3b2865aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cf703d - Browse repository at this point
Copy the full SHA 3cf703dView commit details -
chore(release): 2.0.0 [skip ci]
# [2.0.0](v1.181.2...v2.0.0) (2024-08-16)
Configuration menu - View commit details
-
Copy full SHA for f9bd6d7 - Browse repository at this point
Copy the full SHA f9bd6d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ecd498 - Browse repository at this point
Copy the full SHA 3ecd498View commit details -
chore(release): 2.0.1 [skip ci]
## [2.0.1](v2.0.0...v2.0.1) (2024-08-16) ### Bug Fixes * Fix build from typescript bump. ([3ecd498](3ecd498))
Configuration menu - View commit details
-
Copy full SHA for b65d40a - Browse repository at this point
Copy the full SHA b65d40aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e058bb - Browse repository at this point
Copy the full SHA 5e058bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1c23d2 - Browse repository at this point
Copy the full SHA f1c23d2View commit details -
chore(release): 2.0.2 [skip ci]
## [2.0.2](v2.0.1...v2.0.2) (2024-08-16) ### Bug Fixes * Fix version loading in new dist layout. ([#1091](#1091)) ([f1c23d2](f1c23d2))
Configuration menu - View commit details
-
Copy full SHA for c4cfc90 - Browse repository at this point
Copy the full SHA c4cfc90View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.181.1...v2.0.2