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