Skip to content

Commit 750ba69

Browse files
committed
Wire MkDocs site
1 parent 565cbd3 commit 750ba69

File tree

15 files changed

+489
-69
lines changed

15 files changed

+489
-69
lines changed

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,10 @@ build
1515
generated
1616

1717
# Maven
18-
plugin*.xml
18+
plugin*.xml
19+
20+
# Special Mkdocs files
21+
docs/3.x
22+
docs/changelog.md
23+
docs/contributing.md
24+
docs/index.md

CHANGELOG.md

Lines changed: 111 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
Change Log
22
==========
33

4-
Version 3.0.0-alpha03 *(2019-06-22)*
5-
------------------------------------
4+
Version 3.0.0-alpha03
5+
---------------------
6+
7+
_2019-06-22_
8+
69
* Similar to alpha02, but with proper `wire-runtime` multiplatform artifacts.
710

8-
Version 3.0.0-alpha02 *(2019-06-21)*
9-
------------------------------------
11+
Version 3.0.0-alpha02
12+
---------------------
13+
14+
_2019-06-21_
1015

1116
* New: Experimental multiplatform runtime.
1217

@@ -38,8 +43,10 @@ Version 3.0.0-alpha02 *(2019-06-21)*
3843
* Fix: Generate labels for WireField annotation.
3944
* Fix: Wrap oneof error message properly.
4045

41-
Version 3.0.0-alpha01 *(2019-03-14)*
42-
------------------------------------
46+
Version 3.0.0-alpha01
47+
---------------------
48+
49+
_2019-03-14_
4350

4451
* New: Kotlin Generator
4552

@@ -162,8 +169,10 @@ Version 3.0.0-alpha01 *(2019-03-14)*
162169
* Fix: Return subclass type instead of abstract parameterized type for newBuilder.
163170
* Fix: Validate enum namespace in file context are unique.
164171

165-
Version 2.2.0 *(2016-06-17)*
166-
----------------------------
172+
Version 2.2.0
173+
-------------
174+
175+
_2016-06-17_
167176

