Skip to content

Commit

Permalink
chore: release
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjbray committed Nov 6, 2019
1 parent 1f8f7ea commit 39e4be8
Show file tree
Hide file tree
Showing 13 changed files with 104 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 0.3.0 (2019-06-24)

* Add `uncons` primitive (#7, @mattjbray)
* Add `Decoders_sexplib` (#7, @mattjbray)
* Add `Decoders_cbor` (#9, @mattjbray)
* Add `Decoders_bencode` (#14, @c-cube)
* Remove `containers` dependency (#16, @c-cube)

## 0.2.0 (2019-06-24)

* Add `field_opt` decoder (#5, @actionshrimp)
Expand Down
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ISC
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ALL_TARGETS=decoders.install decoders-cbor.install decoders-ezjsonm.install decoders-sexplib.install decoders-yojson.install decoders-cbor.install decoders-bencode.install
ALL_TARGETS=decoders.install decoders-bencode.install decoders-cbor.install decoders-ezjsonm.install decoders-sexplib.install decoders-yojson.install

.PHONY: build
build:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,6 @@ After updating CHANGES.md:
```
npm version <newversion>
git push --tags
dune-release -p decoders,decoders-ezjsonm,decoders-yojson
dune-release -p decoders,decoders-bencode,decoders-cbor,decoders-ezjsonm,decoders-sexplib,decoders-yojson
npm publish
```
13 changes: 13 additions & 0 deletions decoders-bencode.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ opam-version: "2.0"
maintainer: "Matt Bray <[email protected]>"
authors: ["Simon Cruanes"]
synopsis: "Bencode interface for decoders"
description: """
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`.

> Eh?

An Ocaml program having a JSON (or YAML) data source usually goes something like this:

1. Get your data from somewhere. Now you have a `string`.
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`.
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain.

This library helps with step 3.
"""
homepage: "https://github.com/mattjbray/ocaml-decoders"
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-bencode"
bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues"
Expand Down
13 changes: 13 additions & 0 deletions decoders-cbor.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ opam-version: "2.0"
maintainer: "Matt Bray <[email protected]>"
authors: ["Matt Bray <[email protected]>"]
synopsis: "CBOR interface for decoders"
description: """
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`.

> Eh?

An Ocaml program having a JSON (or YAML) data source usually goes something like this:

1. Get your data from somewhere. Now you have a `string`.
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`.
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain.

This library helps with step 3.
"""
homepage: "https://github.com/mattjbray/ocaml-decoders"
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-cbor"
bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues"
Expand Down
13 changes: 13 additions & 0 deletions decoders-ezjsonm.opam
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@ maintainer: "Matt Bray <[email protected]>"
authors: ["Matt Bray <[email protected]>"]
homepage: "https://github.com/mattjbray/ocaml-decoders"
synopsis: "Interface to ezjsonm for decoders"
description: """
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`.

> Eh?

An Ocaml program having a JSON (or YAML) data source usually goes something like this:

1. Get your data from somewhere. Now you have a `string`.
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`.
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain.

This library helps with step 3.
"""
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-ezjsonm"
bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues"
license: "ISC"
Expand Down
13 changes: 13 additions & 0 deletions decoders-ocyaml.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
opam-version: "2.0"
maintainer: "Matt Bray <[email protected]>"
synopsis: "YAML interface for ocaml-decoders"
description: """
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`.

> Eh?

An Ocaml program having a JSON (or YAML) data source usually goes something like this:

1. Get your data from somewhere. Now you have a `string`.
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`.
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain.

This library helps with step 3.
"""
authors: ["Matt Bray <[email protected]>"]
homepage: "https://github.com/mattjbray/ocaml-decoders"
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-ocyaml"
Expand Down
13 changes: 13 additions & 0 deletions decoders-sexplib.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ opam-version: "2.0"
maintainer: "Matt Bray <[email protected]>"
authors: ["Matt Bray <[email protected]>"]
synopsis: "Sexplib interface for decoders"
description: """
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`.

> Eh?

An Ocaml program having a JSON (or YAML) data source usually goes something like this:

1. Get your data from somewhere. Now you have a `string`.
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`.
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain.

This library helps with step 3.
"""
homepage: "https://github.com/mattjbray/ocaml-decoders"
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-sexplib"
bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues"
Expand Down
13 changes: 13 additions & 0 deletions decoders-yojson.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ opam-version: "2.0"
maintainer: "Matt Bray <[email protected]>"
authors: ["Matt Bray <[email protected]>"]
synopsis: "Interface to yojson for decoders"
description: """
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`.

> Eh?

An Ocaml program having a JSON (or YAML) data source usually goes something like this:

1. Get your data from somewhere. Now you have a `string`.
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`.
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain.

This library helps with step 3.
"""
homepage: "https://github.com/mattjbray/ocaml-decoders"
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-yojson"
bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues"
Expand Down
13 changes: 13 additions & 0 deletions decoders.opam
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
opam-version: "2.0"
synopsis: "Elm-inspired decoders for Ocaml"
description: """
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`.

> Eh?

An Ocaml program having a JSON (or YAML) data source usually goes something like this:

1. Get your data from somewhere. Now you have a `string`.
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`.
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain.

This library helps with step 3.
"""
maintainer: "Matt Bray <[email protected]>"
authors: ["Matt Bray <[email protected]>"]
homepage: "https://github.com/mattjbray/ocaml-decoders"
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bs-decoders",
"version": "0.2.0",
"version": "0.3.0",
"description": "",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit 39e4be8

Please sign in to comment.