Skip to content

Commit dfc8269

Browse files
committed
[new release] server-reason-react (0.3.1)
CHANGES: ## 0.3.1 * Update quickjs dependency to 0.1.2 by @davesnx ## 0.3.0 * browser-ppx: process stritems by @jchavarri in ml-in-barcelona/server-reason-react#127 * Make React.Children.* APIs work as expected by @davesnx in ml-in-barcelona/server-reason-react#130 * Improve global crashes by @davesnx in ml-in-barcelona/server-reason-react#132 * Support assets in `mel.module` by @jchavarri in ml-in-barcelona/server-reason-react#134 * browser_only: don't convert to runtime errors on identifiers or function application by @jchavarri in ml-in-barcelona/server-reason-react#138 * Port `j` quoted strings interpolation from Melange by @jchavarri in ml-in-barcelona/server-reason-react#139 * mel.module: handle asset prefix by @jchavarri in ml-in-barcelona/server-reason-react#140 * Add browser_only transformation to useEffect automatically by @davesnx in ml-in-barcelona/server-reason-react#145 * Append doctype tag on html lowercase by @davesnx in ml-in-barcelona/server-reason-react#136 * Transform Pexp_function with browser_only by @davesnx in ml-in-barcelona/server-reason-react#146 ## 0.2.0 - Remove data-reactroot attr from ReactDOM.renderToString ml-in-barcelona/server-reason-react#129 by @pedrobslisboa - Make useUrl return the provided serverUrl ml-in-barcelona/server-reason-react#125 by @purefunctor - Replace Js.Re implemenation from `pcre` to quickjs b1a3e225cdad1298d705fbbd9618e15b0427ef0f by @davesnx - Remove Belt.Array.push ml-in-barcelona/server-reason-react#122 by @davesnx ## 0.1.0 Initial release of server-reason-react, includes: - Server-side rendering of ReasonReact components (renderToString, renderToStaticMarkup & renderToLwtStream) - `server-reason-react.browser_ppx` for skipping code from the server - `server-reason-react.melange_ppx` for enabling melange bindings and extensions which run on the server - `server-reason-react.belt` a native Belt implementation - `server-reason-react.js` a native Js implementation (unsafe and limited) - `server-reason-react.url` and `server-reason-react.url-native` a universal library with both implementations to work with URLs on the server and the client - `server-reason-react.promise` and `server-reason-react.promise-native` a universal library with both implementations to work with Promises on the server and the client. Based on https://github.com/aantron/promise - `server-reason-react.melange-fetch` a fork of melange-fetch which is a melange library to fetch data on the client via the Fetch API. This fork is to be able to compile it on the server (not running). - `server-reason-react.webapi` a fork of melange-webapi which is a melange library to work with the Web API on the client. This fork is to be able to compile it on the server (not running).
1 parent 7f20590 commit dfc8269

File tree

1 file changed

+57
-0
lines changed
  • packages/server-reason-react/server-reason-react.0.3.1

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
opam-version: "2.0"
2+
synopsis: "Rendering React components on the server natively"
3+
maintainer: ["David Sancho <[email protected]>"]
4+
authors: ["David Sancho <[email protected]>"]
5+
license: "MIT"
6+
homepage: "https://github.com/ml-in-barcelona/server-reason-react"
7+
bug-reports: "https://github.com/ml-in-barcelona/server-reason-react/issues"
8+
depends: [
9+
"dune" {>= "3.9"}
10+
"ocaml" {>= "5.0.0"}
11+
"reason" {>= "3.10.0"}
12+
"melange" {>= "3.0.0"}
13+
"ppxlib" {> "0.23.0"}
14+
"quickjs" {>= "0.1.2"}
15+
"promise" {>= "1.1.2"}
16+
"lwt" {>= "5.6.0"}
17+
"lwt_ppx" {>= "2.1.0"}
18+
"uri" {>= "4.2.0"}
19+
"integers"
20+
"alcotest" {with-test}
21+
"alcotest-lwt" {with-test}
22+
"fmt" {with-test}
23+
"merlin" {with-test}
24+
"odoc" {with-doc}
25+
"ocamlformat" {= "0.26.1" & with-test}
26+
"ocaml-lsp-server" {with-test}
27+
"tiny_httpd" {with-test}
28+
"melange-webapi" {with-test}
29+
"reason-react" {with-test}
30+
"melange-webapi" {with-test}
31+
"reason-react-ppx" {with-test}
32+
]
33+
dev-repo: "git+https://github.com/ml-in-barcelona/server-reason-react.git"
34+
# build command is custom to add "@new-doc"
35+
build: [
36+
["dune" "subst"] {dev}
37+
[
38+
"dune"
39+
"build"
40+
"-p"
41+
name
42+
"-j"
43+
jobs
44+
"@install"
45+
"@runtest" {with-test}
46+
"@new-doc" {with-doc}
47+
]
48+
]
49+
url {
50+
src:
51+
"https://github.com/ml-in-barcelona/server-reason-react/releases/download/0.3.1/server-reason-react-0.3.1.tbz"
52+
checksum: [
53+
"sha256=b97fbe6a7c3e5e1a7775e0f6498f257acaaa7e272177a9a3e0e50b7a49408d7c"
54+
"sha512=b27a94618c367c80efef83a41c2a59c9cc7848fd753049ed40fa1f2cface1ef34cf3a995835bf08e2eb59c3186911f429b4706ed07dcb9724df6af5eb012a31d"
55+
]
56+
}
57+
x-commit-hash: "ee0f34b7046c50d77b1464be390eb2895ab367fe"

0 commit comments

Comments
 (0)