aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
blob: 54ffb7e5eef460ef8cd04f097d1011e21c90fafd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# UNRELEASED

- Upgrade magnolia to official upstream, 0.10.0.

# Version 0.6.0

- Value classes are handled transparently. I.e. their values are
  encoded directly, without being wrapped in a JSON object.

- Rename default type field from 'type' to @type'. This makes name
  clashes less likely.

# Version 0.5.0

- None values are no longer written to objects by default. This is
  configurable by overriding `printNull` in DerivedFormats.

- Change references of GADTs to ADTs

# Version 0.4.7

 Upgrade Magnolia from 0.7.1-1 to 0.8.0-1.

# Version 0.4.6

- Fix a bug in the derivation macro that prevented deriving formats for
  parameterized types. I.e. it is now possible to derive the following:
  ```
  class A[B](b: B)
  implicit def fmt[B: JsonFormat] = jsonFormat[A]
  ```

- Formatting and documentation tweaks

# Version 0.4.5

Fixes an issue in when serializing field names with an alternate case.

# Version 0.4.4

- Add utility mixins to change serialization of fieldnames, such as
  snake_case and kebab-case.

# Version 0.4.3

- Allow overriding of how field names are extracted from case class
  parameter names. This enables alternative naming conventions such as
  snake_case without having to change the name of parameters in the
  Scala representation.

- Deserialize `Option[_]` fields to `None` in case they are not
  present in JSON form. This was previously not handled correctly and
  caused deserialization errors.

# Version 0.4.2

Build and publish for ScalaJS and Scala Native. This release adds a
dependency on a binary compatible fork of spray-json.

# Version 0.4.1

Add MiMa plugin to check binary backwards compatibility.

# Version 0.4.0

Same as version 0.3.1; the package rename should have warranted a
major version bump.

# Version 0.3.1

- Rename packages to "spray.json" for seamless integration with
  spray-json.
- Add companion object back to `DerivedFormats`.

# Version 0.3.0

Don't make derived formats implicitly available by default. This
copies functionality from `DerivedFormats` to `ImplicitDerivedFormats`
and removes the implicit qualifier from `DerivedFormats` generation.

# Version 0.2.2

Fix Scaladoc markup for warning-free builds.

# Version 0.2.1

Build for Scala 2.11 as well as 2.12.

# Version 0.2.0

Generate RootJsonFormats instead of JsonFormats.

# Version 0.1.1

Fix publish process through Travis CI.

# Version 0.1

Initial release.