Matt Kulukundis
62fdfd1062
Fix a typo
...
PiperOrigin-RevId: 540349262
1 year ago
Protobuf Team Bot
2b1babf6ed
Auto-generate files after cl/536519387
2 years ago
Protobuf Team Bot
3185c2fa0b
Auto-generate files after cl/535728592
2 years ago
James Newton-King
cfb702a078
[C#] Replace regex that validates descriptor names ( #12174 )
...
This PR replaces the descriptor name validation regex with a validation method. This change allows the `System.Text.RegularExpressions` engine to be trimmed away in published apps that do standard protobuf serialization.
There are some other usages of `Regex` in Google.Protobuf, but they in `JsonParser`. They are only included in a published app if `JsonParser` is used.
Another benefit is a slightly faster app startup time. The removed regex was compiled, which has a high-ish fixed cost.
cc @jskeet @jtattermusch
Closes #12174
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12174 from JamesNK:jamesnk/remove-regex 9d065a3a71
PiperOrigin-RevId: 532210203
2 years ago
Protobuf Team Bot
d33b00bdaa
Auto-generate files after cl/532175274
2 years ago
Protobuf Team Bot
902af9abf7
Auto-generate files after cl/531610557
2 years ago
deannagarcia
0e23f18865
Merge to main after 23.0 release ( #12721 )
...
Closes #12721
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12721 from protocolbuffers:main-202305082101 36482b4c68
PiperOrigin-RevId: 530664393
2 years ago
Protobuf Team Bot
67d9ea87f3
Internal change
...
PiperOrigin-RevId: 530619366
2 years ago
Protobuf Team Bot
6e511679de
Updating version.json and repo version numbers to: 23.0
2 years ago
Protobuf Team Bot
d8f44cc2fb
Updating version.json and repo version numbers to: 23.0-rc3
2 years ago
Protobuf Team Bot
9d97f983cd
Auto-generate files after cl/529209314
2 years ago
Adam Cozzette
7c95aacc18
Add option retention test for C#
...
PiperOrigin-RevId: 528614030
2 years ago
Protobuf Team Bot
c045343d61
Auto-generate files after cl/528023935
2 years ago
Protobuf Team Bot
1c05447e46
Auto-generate files after cl/528013709
2 years ago
Adam Cozzette
a2e8a2c88e
Add unittest_retention.proto to csharp/generate_protos.sh
...
PiperOrigin-RevId: 528013709
2 years ago
Protobuf Team Bot
51f51ac4ef
Updating version.json and repo version numbers to: 23.0-rc2
2 years ago
Protobuf Team Bot
28060e4987
Auto-generate files after cl/527076622
2 years ago
Protobuf Team Bot
b21d6be78b
Updating version.json and repo version numbers to: 23.0-rc1
2 years ago
Protobuf Team Bot
bc127f2b56
Auto-generate files after cl/526184056
2 years ago
Protobuf Team Bot
84a3b594c7
Auto-generate files after cl/524383969
2 years ago
Protobuf Team Bot
482156c0f9
Updating version.json and repo version numbers to: 22.3
2 years ago
Protobuf Team Bot
f11079b01f
Auto-generate files after cl/523269837
2 years ago
Protobuf Team Bot
11d9cd97cf
Auto-generate files after cl/523228262
2 years ago
Romfos
09f094c811
[dotnet, csharp] Run tests for supported platforms .NET 6, .NET Framework 4.6.2 ( #12378 )
...
What's changed?
- Update some nuget packages (for test projects)
- Run unit tests for supported platforms: .NET 6 + .NET Framework 4.6.2
Notes:
.NET Framework 4.6.1 is out of support, .NET Framework 4.6.2 is the older version that is still supported
https://devblogs.microsoft.com/dotnet/net-framework-4-5-2-4-6-4-6-1-will-reach-end-of-support-on-april-26-2022/
.NET 5 is out of support
https://devblogs.microsoft.com/dotnet/dotnet-5-end-of-support-update/
.NET Core 3.1 is out of support
https://devblogs.microsoft.com/dotnet/net-core-3-1-will-reach-end-of-support-on-december-13-2022/
Visual studio 2012 is out of support
https://devblogs.microsoft.com/visualstudio/support-ends-for-older-versions-of-visual-studio-feb2022
Closes #12378
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12378 from Romfos:main 227661e02c
PiperOrigin-RevId: 523196896
2 years ago
Protobuf Team Bot
6ae84761bf
Auto-generate files after cl/520049946
2 years ago
Mike Kruskal
3f4af6661a
Internal Code Change
...
PiperOrigin-RevId: 520049946
2 years ago
Protobuf Team Bot
5b59a02b91
Auto-generate files after cl/519752053
2 years ago
Protobuf Team Bot
e56cf5d8d4
Auto-generate files after cl/518395462
2 years ago
Protobuf Team Bot
35ffb665e2
Auto-generate files after PR #12262
2 years ago
Jon Skeet
4326e0f852
Make json_name take priority over name (fully) in C# parsing ( #12262 )
...
Fixes #11987
(testprotos.pb and UnittestIssues.pb.cs are both generated; no need to review.)
Closes #12262
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12262 from jskeet:json-mapping 95785247b7
PiperOrigin-RevId: 518186721
2 years ago
Jon Skeet
0dda953e06
Fix compile-time error for Google.Protobuf in C# 11 ( #12261 )
...
Note that the error only affects users trying to build Google.Protobuf directly using C# 11. It doesn't affect users who are compiling code against the pre-built library (which is likely to be basically everyone).
Fixes #11004 .
(This is code I'm less familiar with than most of the library, and I'd be nervous of making any more wide-ranging changes. This seems pretty safe though.)
cc @JamesNK who first noticed this.
Closes #12261
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12261 from jskeet:csharp-11 6bf22b892b
PiperOrigin-RevId: 518178901
2 years ago
Protobuf Team Bot
5d3d9aa372
Auto-generate files after cl/518088680
2 years ago
Protobuf Team Bot
9b4a3ed9e4
Auto-generate files after cl/517595570
2 years ago
Protobuf Team Bot
22a3404240
Auto-generate files after cl/517494787
2 years ago
Protobuf Team Bot
a7846178ef
Auto-generate files after cl/517453262
2 years ago
Protobuf Team Bot
fd6fc8c7cc
Auto-generate files after cl/517211904
2 years ago
zhangskz
b15bf628e5
Merge 22.x back to main ( #12200 )
...
Closes #12200
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12200 from protocolbuffers:main-202303101853 1efa2e7205
PiperOrigin-RevId: 515722578
2 years ago
Mike Kruskal
25dfc39b11
Internal changes
...
PiperOrigin-RevId: 515648197
2 years ago
Protobuf Team Bot
81f89d509d
Updating version.json and repo version numbers to: 22.2
2 years ago
deannagarcia
15bd2c21cf
Merge 22.x back to main ( #12169 )
...
Closes #12169
PiperOrigin-RevId: 515161008
2 years ago
Protobuf Team Bot
839e8d25ea
Updating version.json and repo version numbers to: 22.1
2 years ago
Protobuf Team Bot
818129adff
Auto-generate files after cl/514783686
2 years ago
Protobuf Team Bot
51f22eb334
Auto-generate files after cl/514587333
2 years ago
Protobuf Team Bot
f3fba625c6
Auto-generate files after cl/514424955
2 years ago
Protobuf Team Bot
02bbd4e492
Auto-generate files after cl/513973094
2 years ago
Protobuf Team Bot
1501afeb23
Auto-generate files after cl/512017807
2 years ago
Mike Kruskal
649cc30872
Open-source some of our string_view tests.
...
This support was added in 22.x, but we don't have any tests locking it down.
Closes https://github.com/protocolbuffers/protobuf/issues/8096
PiperOrigin-RevId: 510242380
2 years ago
Protobuf Team Bot
a847a8dc4b
Updating version.json and repo version numbers to: 22.0
2 years ago
Mike Kruskal
ff91b25494
Use generated Conformance proto for Bazel targets.
...
PiperOrigin-RevId: 510158778
2 years ago
Protobuf Team Bot
3219a0b0d9
Auto-generate files after cl/509546035
2 years ago