xref: /aosp_15_r20/external/cronet/third_party/protobuf/csharp/CHANGES.txt (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1*6777b538SAndroid Build Coastguard Worker===============================================================================
2*6777b538SAndroid Build Coastguard WorkerWelcome to the C# port of Google Protocol Buffers, written by Jon Skeet
3*6777b538SAndroid Build Coastguard Worker([email protected]) based on the work of many talented people.
4*6777b538SAndroid Build Coastguard Worker
5*6777b538SAndroid Build Coastguard Worker===============================================================================
6*6777b538SAndroid Build Coastguard WorkerRELEASE NOTES - Code imported into Google's main protobuf repository
7*6777b538SAndroid Build Coastguard Worker===============================================================================
8*6777b538SAndroid Build Coastguard Worker
9*6777b538SAndroid Build Coastguard WorkerEverything below note this represents history of protobuf-csharp-port project
10*6777b538SAndroid Build Coastguard Workerbefore the code was merged into csharp/ subtree of GitHub google/protobuf
11*6777b538SAndroid Build Coastguard Workerrepository.
12*6777b538SAndroid Build Coastguard WorkerFrozen legacy version of the original project is available in
13*6777b538SAndroid Build Coastguard Workerhttps://github.com/jskeet/protobuf-csharp-port.
14*6777b538SAndroid Build Coastguard Worker
15*6777b538SAndroid Build Coastguard Worker===============================================================================
16*6777b538SAndroid Build Coastguard WorkerRELEASE NOTES - Version 2.4.1.555
17*6777b538SAndroid Build Coastguard Worker===============================================================================
18*6777b538SAndroid Build Coastguard Worker
19*6777b538SAndroid Build Coastguard WorkerChanges:
20*6777b538SAndroid Build Coastguard Worker- Upgrade solution format to Visual Studio 2012.
21*6777b538SAndroid Build Coastguard Worker- Add the ability to print a builder (not just a message)
22*6777b538SAndroid Build Coastguard Worker- TextGenerator introduces a new overload of PrintTo
23*6777b538SAndroid Build Coastguard Worker- Munge protoc's error format into a VS-C#-compatible output format.
24*6777b538SAndroid Build Coastguard Worker- Work to make ProtoGen clone that acts as a protoc.exe plugin.
25*6777b538SAndroid Build Coastguard Worker- Added the AllowPartiallyTrustedCallers attribute
26*6777b538SAndroid Build Coastguard Worker- Optimized enum parsing.
27*6777b538SAndroid Build Coastguard Worker
28*6777b538SAndroid Build Coastguard WorkerFixes:
29*6777b538SAndroid Build Coastguard Worker- Fix for bug in limited input stream's Position, Introduced Position on
30*6777b538SAndroid Build Coastguard Worker  output stream
31*6777b538SAndroid Build Coastguard Worker- Fix for writing a character to a JSON output overflows allocated buffer
32*6777b538SAndroid Build Coastguard Worker- Optimize FromBase64String to return Empty when presented with empty string.
33*6777b538SAndroid Build Coastguard Worker- Use string.Concat instead of operator to avoid potential import problems
34*6777b538SAndroid Build Coastguard Worker- Issue 81: quoting for NUnit parameters.
35*6777b538SAndroid Build Coastguard Worker- Issue 56: NuGet package is noisy
36*6777b538SAndroid Build Coastguard Worker- Issue 70: Portable library project has some invalid Nunit-based code.
37*6777b538SAndroid Build Coastguard Worker- Issue 71: CodedInputStream.ReadBytes go to slow path unnecessarily
38*6777b538SAndroid Build Coastguard Worker- Issue 84: warning CS0219: The variable `size' is assigned but never used
39*6777b538SAndroid Build Coastguard Worker
40*6777b538SAndroid Build Coastguard Worker===============================================================================
41*6777b538SAndroid Build Coastguard WorkerRELEASE NOTES - Version 2.4.1.521
42*6777b538SAndroid Build Coastguard Worker===============================================================================
43*6777b538SAndroid Build Coastguard Worker
44*6777b538SAndroid Build Coastguard WorkerChanges:
45*6777b538SAndroid Build Coastguard Worker- Add generated_code_attributes option, defaulted to false
46*6777b538SAndroid Build Coastguard Worker- Added support for Portable library
47*6777b538SAndroid Build Coastguard Worker- Added 'Unsafe' static type in ByteString to allow direct buffer access
48*6777b538SAndroid Build Coastguard Worker
49*6777b538SAndroid Build Coastguard WorkerFixes:
50*6777b538SAndroid Build Coastguard Worker- Issue 50: The XML serializer will fail to deserialize a message with empty
51*6777b538SAndroid Build Coastguard Worker  child message
52*6777b538SAndroid Build Coastguard Worker- Issue 45: Use of 'item' as a field name causes AmbiguousMatchException
53*6777b538SAndroid Build Coastguard Worker- Issue 49: Generated nested static Types class should be partial
54*6777b538SAndroid Build Coastguard Worker- Issue 38: Disable CLSCompliant warnings (3021)
55*6777b538SAndroid Build Coastguard Worker- Issue 40: proto_path does not work for command-line file names
56*6777b538SAndroid Build Coastguard Worker- Issue 54: should retire all bytes in buffer (bufferSize)
57*6777b538SAndroid Build Coastguard Worker- Issue 43: Fix to correct identical 'umbrella_classname' options from trying
58*6777b538SAndroid Build Coastguard Worker  to write to the same filename.
59*6777b538SAndroid Build Coastguard Worker
60*6777b538SAndroid Build Coastguard Worker===============================================================================
61*6777b538SAndroid Build Coastguard WorkerRELEASE NOTES - Version 2.4.1.473
62*6777b538SAndroid Build Coastguard Worker===============================================================================
63*6777b538SAndroid Build Coastguard Worker
64*6777b538SAndroid Build Coastguard WorkerFeatures:
65*6777b538SAndroid Build Coastguard Worker- Added option service_generator_type to control service generation with
66*6777b538SAndroid Build Coastguard Worker  NONE, GENERIC, INTERFACE, or IRPCDISPATCH
67*6777b538SAndroid Build Coastguard Worker- Added interfaces IRpcDispatch and IRpcServerStub to provide for blocking
68*6777b538SAndroid Build Coastguard Worker  services and implementations.
69*6777b538SAndroid Build Coastguard Worker- Added ProtoGen.exe command-line argument "--protoc_dir=" to specify the
70*6777b538SAndroid Build Coastguard Worker  location of protoc.exe.
71*6777b538SAndroid Build Coastguard Worker- Extracted interfaces for ICodedInputStream and ICodedOutputStream to allow
72*6777b538SAndroid Build Coastguard Worker  custom implementation of writers with both speed and size optimizations.
73*6777b538SAndroid Build Coastguard Worker- Addition of the "Google.ProtoBuffers.Serialization" assembly to support
74*6777b538SAndroid Build Coastguard Worker  reading and writing messages to/from XML, JSON, IDictionary<,> and others.
75*6777b538SAndroid Build Coastguard Worker- Several performance related fixes and tweeks
76*6777b538SAndroid Build Coastguard Worker- Issue 3:	Add option to mark generated code with attribute
77*6777b538SAndroid Build Coastguard Worker- Issue 20:	Support for decorating classes [Serializable]
78*6777b538SAndroid Build Coastguard Worker- Issue 21:	Decorate fields with [deprecated=true] as [System.Obsolete]
79*6777b538SAndroid Build Coastguard Worker- Issue 22:	Reusable Builder classes
80*6777b538SAndroid Build Coastguard Worker- Issue 24:	Support for using Json/Xml formats with ICodedInputStream
81*6777b538SAndroid Build Coastguard Worker- Issue 25: Added support for NuGet packages
82*6777b538SAndroid Build Coastguard Worker- Issue 31: Upgraded protoc.exe and descriptor to 2.4.1
83*6777b538SAndroid Build Coastguard Worker
84*6777b538SAndroid Build Coastguard WorkerFixes:
85*6777b538SAndroid Build Coastguard Worker- Issue 13:	Message with Field same name as message causes uncompilable .cs
86*6777b538SAndroid Build Coastguard Worker- Issue 16:	Does not integrate well with other tooling
87*6777b538SAndroid Build Coastguard Worker- Issue 19:	Support for negative enum values
88*6777b538SAndroid Build Coastguard Worker- Issue 26:	AddRange in GeneratedBuilder iterates twice.
89*6777b538SAndroid Build Coastguard Worker- Issue 27:	Remove XML documentation output from test projects to clear
90*6777b538SAndroid Build Coastguard Worker  warnings/errors.
91*6777b538SAndroid Build Coastguard Worker- Issue 28: Circular message dependencies result in null default values for
92*6777b538SAndroid Build Coastguard Worker  Message fields.
93*6777b538SAndroid Build Coastguard Worker- Issue 29: Message classes generated have a public default constructor.  You
94*6777b538SAndroid Build Coastguard Worker  can disable private ctor generation with the option generate_private_ctor.
95*6777b538SAndroid Build Coastguard Worker- Issue 35: Fixed a bug in ProtoGen handling of arguments with trailing \
96*6777b538SAndroid Build Coastguard Worker- Big-endian support for float, and double on Silverlight
97*6777b538SAndroid Build Coastguard Worker- Packed and Unpacked parsing allow for all repeated, as per version 2.3
98*6777b538SAndroid Build Coastguard Worker- Fix for leaving Builder a public ctor on internal classes for use with
99*6777b538SAndroid Build Coastguard Worker  generic "where T: new()" constraints.
100*6777b538SAndroid Build Coastguard Worker
101*6777b538SAndroid Build Coastguard WorkerOther:
102*6777b538SAndroid Build Coastguard Worker- Changed the code signing key to a privately held key
103*6777b538SAndroid Build Coastguard Worker- Reformatted all code and line-endings to C# defaults
104*6777b538SAndroid Build Coastguard Worker- Reworking of performance benchmarks to produce reliable results, option /v2
105*6777b538SAndroid Build Coastguard Worker- Issue 34: Silverlight assemblies are now unit tested
106*6777b538SAndroid Build Coastguard Worker
107*6777b538SAndroid Build Coastguard Worker===============================================================================
108*6777b538SAndroid Build Coastguard WorkerRELEASE NOTES - Version 2.3.0.277
109*6777b538SAndroid Build Coastguard Worker===============================================================================
110*6777b538SAndroid Build Coastguard Worker
111*6777b538SAndroid Build Coastguard WorkerFeatures:
112*6777b538SAndroid Build Coastguard Worker- Added cls_compliance option to generate attributes indicating
113*6777b538SAndroid Build Coastguard Worker  non-CLS-compliance.
114*6777b538SAndroid Build Coastguard Worker- Added file_extension option to control the generated output file's extension.
115*6777b538SAndroid Build Coastguard Worker- Added umbrella_namespace option to place the umbrella class into a nested
116*6777b538SAndroid Build Coastguard Worker  namespace to address issues with proto files having the same name as a
117*6777b538SAndroid Build Coastguard Worker  message it contains.
118*6777b538SAndroid Build Coastguard Worker- Added output_directory option to set the output path for the source file(s).
119*6777b538SAndroid Build Coastguard Worker- Added ignore_google_protobuf option to avoid generating code for includes
120*6777b538SAndroid Build Coastguard Worker  from the google.protobuf package.
121*6777b538SAndroid Build Coastguard Worker- Added the LITE framework (Google.ProtoBuffersLite.dll) and the ability to
122*6777b538SAndroid Build Coastguard Worker  generate code with "option optimize_for = LITE_RUNTIME;".
123*6777b538SAndroid Build Coastguard Worker- Added ability to invoke protoc.exe from within ProtoGen.exe.
124*6777b538SAndroid Build Coastguard Worker- Upgraded to protoc.exe (2.3) compiler.
125*6777b538SAndroid Build Coastguard Worker
126*6777b538SAndroid Build Coastguard WorkerFixes:
127*6777b538SAndroid Build Coastguard Worker- Issue 9:	Class cannot be static and sealed error
128*6777b538SAndroid Build Coastguard Worker- Issue 12:	default value for enumerate fields must be filled out
129*6777b538SAndroid Build Coastguard Worker
130*6777b538SAndroid Build Coastguard WorkerOther:
131*6777b538SAndroid Build Coastguard Worker- Rewrite of build using MSbuild instead of NAnt
132*6777b538SAndroid Build Coastguard Worker- Moved to NUnit Version 2.2.8.0
133*6777b538SAndroid Build Coastguard Worker- Changed to using secure .snk for releases
134*6777b538SAndroid Build Coastguard Worker
135*6777b538SAndroid Build Coastguard Worker===============================================================================
136*6777b538SAndroid Build Coastguard WorkerRELEASE NOTES - Version 0.9.1
137*6777b538SAndroid Build Coastguard Worker===============================================================================
138*6777b538SAndroid Build Coastguard Worker
139*6777b538SAndroid Build Coastguard WorkerFixes:
140*6777b538SAndroid Build Coastguard Worker- issue 10:	Incorrect encoding of packed fields when serialized
141*6777b538SAndroid Build Coastguard Worker
142*6777b538SAndroid Build Coastguard Worker===============================================================================
143*6777b538SAndroid Build Coastguard WorkerRELEASE NOTES - Version 0.9.0
144*6777b538SAndroid Build Coastguard Worker===============================================================================
145*6777b538SAndroid Build Coastguard Worker
146*6777b538SAndroid Build Coastguard Worker- Initial release
147*6777b538SAndroid Build Coastguard Worker
148*6777b538SAndroid Build Coastguard Worker===============================================================================