Skip to content

Commit 2d345b3

Browse files
committed
[new release] graphql_parser, graphql, graphql-lwt, graphql-cohttp and graphql-async (0.14.0)
CHANGES: - Support `__typename` on subscriptions (andreas/ocaml-graphql-server#178) - Handle unknown fields for subscriptions (andreas/ocaml-graphql-server#178) - Add ocamlformat (andreas/ocaml-graphql-server#177) - Handle missing variables as null (andreas/ocaml-graphql-server#184) - Show default value in introspection query (andreas/ocaml-graphql-server#194) - Support block strings in the parser (andreas/ocaml-graphql-server#198) - Handle skip/include directives on fragment spreads (andreas/ocaml-graphql-server#200) - Improved handling of recursive arguments and objects (andreas/ocaml-graphql-server#199) - Fix websocket conflict (andreas/ocaml-graphql-server#206) - Update deprecated Fmt functions (andreas/ocaml-graphql-server#206) - Use Yojson `t` types instead of deprecated `json` type (andreas/ocaml-graphql-server#208) - Raise minimum `rresult` version (andreas/ocaml-graphql-server#209)
1 parent 4ba002a commit 2d345b3

File tree

5 files changed

+194
-0
lines changed
  • packages
    • graphql-async/graphql-async.0.14.0
    • graphql-cohttp/graphql-cohttp.0.14.0
    • graphql-lwt/graphql-lwt.0.14.0
    • graphql_parser/graphql_parser.0.14.0
    • graphql/graphql.0.14.0

5 files changed

+194
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
opam-version: "2.0"
2+
maintainer: "Andreas Garnaes <[email protected]>"
3+
authors: "Andreas Garnaes <[email protected]>"
4+
homepage: "https://github.com/andreas/ocaml-graphql-server"
5+
doc: "https://andreas.github.io/ocaml-graphql-server/"
6+
bug-reports: "https://github.com/andreas/ocaml-graphql-server/issues"
7+
dev-repo: "git+https://github.com/andreas/ocaml-graphql-server.git"
8+
9+
build: [
10+
["dune" "build" "-p" name "-j" jobs]
11+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
12+
]
13+
14+
depends: [
15+
"ocaml" {>= "4.03.0"}
16+
"dune" {>= "1.1"}
17+
"graphql" {>= "0.13.0"}
18+
"async_kernel" {>= "v0.9.0"}
19+
"alcotest" {with-test}
20+
"async_unix" {with-test & >= "v0.9.0"}
21+
"yojson" {with-test & >= "1.6.0"}
22+
]
23+
24+
synopsis: "Build GraphQL schemas with Async support"
25+
26+
description: """
27+
`graphql-async` adds support for Async to `graphql`, so you can use Async in your GraphQL schema resolver functions."""
28+
url {
29+
src:
30+
"https://github.com/andreas/ocaml-graphql-server/releases/download/0.14.0/graphql-0.14.0.tbz"
31+
checksum: [
32+
"sha256=bf8bf5b9e17e355ecbbd82158a769fe2b138e746753fd3a23008ada3afcd1c06"
33+
"sha512=1d303d9ab67faecea8081f007b3696e36033aa65eba0854f50067b4d667d9a9ad185ad949371790a03509cb31bf6356b75c58f3066da9c35d82e620df5780185"
34+
]
35+
}
36+
x-commit-hash: "79e01a09d08b0de3b3fff8195e19f7d8ab566498"
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
opam-version: "2.0"
2+
maintainer: "Andreas Garnaes <[email protected]>"
3+
authors: "Andreas Garnaes <[email protected]>"
4+
homepage: "https://github.com/andreas/ocaml-graphql-server"
5+
doc: "https://andreas.github.io/ocaml-graphql-server/"
6+
bug-reports: "https://github.com/andreas/ocaml-graphql-server/issues"
7+
dev-repo: "git+https://github.com/andreas/ocaml-graphql-server.git"
8+
9+
build: [
10+
["dune" "build" "-p" name "-j" jobs]
11+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
12+
]
13+
14+
depends: [
15+
"ocaml" {>= "4.03.0"}
16+
"dune" {>= "1.1"}
17+
"graphql" {>= "0.13.0"}
18+
"cohttp" {>= "2.0.0"}
19+
"crunch"
20+
"astring" {>= "0.8.3"}
21+
"base64" {>= "3.0.0"}
22+
"ocplib-endian" {>= "1.0"}
23+
"digestif" {>= "0.7.0"}
24+
"alcotest" {with-test}
25+
"cohttp-lwt-unix" {with-test}
26+
"graphql-lwt" {with-test}
27+
]
28+
29+
synopsis: "Run GraphQL servers with `cohttp`"
30+
31+
description: """
32+
This package allows you to execute Cohttp HTTP requests against GraphQL schemas build with `graphql`. The package is agnostic to Lwt/Async."""
33+
url {
34+
src:
35+
"https://github.com/andreas/ocaml-graphql-server/releases/download/0.14.0/graphql-0.14.0.tbz"
36+
checksum: [
37+
"sha256=bf8bf5b9e17e355ecbbd82158a769fe2b138e746753fd3a23008ada3afcd1c06"
38+
"sha512=1d303d9ab67faecea8081f007b3696e36033aa65eba0854f50067b4d667d9a9ad185ad949371790a03509cb31bf6356b75c58f3066da9c35d82e620df5780185"
39+
]
40+
}
41+
x-commit-hash: "79e01a09d08b0de3b3fff8195e19f7d8ab566498"
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
opam-version: "2.0"
2+
maintainer: "Andreas Garnaes <[email protected]>"
3+
authors: "Andreas Garnaes <[email protected]>"
4+
homepage: "https://github.com/andreas/ocaml-graphql-server"
5+
doc: "https://andreas.github.io/ocaml-graphql-server/"
6+
bug-reports: "https://github.com/andreas/ocaml-graphql-server/issues"
7+
dev-repo: "git+https://github.com/andreas/ocaml-graphql-server.git"
8+
9+
build: [
10+
["dune" "build" "-p" name "-j" jobs]
11+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
12+
]
13+
14+
depends: [
15+
"ocaml" {>= "4.03.0"}
16+
"dune" {>= "1.1"}
17+
"graphql" {>= "0.13.0"}
18+
"alcotest" {with-test}
19+
"yojson" {with-test & >= "1.6.0"}
20+
"lwt"
21+
]
22+
23+
synopsis: "Build GraphQL schemas with Lwt support"
24+
25+
description: """
26+
`graphql-lwt` adds support for Lwt to `graphql`, so you can use Lwt in your GraphQL schema resolver functions."""
27+
url {
28+
src:
29+
"https://github.com/andreas/ocaml-graphql-server/releases/download/0.14.0/graphql-0.14.0.tbz"
30+
checksum: [
31+
"sha256=bf8bf5b9e17e355ecbbd82158a769fe2b138e746753fd3a23008ada3afcd1c06"
32+
"sha512=1d303d9ab67faecea8081f007b3696e36033aa65eba0854f50067b4d667d9a9ad185ad949371790a03509cb31bf6356b75c58f3066da9c35d82e620df5780185"
33+
]
34+
}
35+
x-commit-hash: "79e01a09d08b0de3b3fff8195e19f7d8ab566498"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
maintainer: "Andreas Garnaes <[email protected]>"
3+
authors: "Andreas Garnaes <[email protected]>"
4+
homepage: "https://github.com/andreas/ocaml-graphql-server"
5+
doc: "https://andreas.github.io/ocaml-graphql-server/"
6+
bug-reports: "https://github.com/andreas/ocaml-graphql-server/issues"
7+
dev-repo: "git+https://github.com/andreas/ocaml-graphql-server.git"
8+
9+
build: [
10+
["dune" "build" "-p" name "-j" jobs]
11+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
12+
]
13+
14+
depends: [
15+
"ocaml" {>= "4.03.0"}
16+
"dune" {>= "1.1"}
17+
"graphql_parser" {>= "0.9.0"}
18+
"yojson" {>= "1.6.0"}
19+
"rresult" {>= "0.3.0"}
20+
"seq"
21+
"alcotest" {with-test}
22+
]
23+
24+
synopsis: "Build GraphQL schemas and execute queries against them"
25+
26+
description: """
27+
`graphql` is a package for creating GraphQL servers. Current feature set includes:
28+
29+
- Type-safe schema design
30+
- GraphQL parser in pure OCaml using [angstrom](https://github.com/inhabitedtype/angstrom) (April 2016 RFC draft)
31+
- Query execution
32+
- Introspection of schemas
33+
- Arguments for fields
34+
- Allows variables in queries
35+
- Subscriptions
36+
37+
Supporting packages:
38+
39+
- Use `graphql-lwt` for Lwt support.
40+
- Use `graphql-async` for Async support.
41+
- Use `graphql-cohttp` to run a GraphQL server with `cohttp`."""
42+
url {
43+
src:
44+
"https://github.com/andreas/ocaml-graphql-server/releases/download/0.14.0/graphql-0.14.0.tbz"
45+
checksum: [
46+
"sha256=bf8bf5b9e17e355ecbbd82158a769fe2b138e746753fd3a23008ada3afcd1c06"
47+
"sha512=1d303d9ab67faecea8081f007b3696e36033aa65eba0854f50067b4d667d9a9ad185ad949371790a03509cb31bf6356b75c58f3066da9c35d82e620df5780185"
48+
]
49+
}
50+
x-commit-hash: "79e01a09d08b0de3b3fff8195e19f7d8ab566498"
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
opam-version: "2.0"
2+
maintainer: "Andreas Garnaes <[email protected]>"
3+
authors: "Andreas Garnaes <[email protected]>"
4+
homepage: "https://github.com/andreas/ocaml-graphql-server"
5+
doc: "https://andreas.github.io/ocaml-graphql-server/"
6+
bug-reports: "https://github.com/andreas/ocaml-graphql-server/issues"
7+
dev-repo: "git+https://github.com/andreas/ocaml-graphql-server.git"
8+
9+
build: [
10+
["dune" "build" "-p" name "-j" jobs]
11+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
12+
]
13+
14+
depends: [
15+
"ocaml" {>= "4.03.0"}
16+
"dune" {>= "1.1"}
17+
"menhir" {build}
18+
"alcotest" {with-test & >= "0.8.1"}
19+
"fmt"
20+
"re" {>= "1.5.0"}
21+
]
22+
23+
synopsis: "Library for parsing GraphQL queries"
24+
url {
25+
src:
26+
"https://github.com/andreas/ocaml-graphql-server/releases/download/0.14.0/graphql-0.14.0.tbz"
27+
checksum: [
28+
"sha256=bf8bf5b9e17e355ecbbd82158a769fe2b138e746753fd3a23008ada3afcd1c06"
29+
"sha512=1d303d9ab67faecea8081f007b3696e36033aa65eba0854f50067b4d667d9a9ad185ad949371790a03509cb31bf6356b75c58f3066da9c35d82e620df5780185"
30+
]
31+
}
32+
x-commit-hash: "79e01a09d08b0de3b3fff8195e19f7d8ab566498"

0 commit comments

Comments
 (0)