File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## v0.14.0
4
+
5
+ ### Enhancements
6
+
7
+ * Include ` Google ` modules in this package, removing the need for
8
+ ` :google_protos ` .
9
+ * Include comments from the Protobuf definitions in the generated module docs
10
+ when generating with the ` include_docs=true ` option.
11
+ * Add native ` JSON ` support for Elixir 1.18+.
12
+ * Add ` Protobuf.JSON.encode_to_iodata/1 ` .
13
+ * Add the ` Protobuf.TransformModule.typespec/1 ` macro. It allows transform modules to transform typespecs for the message.
14
+ * Add the ` Protobuf.unknown_fields() ` type.
15
+ * Keep same alphabetical order in options for ` use Protobuf ` in generated code.
16
+
17
+ ### Bug fixes
18
+
19
+ * Fix ` Protobuf.EncodeError ` exception including unrelated fields in the message.
20
+ * Fix ` Protobuf.Encoder.encode_to_iodata/1 ` not applying transformation on
21
+ outer struct before encoding it.
22
+ * Support decoding integer as floats in JSON.
23
+ * Support decoding scientific notation integers in JSON (conformance).
24
+ * Accept nulls for repeated and maps in JSON (conformance).
25
+ * Fix handling of defaults in map decoding (conformance).
26
+ * Ensure there's a newline in the end of generated files.
27
+
28
+ ### Breaking changes
29
+
30
+ * Inclusion of Google modules in this package ** requires** the removal of the
31
+ ` :google_protos ` dependency.
32
+ * Protobuf struct modules now depend on their transform modules. This can
33
+ cause circular dependencies if the transform module has a dependency in the
34
+ other direction.
35
+
3
36
## v0.13.0
4
37
5
38
### Enhancements
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ The package can be installed by adding `:protobuf` to your list of dependencies
22
22
``` elixir
23
23
def deps do
24
24
[
25
- {:protobuf , " ~> 0.13 .0" }
25
+ {:protobuf , " ~> 0.14 .0" }
26
26
]
27
27
end
28
28
```
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ defmodule Protobuf.Mixfile do
2
2
use Mix.Project
3
3
4
4
@ source_url "https://github.com/elixir-protobuf/protobuf"
5
- @ version "0.13 .0"
5
+ @ version "0.14 .0"
6
6
@ description "A pure Elixir implementation of Google Protobuf."
7
7
8
8
def project do
You can’t perform that action at this time.
0 commit comments