mirror of
https://github.com/ilyakooo0/elm-bridge.git
synced 2024-10-03 16:57:10 +03:00
some meta fixes and version management
This commit is contained in:
parent
d0979deb8a
commit
3ed5752ab2
15
CHANGELOG.md
15
CHANGELOG.md
@ -1,3 +1,12 @@
|
||||
# v0.2.2
|
||||
|
||||
## New features
|
||||
* The Elm JSON encoders and decoders now match `aeson` more closely. In partlicular, single constructor sum types are now encoded without
|
||||
the constructor. Also, the `aeson` 0.11 option `unwrapUnaryRecords` is now supported.
|
||||
|
||||
## Bugfixes
|
||||
* Fixed Elm type error in encoders for types like `[Map String v]` (0.2.1.2).
|
||||
|
||||
# v0.2.1
|
||||
|
||||
## New features
|
||||
@ -5,12 +14,6 @@
|
||||
* The template Haskell derivation functions now take `aeson` `Option` type instead of a custom type.
|
||||
This change makes it easier to synchronize the Haskell and Elm code.
|
||||
* The generated Elm code can be personalized. Helpers functions assist in converting type names, and defining which type will be newtyped.
|
||||
* The Elm JSON encoders and decoders now match `aeson` more closely. In partlicular, single constructor sum types are now encoded without
|
||||
the constructor. Also, the `aeson` 0.11 option `unwrapUnaryRecords` is now supported.
|
||||
|
||||
## Bugfixes
|
||||
|
||||
* Fixed Elm type error in encoders for types like `[Map String v]` (0.2.1.2).
|
||||
|
||||
## Notes
|
||||
|
||||
|
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
||||
Copyright (c) 2015 Alexander Thiemann <mail@athiemann.net>
|
||||
Copyright (c) 2015 - 2016 Alexander Thiemann <mail@athiemann.net> and contributors
|
||||
|
||||
All rights reserved.
|
||||
|
||||
|
10
README.md
10
README.md
@ -72,5 +72,15 @@ For more usage examples check the tests or the examples dir.
|
||||
|
||||
## Install
|
||||
|
||||
### Haskell
|
||||
|
||||
* Using cabal: `cabal install elm-bridge`
|
||||
* From Source: `git clone https://github.com/agrafix/elm-bridge.git && cd elm-bridge && cabal install`
|
||||
|
||||
### Elm
|
||||
|
||||
* `elm package install bartavelle/json-helpers`
|
||||
|
||||
## Contribute
|
||||
|
||||
Pull requests are welcome! Please consider creating an issue beforehand, so we can discuss what you would like to do. Code should be written in a consistent style throughout the project. Avoid whitespace that is sensible to conflicts. (E.g. alignment of `=` signs in functions definitions) Note that by sending a pull request you agree that your contribution can be released under the BSD3 License as part of the `elm-bridge` package or related packages.
|
||||
|
@ -1,14 +1,14 @@
|
||||
name: elm-bridge
|
||||
version: 0.2.1.2
|
||||
version: 0.2.2
|
||||
synopsis: Derive Elm types from Haskell types
|
||||
description: Building the bridge from Haskell to Elm and back. Define types once,
|
||||
use on both sides and enjoy easy (de)serialisation. Cheers!
|
||||
homepage: http://github.com/agrafix/elm-bridge
|
||||
homepage: https://github.com/agrafix/elm-bridge
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Alexander Thiemann <mail@athiemann.net>, Simon Marechal <bartavelle@gmail.com>
|
||||
maintainer: Alexander Thiemann <mail@athiemann.net>
|
||||
copyright: (c) 2015 Alexander Thiemann
|
||||
copyright: (c) 2015 - 2016 Alexander Thiemann and contributors
|
||||
category: Web, Compiler, Language
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
|
Loading…
Reference in New Issue
Block a user