Refactoring java full runtime to reuse sub-message builders and prepare to
migrate parsing logic from parse constructor to builder.
Move proto wireformat parsing functionality from the private "parsing
constructor" to the Builder class.
Change the Lite runtime to prefer merging from the wireformat into mutable
messages rather than building up a new immutable object before merging. This
way results in fewer allocations and copy operations.
Make message-type extensions merge from wire-format instead of building up
instances and merging afterwards. This has much better performance.
Fix TextFormat parser to build up recurring (but supposedly not repeated)
sub-messages directly from text rather than building a new sub-message and
merging the fully formed message into the existing field.
Allocate with xrealloc()/xfree() so message allocation is visible to the
Ruby GC. In certain tests this leads to much lower memory usage due to more
frequent GC runs (#9586).
Fix conversion of singleton classes in Ruby (#9342)
... (truncated)
Commits
9d0ec0f Updating version.json and repo version numbers to: 25.5
4a197e7 Merge pull request #18387 from protocolbuffers/cp-lp-25
b5a7cf7 Remove RecursiveGroup test case which doesn't exist in 25.x pre-Editions
f000b7e Fix merge conflict by adding optional label to proto2 unittest_lite.proto
4728531 Add recursion check when parsing unknown fields in Java.
Reimplemented Files.createTempDir and FileBackedOutputStream to further address CVE-2020-8908 (#4011) and CVE-2023-2976 (#2575). (feb83a1c8f)
While CVE-2020-8908 was officially closed when we deprecated Files.createTempDir in Guava 30.0, we've heard from users that even recent versions of Guava have been listed as vulnerable in other databases of security vulnerabilities. In response, we've reimplemented the method (and the very rarely used FileBackedOutputStream class, which had a similar issue) to eliminate the insecure behavior entirely. This change could technically affect users in a number of different ways (discussed under "Incompatible changes" below), but in practice, the only problem users are likely to encounter is with Windows. If you are using those APIs under Windows, you should skip 32.0.0 and go straight to 32.0.1 which fixes the problem. (Unfortunately, we didn't think of the Windows problem until after the release. And while we warn that common.io in particular may not work under Windows, we didn't intend to regress support.) Sorry for the trouble.
Incompatible changes
Although this release bumps Guava's major version number, it makes no binary-incompatible changes to the guava artifact.
One change could cause issues for Widows users, and a few other changes could cause issues for users in more usual situations:
The new implementations of Files.createTempDir and FileBackedOutputStreamthrow an exception under Windows. This is fixed in 32.0.1. Sorry for the trouble.
This release makes a binary-incompatible change to a @Beta API in the separate artifactguava-testlib. Specifically, we changed the return type of TestingExecutors.sameThreadScheduledExecutor to ListeningScheduledExecutorService. The old return type was a package-private class, which caused the Kotlin compiler to produce warnings. (dafaa3e435)
Prior to this change, custom runners could make FrameworkMethod instances, but not FrameworkField instances. This small change allows for both now, because FrameworkField's constructor has been promoted from package-private to public.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/google/step49-2020/network/alerts).
Bumps the maven group with 5 updates:
3.7.1
3.25.5
29.0-jre
32.0.0-jre
2.8.6
2.8.9
4.13
4.13.1
20180130
20231013
Updates
com.google.protobuf:protobuf-java
from 3.7.1 to 3.25.5Release notes
Sourced from com.google.protobuf:protobuf-java's releases.
... (truncated)
Commits
9d0ec0f
Updating version.json and repo version numbers to: 25.54a197e7
Merge pull request #18387 from protocolbuffers/cp-lp-25b5a7cf7
Remove RecursiveGroup test case which doesn't exist in 25.x pre-Editionsf000b7e
Fix merge conflict by adding optional label to proto2 unittest_lite.proto4728531
Add recursion check when parsing unknown fields in Java.850fcce
Internal changeb704498
Internal changee673479
Fix cord handling in DynamicMessage and oneofs. (#18375)8a60b65
Merge pull request #17704 from protocolbuffers/cp-segv94a2663
Fixed a SEGV when deep copying a non-reified sub-message.Updates
com.google.guava:guava
from 29.0-jre to 32.0.0-jreRelease notes
Sourced from com.google.guava:guava's releases.
... (truncated)
Commits
Updates
com.google.code.gson:gson
from 2.8.6 to 2.8.9Release notes
Sourced from com.google.code.gson:gson's releases.
Changelog
Sourced from com.google.code.gson:gson's changelog.
Commits
6a368d8
[maven-release-plugin] prepare release gson-parent-2.8.9ba96d53
Fix missing bounds checks for JsonTreeReader.getPath() (#2001)ca1df7f
#1981: Optional OSGi bundle's dependency on sun.misc package (#1993)c54caf3
DeprecateGson.excluder()
exposing internalExcluder
class (#1986)e6fae59
Prevent Java deserialization of internal classes (#1991)bda2e3d
Improve number strategy implementation (#1987)cd748df
Fix LongSerializationPolicy null handling being inconsistent with Gson (#1990)fe30b85
Support arbitrary Number implementation for Object and Number deserialization...1cc1627
Fix incorrect feature request template label (#1982)7b9a283
Bump bnd-maven-plugin from 5.3.0 to 6.0.0 (#1985)Updates
junit:junit
from 4.13 to 4.13.1Release notes
Sourced from junit:junit's releases.
Changelog
Sourced from junit:junit's changelog.
Commits
1b683f4
[maven-release-plugin] prepare release r4.13.1ce6ce3a
Draft 4.13.1 release notesc29dd82
Change version to 4.13.1-SNAPSHOT1d17486
Add a link to assertThrows in exception testing543905d
Use separate line for annotation in Javadoc510e906
Add sub headlines to class Javadoc610155b
Merge pull request from GHSA-269g-pwp5-87ppb6cfd1e
Explicitly wrap float parameter for consistency (#1671)a5d205c
Fix GitHub link in FAQ (#1672)3a5c6b4
Deprecated since jdk9 replacing constructor instance of Double and Float (#1660)Updates
org.json:json
from 20180130 to 20231013Release notes
Sourced from org.json:json's releases.
... (truncated)
Changelog
Sourced from org.json:json's changelog.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show