From 35eb9804accc0da8fe74f40963ad773a0205e1f8 Mon Sep 17 00:00:00 2001 From: Simon Marechal Date: Mon, 21 Oct 2019 18:31:19 +0200 Subject: [PATCH] v0.6.0 --- CHANGELOG.md | 4 ++++ README.md | 2 +- elm-bridge.cabal | 2 +- test/Elm/ModuleSpec.hs | 6 +++--- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 349f828..aa7cd75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v0.6.0 + + * Support for Elm 0.19 + # v0.5.2 * Fix a bug about tuples. diff --git a/README.md b/README.md index e4a0021..f5dfdfa 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Hackage: [elm-bridge](http://hackage.haskell.org/package/elm-bridge) Building the bridge from [Haskell](http://haskell.org) to [Elm](http://elm-lang.org) and back. Define types once, use on both sides and enjoy easy (de)serialisation. Cheers! -This version of the package only supports Elm 0.18. Version 0.3.0.2 supports Elm 0.16 and Elm 0.17. +This version of the package only supports Elm 0.19. Version 0.5.2 supports Elm 0.18, and Version 0.3.0.2 supports Elm 0.16 and Elm 0.17. Note that the [bartavelle/json-helpers](http://package.elm-lang.org/packages/bartavelle/json-helpers/latest/) package, with version >= 1.2.0, is expected by the generated Elm modules. diff --git a/elm-bridge.cabal b/elm-bridge.cabal index f094d22..e29d690 100644 --- a/elm-bridge.cabal +++ b/elm-bridge.cabal @@ -1,5 +1,5 @@ name: elm-bridge -version: 0.5.2 +version: 0.6.0 synopsis: Derive Elm types and Json code from Haskell types, using aeson's options description: Building the bridge from Haskell to Elm and back. Define types once, and derive the aeson and elm functions at the same time, using any aeson diff --git a/test/Elm/ModuleSpec.hs b/test/Elm/ModuleSpec.hs index 8821f83..b03c256 100644 --- a/test/Elm/ModuleSpec.hs +++ b/test/Elm/ModuleSpec.hs @@ -105,7 +105,7 @@ moduleCode' elmVersion = unlines spec :: Spec spec = do makeElmModuleSpec - version0p18Spec + version0p19Spec makeElmModuleSpec :: Spec makeElmModuleSpec = @@ -116,8 +116,8 @@ makeElmModuleSpec = modu `shouldBe` moduleCode Elm0p19 modu' `shouldBe` moduleCode' Elm0p19 -version0p18Spec :: Spec -version0p18Spec = +version0p19Spec :: Spec +version0p19Spec = describe "makeElmModuleWithVersion Elm0p19" $ it "should produce the correct code" $ do let modu = makeElmModuleWithVersion Elm0p19 "Foo" [DefineElm (Proxy :: Proxy (Bar a))]