Skip to content

Commit e02a24d

Browse files
Create CONTRIBUTING.md
1 parent c519c06 commit e02a24d

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

CONTRIBUTING.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# How to contribute
2+
3+
## Bug reports and feature requests.
4+
5+
0. Please indicate clearly if you report a bug or want a new feature added.
6+
1. Open one issue per feature and/or bug. This makes tracking issues much easier.
7+
2. For bug reports: State clearly what is the expected behavior vs. the actual behavior.
8+
3. For feature requests: Describe the desired feature in as much detail as you can, preferrably with a desccription / example of the API you want added.
9+
10+
## Pull requests
11+
12+
0. Please add a changelog item for every user facing change you added. See [changelog](#changelog)
13+
1. Please add unit tests for fixed bugs or new features.
14+
15+
## Changelog
16+
17+
Please write the changelog items in such a way that everyone who uses the library can understand the impact of the change. They should convey what a new feature means for them, if a bugfix affects them or what it means to to catch up with a breaking change. Remember that not every user of the libary has knowledge of it's internals - so commit messages rarely make for a good changelog entry.
18+
19+
The changelog is loosely formatted, but I've more or less settled on this general structure:
20+
21+
```md
22+
<!-- Version number as headline. Or simply "Future". -->
23+
# "x.y (future)" or "Future"
24+
25+
## Breaking changes
26+
<!-- Any changes to the public API that is not backwards compatible, changes in the output of either Deserialization or Serialization operations, changes in the default options and so on. -->
27+
28+
**Deserialization:**
29+
<!-- Breaking changes to deserialization. -->
30+
31+
**Serialization:**
32+
<!-- Breaking changes to serialization. -->
33+
34+
## Regular changes
35+
<!-- Added features, bugfixes and performance improvements. -->
36+
37+
**Deserialization:**
38+
<!-- Changes to deserialization. -->
39+
40+
**Serialization:**
41+
<!-- Changes to Serialization. -->
42+
```

0 commit comments

Comments
 (0)