Skip to content

Commit

Permalink
[new release] server-reason-react (0.3.1)
Browse files Browse the repository at this point in the history
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).
davesnx committed Jul 23, 2024
1 parent 7f20590 commit dfc8269
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions packages/server-reason-react/server-reason-react.0.3.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
opam-version: "2.0"
synopsis: "Rendering React components on the server natively"
maintainer: ["David Sancho <[email protected]>"]
authors: ["David Sancho <[email protected]>"]
license: "MIT"
homepage: "https://github.com/ml-in-barcelona/server-reason-react"
bug-reports: "https://github.com/ml-in-barcelona/server-reason-react/issues"
depends: [
"dune" {>= "3.9"}
"ocaml" {>= "5.0.0"}
"reason" {>= "3.10.0"}
"melange" {>= "3.0.0"}
"ppxlib" {> "0.23.0"}
"quickjs" {>= "0.1.2"}
"promise" {>= "1.1.2"}
"lwt" {>= "5.6.0"}
"lwt_ppx" {>= "2.1.0"}
"uri" {>= "4.2.0"}
"integers"
"alcotest" {with-test}
"alcotest-lwt" {with-test}
"fmt" {with-test}
"merlin" {with-test}
"odoc" {with-doc}
"ocamlformat" {= "0.26.1" & with-test}
"ocaml-lsp-server" {with-test}
"tiny_httpd" {with-test}
"melange-webapi" {with-test}
"reason-react" {with-test}
"melange-webapi" {with-test}
"reason-react-ppx" {with-test}
]
dev-repo: "git+https://github.com/ml-in-barcelona/server-reason-react.git"
# build command is custom to add "@new-doc"
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@new-doc" {with-doc}
]
]
url {
src:
"https://github.com/ml-in-barcelona/server-reason-react/releases/download/0.3.1/server-reason-react-0.3.1.tbz"
checksum: [
"sha256=b97fbe6a7c3e5e1a7775e0f6498f257acaaa7e272177a9a3e0e50b7a49408d7c"
"sha512=b27a94618c367c80efef83a41c2a59c9cc7848fd753049ed40fa1f2cface1ef34cf3a995835bf08e2eb59c3186911f429b4706ed07dcb9724df6af5eb012a31d"
]
}
x-commit-hash: "ee0f34b7046c50d77b1464be390eb2895ab367fe"

0 comments on commit dfc8269

Please sign in to comment.