Skip to content

Commit

Permalink
v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
princemaple committed Dec 12, 2022
1 parent 75ddfec commit 7b0ca1e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.3.0

Add loading from `:libgraph` `Graph`.

## v0.2.0

Add interpolation support.
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The package can be installed by adding `dg` to your list of dependencies in `mix
```elixir
def deps do
[
{:dg, "~> 0.2"},
{:dg, "~> 0.3"},
...
]
end
Expand Down Expand Up @@ -120,3 +120,10 @@ graph LR
e.g. as a module attribute, it won't carry over to runtime.
Only use it in runtime code, e.g. function body,
and remember to clean up properly when it's no longer used, with `delete/1`.

### Load from `libgraph`

```elixir
dg = DG.new()
DG.from({:libgraph, graph})
```
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ defmodule DG.MixProject do
use Mix.Project

@source_url "https://github.com/princemaple/dg"
@version "0.2.0"
@version "0.3.0"

def project do
[
app: :dg,
version: @version,
elixir: "~> 1.10",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
Expand Down

0 comments on commit 7b0ca1e

Please sign in to comment.