From 7b0ca1e04e6bc1c2a6d93ea48ef4f382331e7fbd Mon Sep 17 00:00:00 2001 From: Po Chen Date: Tue, 13 Dec 2022 08:43:46 +1100 Subject: [PATCH] v0.3.0 --- CHANGELOG.md | 4 ++++ README.md | 9 ++++++++- mix.exs | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b50d25..0699312 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.3.0 + +Add loading from `:libgraph` `Graph`. + ## v0.2.0 Add interpolation support. diff --git a/README.md b/README.md index bbbe5f9..f7997ba 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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}) +``` diff --git a/mix.exs b/mix.exs index 2146fd3..65f74d5 100644 --- a/mix.exs +++ b/mix.exs @@ -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(),