Skip to content

Commit cf655e5

Browse files
committed
Bump version to 5.0.1
1 parent c628c1c commit cf655e5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/polymorphic_embed.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ defmodule PolymorphicEmbed do
8383
def init(opts) do
8484
opts = Keyword.put_new(opts, :on_replace, nil)
8585
# opts = Keyword.put_new(opts, :type_field_name, :__type__)
86-
# TODO remove in v5
86+
# TODO remove in v6
8787
opts = Keyword.put_new(opts, :type_field_name, Keyword.get(opts, :type_field, :__type__))
8888
opts = Keyword.put_new(opts, :on_type_not_found, :changeset_error)
8989
opts = Keyword.put_new(opts, :nilify_unlisted_types_on_load, [])

lib/polymorphic_embed/options_validator.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ defmodule PolymorphicEmbed.OptionsValidator do
4747
end
4848
end
4949

50-
# TODO remove in v5
50+
# TODO remove in v6
5151
if Keyword.has_key?(options, :type_field) do
5252
Logger.warning(
5353
"`:type_field` option is deprecated and must be replaced with `:type_field_name`."

mix.exs

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

4-
@version "5.0.0"
4+
@version "5.0.1"
55

66
def project do
77
[

0 commit comments

Comments
 (0)