1
1
Change Log
2
2
==========
3
3
4
- Version 3.0.0-alpha03 * (2019-06-22)*
5
- ------------------------------------
4
+ Version 3.0.0-alpha03
5
+ ---------------------
6
+
7
+ _ 2019-06-22_
8
+
6
9
* Similar to alpha02, but with proper ` wire-runtime ` multiplatform artifacts.
7
10
8
- Version 3.0.0-alpha02 * (2019-06-21)*
9
- ------------------------------------
11
+ Version 3.0.0-alpha02
12
+ ---------------------
13
+
14
+ _ 2019-06-21_
10
15
11
16
* New: Experimental multiplatform runtime.
12
17
@@ -38,8 +43,10 @@ Version 3.0.0-alpha02 *(2019-06-21)*
38
43
* Fix: Generate labels for WireField annotation.
39
44
* Fix: Wrap oneof error message properly.
40
45
41
- Version 3.0.0-alpha01 * (2019-03-14)*
42
- ------------------------------------
46
+ Version 3.0.0-alpha01
47
+ ---------------------
48
+
49
+ _ 2019-03-14_
43
50
44
51
* New: Kotlin Generator
45
52
@@ -162,8 +169,10 @@ Version 3.0.0-alpha01 *(2019-03-14)*
162
169
* Fix : Return subclass type instead of abstract parameterized type for newBuilder.
163
170
* Fix : Validate enum namespace in file context are unique.
164
171
165
- Version 2.2 .0 * (2016 - 06 - 17 )*
166
- ----------------------------
172
+ Version 2.2 .0
173
+ ------------ -
174
+
175
+ _2016 - 06 - 17_
167
176
168
177
* New : Support for `map` type in the schema, compiler, and runtime!
169
178
* New : `AndroidMessage ` base class consolidates everything required for supporting Android and will
@@ -178,14 +187,18 @@ Version 2.2.0 *(2016-06-17)*
178
187
guaranteed to never be `null`.
179
188
180
189
181
- Version 2.1.2 *(2016-04-15)*
182
- ----------------------------
190
+ Version 2.1.2
191
+ -------------
192
+
193
+ _2016-04-15_
183
194
184
195
* Fix: Gson type adapter now deserializes JSON null literals to empty list for repeated fields.
185
196
186
197
187
- Version 2.1.1 *(2016-02-01)*
188
- ----------------------------
198
+ Version 2.1.1
199
+ -------------
200
+
201
+ _2016-02-01_
189
202
190
203
* New: `reserved` keyword is now supported and enforced.
191
204
* Fix: Defer reflection-based lookup of enum method until first use to avoid
@@ -194,8 +207,10 @@ Version 2.1.1 *(2016-02-01)*
194
207
* Fix: Adjacent string literals are not correctly concatenated.
195
208
196
209
197
- Version 2.1.0 *(2016-01-18)*
198
- ----------------------------
210
+ Version 2.1.0
211
+ -------------
212
+
213
+ _2016-01-18_
199
214
200
215
* **Empty lists of packed values were being encoded incorrectly.** In Wire 2.0.x our message
201
216
adapters incorrectly included empty lists for `[packed=true]` rather than omitting them. This is
@@ -206,26 +221,32 @@ Version 2.1.0 *(2016-01-18)*
206
221
* New: Wire now includes a sample code generation for service interfaces.
207
222
208
223
209
- Version 2.0.3 *(2016-01-04)*
210
- ----------------------------
224
+ Version 2.0.3
225
+ -------------
226
+
227
+ _2016-01-04_
211
228
212
229
* New: `ProtoAdapter.get` overload which returns an adapter given an instance of a message.
213
230
* New: `@Nullable` annotations are emitted for `optional` fields when using `--android`.
214
231
* Fix: Remove the need for `javac` to generate synthetic accessor methods in the generated code.
215
232
This results in smaller code size and less method references (for Android users).
216
233
217
234
218
- Version 2.0.2 *(2015-12-14)*
219
- ----------------------------
235
+ Version 2.0.2
236
+ -------------
237
+
238
+ _2015-12-14_
220
239
221
240
* Fix: Exclude unknown fields when encoding JSON and drop unknown fields when parsing JSON.
222
241
* Fix: Ensure JSON encoding and decoding works in the default generation mode (not just
223
242
`--compact`) by always adding `@WireField` metadata to message fields.
224
243
* Fix: Update to JavaPoet 1.4 for more accurate generation of valid Java code.
225
244
226
245
227
- Version 2.0.1 *(2015-11-12)*
228
- ----------------------------
246
+ Version 2.0.1
247
+ -------------
248
+
249
+ _2015-11-12_
229
250
230
251
* Fix: Do not emit `case` statements for aliased enum constant values. The first constant for a
231
252
value will be returned when deserializing.
@@ -234,8 +255,10 @@ Version 2.0.1 *(2015-11-12)*
234
255
the dependencies of an excluded member were retained despite the member itself being omitted.
235
256
236
257
237
- Version 2.0.0 *(2015-10-23)*
238
- ----------------------------
258
+ Version 2.0.0
259
+ -------------
260
+
261
+ _2015-10-23_
239
262
240
263
Wire 2 is a backwards-incompatible release. It makes breaking changes to the compiler, runtime,
241
264
extensions, and generated code. These changes aren’t made lightly as we’ve endured the upgrade in
@@ -311,55 +334,68 @@ no longer need a `Wire` instance!
311
334
* Fix: Extension fields must not be `required`.
312
335
313
336
314
- Version 1.8.0 *(2015-06-27)*
315
- ----------------------------
337
+ Version 1.8.0
338
+ -------------
339
+
340
+ _2015-06-27_
316
341
317
342
* New: `oneof` support!
318
343
* Fix: Correct serialization of repeated unknown fields.
319
344
* Fix: Removed superfluous `private` modifier on enum constructor.
320
345
* Warning: The ' protoparser' library was updated to version 4.0. This changes the type passed to
321
346
any `ServiceWriter` implementations.
322
347
348
+ Version 1.7.0
349
+ -------------
323
350
324
- Version 1.7.0 *(2015-03-05)*
325
- ----------------------------
351
+ _2015-03-05_
326
352
327
353
* New: Messages implement `Serializable`. The serialized form follows protobuf encoding, so
328
354
renaming fields is safe as long as tags are consistent. (Renaming classes is unsafe, however).
329
355
Note that extension fields are deserialized as unknown fields.
330
356
331
- Version 1.6.1 *(2015-01-16)*
332
- ----------------------------
357
+ Version 1.6.1
358
+ -------------
359
+
360
+ _2015-01-16_
333
361
334
362
* New: `--quiet` and `--dry-run` command-line arguments.
335
363
* Fix: Handle an extension registry with zero or only one item.
336
364
* Okio dependency bumped to 1.2.0.
337
365
338
366
339
- Version 1.6.0 *(2014-10-23)*
340
- ----------------------------
367
+ Version 1.6.0
368
+ -------------
369
+
370
+ _2014-10-23_
341
371
342
372
* Fix: Correctly throw `IOException` when parsing bad input fails.
343
373
* Fix: Ensure emitted code references to `Arrays.asList` correctly compiles in some edge cases.
344
374
* ' __UNDEFINED__ ' enum value has been removed.
345
375
346
376
347
- Version 1.5.2 *(2014-09-15)*
348
- ----------------------------
377
+ Version 1.5.2
378
+ -------------
379
+
380
+ _2014-09-15_
349
381
350
382
* New: ' __UNDEFINED__ ' enum value represents values that the generated code is unable to handle.
351
383
* New: Service writer implementation can now be specified on the command-line.
352
384
353
385
354
- Version 1.5.1 *(2014-06-18)*
355
- ----------------------------
386
+ Version 1.5.1
387
+ -------------
388
+
389
+ _2014-06-18_
356
390
357
391
* New: Generate interface definition for a `Service` with a partial list of methods.
358
392
* Okio dependency bumped to 1.0.0.
359
393
360
394
361
- Version 1.5.0 *(2014-04-22)*
362
- ----------------------------
395
+ Version 1.5.0
396
+ -------------
397
+
398
+ _2014-04-22_
363
399
364
400
* New: Options on enums and enum values are now supported.
365
401
* New: Options ending with `.redacted` on fields will omit values from `toString`.
@@ -368,8 +404,10 @@ Version 1.5.0 *(2014-04-22)*
368
404
* Okio dependency bumped to 0.9.0.
369
405
370
406
371
- Version 1.4.0 *(2014-04-22)*
372
- ----------------------------
407
+ Version 1.4.0
408
+ -------------
409
+
410
+ _2014-04-22_
373
411
374
412
* Replace Wire' s ByteString class with the one from Okio (https : // github.com/square/okio).
375
413
**This is a breaking API change**.
@@ -385,29 +423,37 @@ Version 1.4.0 *(2014-04-22)*
385
423
* Fix a bug where no some extension dependencies were not detected.
386
424
387
425
388
- Version 1.3.3 *(2014-03-28)*
389
- ----------------------------
426
+ Version 1.3.3
427
+ -------------
428
+
429
+ _2014-03-28_
390
430
391
431
* New: Support service declarations as roots. The request and response types of their methods will
392
432
be included.
393
433
394
434
395
- Version 1.3.2 *(2014-03-27)*
396
- ----------------------------
435
+ Version 1.3.2
436
+ -------------
437
+
438
+ _2014-03-27_
397
439
398
440
* Fix: Enum value duplicate check now correctly looks at names instead of values.
399
441
400
442
401
- Version 1.3.1 *(2014-03-25)*
402
- ----------------------------
443
+ Version 1.3.1
444
+ -------------
445
+
446
+ _2014-03-25_
403
447
404
448
* New: Automatically add Maven plugin' s generated source as a compilation root.
405
449
* Fix : Correct Maven plugin' s ' no arguments' flag to work properly.
406
450
* Fix: Support extend declarations nested inside message types.
407
451
408
452
409
- Version 1.3.0 *(2014-03-21)*
410
- ----------------------------
453
+ Version 1.3.0
454
+ -------------
455
+
456
+ _2014-03-21_
411
457
412
458
* New: Empty repeated fields are now initialized to an empty collection.
413
459
* New: Emit field options. Use `--no_options` flag to disable.
@@ -417,23 +463,28 @@ Version 1.3.0 *(2014-03-21)*
417
463
418
464
Note: This version is not backwards compatible with code generated from previous versions.
419
465
466
+ Version 1.2.0
467
+ -------------
420
468
421
- Version 1.2.0 *(2013-11-01)*
422
- ----------------------------
469
+ _2013-11-01_
423
470
424
471
* New: `--registry_class` compiler argument emits a class with a list of extensions suitable for
425
472
passing to the `Wire` constructor.
426
473
* Fix: Ensure all trailing whitespace is trimmed on documentation.
427
474
428
475
429
- Version 1.1.1 *(2013-10-23)*
430
- ----------------------------
476
+ Version 1.1.1
477
+ -------------
478
+
479
+ _2013-10-23_
431
480
432
481
* Fix: Correct parsing and emission of multi-line documentation.
433
482
434
483
435
- Version 1.1.0 *(2013-10-22)*
436
- ----------------------------
484
+ Version 1.1.0
485
+ -------------
486
+
487
+ _2013-10-22_
437
488
438
489
* New: Support for message options.
439
490
* New: Check for duplicate field tag numbers.
@@ -444,15 +495,19 @@ Version 1.1.0 *(2013-10-22)*
444
495
* Fix: Avoid shadowing fields named "result", "other", or "o".
445
496
446
497
447
- Version 1.0.1 *(2013-08-27)*
448
- ----------------------------
498
+ Version 1.0.1
499
+ -------------
500
+
501
+ _2013-08-27_
449
502
450
503
* New: Support reading directly from `InputStream`.
451
504
* New: Add ' `other == this`' shortcut in generated `equals()` methods.
452
505
453
506
454
- Version 1.0.0 *(2013-08-23)*
455
- ----------------------------
507
+ Version 1.0.0
508
+ -------------
509
+
510
+ _2013-08-23_
456
511
457
512
Initial version.
458
513
0 commit comments