Skip to content

Commit

Permalink
Bump version to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuprog committed Aug 25, 2022
1 parent fd65369 commit a610c4a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 3.0.x

* Default value for polymorphic list of embeds is `[]` instead of `nil` (following `embeds_many/3`)

### Migration from 2.x to 3.x

* Use `polymorphic_embeds_one/2` and `polymorphic_embeds_many/2` macros instead of `field/3`

## 2.0.x

* Support IDs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ Add `polymorphic_embed` for Elixir as a dependency in your `mix.exs` file:
```elixir
def deps do
[
{:polymorphic_embed, "~> 2.0.1"}
{:polymorphic_embed, "~> 3.0.0"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule PolymorphicEmbed.MixProject do
use Mix.Project

@version "2.0.1"
@version "3.0.0"

def project do
[
Expand Down

0 comments on commit a610c4a

Please sign in to comment.