-
Notifications
You must be signed in to change notification settings - Fork 74
Comparing changes
Open a pull request
base repository: protocolbuffers/protobuf-javascript
base: v3.21.4
head repository: protocolbuffers/protobuf-javascript
compare: main
- 11 commits
- 19 files changed
- 4 contributors
Commits on Jul 16, 2024
-
Port fix: Fix JSPB binary utf8 decoding to be spec compliant.
Our prior behavior was extremely undefined when confronted with errors, it would read out of bounds, accept overlong encodings, skip over out of range bytes, compose out of range codepoints. The new implementation always detects and handles errors consistently by either throwing or using replacement characters (� aka \uFFFD) This also adds support for aligning with the proto3 spec to the code generator which requires that parsing fail for proto3 messages with invalid utf8 payloads for string fields. For now, actual failing is disabled via the goog.define jspb.binary.ENFORCE_UTF8 which is set to NEVER. A future change will flip this to DEFAULT.
Configuration menu - View commit details
-
Copy full SHA for 1abea1a - Browse repository at this point
Copy the full SHA 1abea1aView commit details -
Co-authored-by: Luke Sandberg <lukesandberg@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 27d4277 - Browse repository at this point
Copy the full SHA 27d4277View commit details -
Fix build errors from utf8 enforcement changes
This change fixes some minor build issues from not using fully specified function names. There was also a missing parameter issue for BinaryDecoder.readStringWithLength's invocation of readString, but the former appears to be dead code so just removed it.
Configuration menu - View commit details
-
Copy full SHA for 16cb293 - Browse repository at this point
Copy the full SHA 16cb293View commit details
Commits on Jul 18, 2024
-
Specify os and cpu for release name to avoid duplicates
actions/upload-artifact@4 made a breaking change to fail on duplicate names. I think we are seeing Windows release errors as a result since both x64_x86 and x64 are named 'releases'. This change just tags the os and cpu onto the release dir name to reflect the specific build.
Configuration menu - View commit details
-
Copy full SHA for aa988c9 - Browse repository at this point
Copy the full SHA aa988c9View commit details
Commits on Sep 12, 2024
-
Bump micromatch from 4.0.7 to 4.0.8
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.7 to 4.0.8. - [Release notes](https://github.com/micromatch/micromatch/releases) - [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md) - [Commits](micromatch/micromatch@4.0.7...4.0.8) --- updated-dependencies: - dependency-name: micromatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for ae8f855 - Browse repository at this point
Copy the full SHA ae8f855View commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 426b2e0 - Browse repository at this point
Copy the full SHA 426b2e0View commit details
Commits on Mar 17, 2025
-
Update to protobuf 30.1 and drop bazel workspace configuration
The proto descriptor API has changed to return absl::string_views instead of std::string, which is preventing users from building at HEAD. This change bumps our dependency to protobuf 30.1 and migrates our code generator as needed so we can build with absl::string_view values. At the same time, Bazel is getting ready to drop workspace support (disabled by default as of EOY2024/Bazel 8). Protobuf still seems to support both, but opportunistically taking this opportunity to just use Bazel models. We can temporarily add back workspace support if users actually need it.
Configuration menu - View commit details
-
Copy full SHA for eb785a9 - Browse repository at this point
Copy the full SHA eb785a9View commit details -
Merge pull request #229 from dibenede/update-protobuf
Update to protobuf 30.1 and drop bazel workspace configuration
Configuration menu - View commit details
-
Copy full SHA for 5f41cae - Browse repository at this point
Copy the full SHA 5f41caeView commit details
Commits on Mar 19, 2025
-
This file was generated by re-running the actions marketplace installation. Cleaning up the old scorecards.yml that is obsoleted by this new file.
Configuration menu - View commit details
-
Copy full SHA for 9224d3e - Browse repository at this point
Copy the full SHA 9224d3eView commit details -
Fix path for rules_pkg providers.bzl load
We use PackageVariablesInfo from rules_pkg for versioning. The previous change bumped the version of our rules_pkg dependency and it looks like that moved the declaring providers.bzl file change to a `pkg/` subdir. This broke our Windows builds/release automation since they use //:dist_zip. We did not catch this during PR testing because we just do `npm test`.
Configuration menu - View commit details
-
Copy full SHA for 0768cc9 - Browse repository at this point
Copy the full SHA 0768cc9View commit details
Commits on May 15, 2025
-
Protobuf 31 contains field descriptor API changes for optional-ness. This change adjusts to the suggested !required && !repeated.
Configuration menu - View commit details
-
Copy full SHA for 28bf5df - Browse repository at this point
Copy the full SHA 28bf5dfView commit details
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 v3.21.4...main