168177
* New: Support for `map` type in the schema, compiler, and runtime!
169178
* New: `AndroidMessage` base class consolidates everything required for supporting Android and will
@@ -178,14 +187,18 @@ Version 2.2.0 *(2016-06-17)*
178187
guaranteed to never be `null`.
179188
180189
181-
Version 2.1.2 *(2016-04-15)*
182-
----------------------------
190+
Version 2.1.2
191+
-------------
192+
193+
_2016-04-15_
183194
184195
* Fix: Gson type adapter now deserializes JSON null literals to empty list for repeated fields.
185196
186197
187-
Version 2.1.1 *(2016-02-01)*
188-
----------------------------
198+
Version 2.1.1
199+
-------------
200+
201+
_2016-02-01_
189202
190203
* New: `reserved` keyword is now supported and enforced.
191204
* Fix: Defer reflection-based lookup of enum method until first use to avoid
@@ -194,8 +207,10 @@ Version 2.1.1 *(2016-02-01)*
194207
* Fix: Adjacent string literals are not correctly concatenated.
195208
196209
197-
Version 2.1.0 *(2016-01-18)*
198-
----------------------------
210+
Version 2.1.0
211+
-------------
212+
213+
_2016-01-18_
199214
200215
* **Empty lists of packed values were being encoded incorrectly.** In Wire 2.0.x our message
201216
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)*
206221
* New: Wire now includes a sample code generation for service interfaces.
207222
208223
209-
Version 2.0.3 *(2016-01-04)*
210-
----------------------------
224+
Version 2.0.3
225+
-------------
226+
227+
_2016-01-04_
211228
212229
* New: `ProtoAdapter.get` overload which returns an adapter given an instance of a message.
213230
* New: `@Nullable` annotations are emitted for `optional` fields when using `--android`.
214231
* Fix: Remove the need for `javac` to generate synthetic accessor methods in the generated code.
215232
This results in smaller code size and less method references (for Android users).
216233
217234
218-
Version 2.0.2 *(2015-12-14)*
219-
----------------------------
235+
Version 2.0.2
236+
-------------
237+
238+
_2015-12-14_
220239
221240
* Fix: Exclude unknown fields when encoding JSON and drop unknown fields when parsing JSON.
222241
* Fix: Ensure JSON encoding and decoding works in the default generation mode (not just
223242
`--compact`) by always adding `@WireField` metadata to message fields.
224243
* Fix: Update to JavaPoet 1.4 for more accurate generation of valid Java code.
225244
226245
227-
Version 2.0.1 *(2015-11-12)*
228-
----------------------------
246+
Version 2.0.1
247+
-------------
248+
249+
_2015-11-12_
229250
230251
* Fix: Do not emit `case` statements for aliased enum constant values. The first constant for a
231252
value will be returned when deserializing.
@@ -234,8 +255,10 @@ Version 2.0.1 *(2015-11-12)*
234255
the dependencies of an excluded member were retained despite the member itself being omitted.
235256
236257
237-
Version 2.0.0 *(2015-10-23)*
238-
----------------------------
258+
Version 2.0.0
259+
-------------
260+
261+
_2015-10-23_
239262
240263
Wire 2 is a backwards-incompatible release. It makes breaking changes to the compiler, runtime,
241264
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!
311334
* Fix: Extension fields must not be `required`.
312335
313336
314-
Version 1.8.0 *(2015-06-27)*
315-
----------------------------
337+
Version 1.8.0
338+
-------------
339+
340+
_2015-06-27_
316341
317342
* New: `oneof` support!
318343
* Fix: Correct serialization of repeated unknown fields.
319344
* Fix: Removed superfluous `private` modifier on enum constructor.
320345
* Warning: The 'protoparser' library was updated to version 4.0. This changes the type passed to
321346
any `ServiceWriter` implementations.
322347
348+
Version 1.7.0
349+
-------------
323350
324-
Version 1.7.0 *(2015-03-05)*
325-
----------------------------
351+
_2015-03-05_
326352
327353
* New: Messages implement `Serializable`. The serialized form follows protobuf encoding, so
328354
renaming fields is safe as long as tags are consistent. (Renaming classes is unsafe, however).
329355
Note that extension fields are deserialized as unknown fields.
330356
331-
Version 1.6.1 *(2015-01-16)*
332-
----------------------------
357+
Version 1.6.1
358+
-------------
359+
360+
_2015-01-16_
333361
334362
* New: `--quiet` and `--dry-run` command-line arguments.
335363
* Fix: Handle an extension registry with zero or only one item.
336364
* Okio dependency bumped to 1.2.0.
337365
338366
339-
Version 1.6.0 *(2014-10-23)*
340-
----------------------------
367+
Version 1.6.0
368+
-------------
369+
370+
_2014-10-23_
341371
342372
* Fix: Correctly throw `IOException` when parsing bad input fails.
343373
* Fix: Ensure emitted code references to `Arrays.asList` correctly compiles in some edge cases.
344374
* '__UNDEFINED__' enum value has been removed.
345375
346376
347-
Version 1.5.2 *(2014-09-15)*
348-
----------------------------
377+
Version 1.5.2
378+
-------------
379+
380+
_2014-09-15_
349381
350382
* New: '__UNDEFINED__' enum value represents values that the generated code is unable to handle.
351383
* New: Service writer implementation can now be specified on the command-line.
352384
353385
354-
Version 1.5.1 *(2014-06-18)*
355-
----------------------------
386+
Version 1.5.1
387+
-------------
388+
389+
_2014-06-18_
356390
357391
* New: Generate interface definition for a `Service` with a partial list of methods.
358392
* Okio dependency bumped to 1.0.0.
359393
360394
361-
Version 1.5.0 *(2014-04-22)*
362-
----------------------------
395+
Version 1.5.0
396+
-------------
397+
398+
_2014-04-22_
363399
364400
* New: Options on enums and enum values are now supported.
365401
* New: Options ending with `.redacted` on fields will omit values from `toString`.
@@ -368,8 +404,10 @@ Version 1.5.0 *(2014-04-22)*
368404
* Okio dependency bumped to 0.9.0.
369405
370406
371-
Version 1.4.0 *(2014-04-22)*
372-
----------------------------
407+
Version 1.4.0
408+
-------------
409+
410+
_2014-04-22_
373411
374412
* Replace Wire's ByteString class with the one from Okio (https://github.com/square/okio).
375413
**This is a breaking API change**.
@@ -385,29 +423,37 @@ Version 1.4.0 *(2014-04-22)*
385423
* Fix a bug where no some extension dependencies were not detected.
386424
387425
388-
Version 1.3.3 *(2014-03-28)*
389-
----------------------------
426+
Version 1.3.3
427+
-------------
428+
429+
_2014-03-28_
390430
391431
* New: Support service declarations as roots. The request and response types of their methods will
392432
be included.
393433
394434
395-
Version 1.3.2 *(2014-03-27)*
396-
----------------------------
435+
Version 1.3.2
436+
-------------
437+
438+
_2014-03-27_
397439
398440
* Fix: Enum value duplicate check now correctly looks at names instead of values.
399441
400442
401-
Version 1.3.1 *(2014-03-25)*
402-
----------------------------
443+
Version 1.3.1
444+
-------------
445+
446+
_2014-03-25_
403447
404448
* New: Automatically add Maven plugin's generated source as a compilation root.
405449
* Fix: Correct Maven plugin's 'no arguments' flag to work properly.
406450
* Fix: Support extend declarations nested inside message types.
407451
408452
409-
Version 1.3.0 *(2014-03-21)*
410-
----------------------------
453+
Version 1.3.0
454+
-------------
455+
456+
_2014-03-21_
411457
412458
* New: Empty repeated fields are now initialized to an empty collection.
413459
* New: Emit field options. Use `--no_options` flag to disable.
@@ -417,23 +463,28 @@ Version 1.3.0 *(2014-03-21)*
417463
418464
Note: This version is not backwards compatible with code generated from previous versions.
419465
466+
Version 1.2.0
467+
-------------
420468
421-
Version 1.2.0 *(2013-11-01)*
422-
----------------------------
469+
_2013-11-01_
423470
424471
* New: `--registry_class` compiler argument emits a class with a list of extensions suitable for
425472
passing to the `Wire` constructor.
426473
* Fix: Ensure all trailing whitespace is trimmed on documentation.
427474
428475
429-
Version 1.1.1 *(2013-10-23)*
430-
----------------------------
476+
Version 1.1.1
477+
-------------
478+
479+
_2013-10-23_
431480
432481
* Fix: Correct parsing and emission of multi-line documentation.
433482
434483
435-
Version 1.1.0 *(2013-10-22)*
436-
----------------------------
484+
Version 1.1.0
485+
-------------
486+
487+
_2013-10-22_
437488
438489
* New: Support for message options.
439490
* New: Check for duplicate field tag numbers.
@@ -444,15 +495,19 @@ Version 1.1.0 *(2013-10-22)*
444495
* Fix: Avoid shadowing fields named "result", "other", or "o".
445496
446497
447-
Version 1.0.1 *(2013-08-27)*
448-
----------------------------
498+
Version 1.0.1
499+
-------------
500+
501+
_2013-08-27_
449502
450503
* New: Support reading directly from `InputStream`.
451504
* New: Add '`other == this`' shortcut in generated `equals()` methods.
452505
453506
454-
Version 1.0.0 *(2013-08-23)*
455-
----------------------------
507+
Version 1.0.0
508+
-------------
509+
510+
_2013-08-23_
456511
457512
Initial version.
458513

