Skip to content

Commit 6c53c49

Browse files
authored
Release v0.14 (#399)
1 parent 62dfa12 commit 6c53c49

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

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+
336
## v0.13.0
437

538
### Enhancements

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The package can be installed by adding `:protobuf` to your list of dependencies
2222
```elixir
2323
def deps do
2424
[
25-
{:protobuf, "~> 0.13.0"}
25+
{:protobuf, "~> 0.14.0"}
2626
]
2727
end
2828
```

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule Protobuf.Mixfile do
22
use Mix.Project
33

44
@source_url "https://github.com/elixir-protobuf/protobuf"
5-
@version "0.13.0"
5+
@version "0.14.0"
66
@description "A pure Elixir implementation of Google Protobuf."
77

88
def project do

0 commit comments

Comments
 (0)