CONTRIBUTING.md

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,38 @@
11
Contributing
22
============
33

4-
If you would like to contribute code you can do so through GitHub by forking
5-
the repository and sending a pull request.
4+
Keeping the project small and stable limits our ability to accept new contributors. We are not
5+
seeking new committers at this time, but some small contributions are welcome.
66

7-
When submitting code, please make every effort to follow existing conventions
8-
and style in order to keep the code as readable as possible. Please also make
9-
sure your code compiles by running `./gradlew clean build`. Checkstyle failures
10-
during compilation indicate errors in your style and can be viewed in the
11-
`checkstyle-result.xml` file.
7+
If you've found a security problem, please follow our [bug bounty][security] program.
128

13-
Before your code can be accepted into the project you must also sign the
14-
[Individual Contributor License Agreement (CLA)][1].
9+
If you've found a bug, please contribute a failing test case so we can study and fix it.
1510

11+
Before code can be accepted all contributors must complete our
12+
[Individual Contributor License Agreement (CLA)][cla].
1613

17-
[1]: https://spreadsheets.google.com/spreadsheet/viewform?formkey=dDViT2xzUHAwRkI3X3k5Z0lQM091OGc6MQ&ndplr=1
14+
15+
Code Contributions
16+
------------------
17+
18+
Get working code on a personal branch with tests passing before you submit a PR:
19+
20+
```
21+
./gradlew clean check
22+
```
23+
24+
Please make every effort to follow existing conventions and style in order to keep the code as
25+
readable as possible.
26+
27+
Contribute code changes through GitHub by forking the repository and sending a pull request. We
28+
squash all pull requests on merge.
29+
30+
31+
Committer's Guides
32+
------------------
33+
34+
* [Releasing][releasing]
35+
36+
[cla]: https://spreadsheets.google.com/spreadsheet/viewform?formkey=dDViT2xzUHAwRkI3X3k5Z0lQM091OGc6MQ&ndplr=1
37+
[releasing]: http://square.github.io/wire/releasing/
38+
[security]: http://square.github.io/wire/security/

0 commit comments

Comments
 (0)