Releases: reasonml/reason-react
Releases · reasonml/reason-react
0.15.0
CHANGES:
- Add
isValidElement
(@r17x in
#837) - Add
startTransition
(@r17x in
#838) - Convert
ReasonReactErrorBoundary
to Reason instead of%raw
JS. This has
the benefit of skipping a hardcodedrequire('react')
call (@anmonteiro in
#839) - Add CSS Box Alignment Module Level 3 (@davesnx in
#847) - Fix: Remove "unique
key
prop" warnings from multi-child fragment elements
(@jchavarri in #852)
0.14.1
0.14.0
CHANGES:
- Wrap the
React
library, exposing just a single top-level module
(@anmonteiro in #783) - Re-organise toplevel modules (@davesnx in #794)
- Require and adapt to Melange v3 (@anmonteiro in #821)
0.13.0
CHANGES:
- Remove legacy
ReactDOMRe
andReasonReact
modules (@anmonteiro in
#782) - Fix
React.useCallback*
for callbacks with multiple arguments (@anmonteiro
in #786)
0.12.0 - reason-react-ppx is on opam (locations and new JSX)
Locations from domProps in action (Thanks @jchavarri)
new JSX transform (Thanks @anmonteiro)
![Screenshot 2023-09-13 at 16 11 17](https://private-user-images.githubusercontent.com/3763599/267682829-b7fec116-131a-48cd-8be1-1496544131d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3MzAyNzQsIm5iZiI6MTcyNTcyOTk3NCwicGF0aCI6Ii8zNzYzNTk5LzI2NzY4MjgyOS1iN2ZlYzExNi0xMzFhLTQ4Y2QtOGJlMS0xNDk2NTQ0MTMxZDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDdUMTcyNjE0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTJiZmM0MjgwYWY5OGQyODAxMmVhYWVmZWZkZDc5ZGE3OTdkZGNmYTc0OTA4MjFmOGZmNGI1ZjM5ZDZhYTFiMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.i-zftjB69eohPZgi3__irtTRm6vd-7GapmVTGxNm3Ek)
CHANGES:
- Migrate the reason-react PPX and library to the new React JSX
transform
(@anmonteiro in #714) - Add
suppressHydrationWarning
to supported props (@davesnx in
#721) - BREAKING: Rename
reactjs-jsx-ppx
toreason-react-ppx
(@davesnx in #732) - Fix locations for lower and uppercase components so that merlin / editor
integration can get type defs on hover (@jchavarri in #748) - Refine types for
key
attributes (@anmonteiro in #750) - BREAKING: Bump React depext to v17-18 #777 (@jchavarri in #777)
- BREAKING: Make optional props optional properly
(@davesnx in #776) - BREAKING: Remove ReactDOM.props (@davesnx in #764)
- FIX: Allow memoCustomCompareProps on ppx (@davesnx in #766)
0.11.0
CHANGES:
- Setup repo with Melange @davesnx in #711
Support as a dune library
v0.10.0 - Support for BuckleScript v9
v0.9.2
Changes on makeProps
- Add all aria attributes (#697) 63c69a7
- Update Drag.dataTransfer to Js.t (#701) a85c4eb
- Add drag event API binding (#641) 4129739
- Added
as
property to DOM props (#603) 5a4a87c
Infrastructure
- Migrate circleci to gh actions (#702) 994617d
- Add ocaml lsp editor (#699) 6306c20
- Solve merge conflicts on yarn.lock (#684) fc7f32f
Documentation
0.9.0
Breaking Changes
- Stops versioning
lib/js
@bloodyowl in #552 - Use simpler constructs for createRoot @bloodyowl in #546
Additions
- Adds
ReactErrorBoundary
@bloodyowl in 577 - Adds React StrictMode @relekang in #572
- Adds tests @bloodyowl in #575
- Adds
[@bs.uncurry]
touseReducerWithMapState
@johnridesabike in #570 - Moves reason-test-framework to
devDependency
@bloodyowl in #578 - Adds React.component as a new binding for making components @rickyvetter in #571
- Uses console.error for hydrate function @bloodyowl in #545
- Adds pointer events @nickretallack in #584
- ReactDOM simplification @bloodyowl in #547
- Adds uncurried hooks @johnridesabike in #551
Maintenance
- Adds
docs
to.npmignore
@peterpme in #583
Documentation
- Fixed typo in blog post @maxdeviant in #569
- Importing components with default props @johnridesabike in #573
- Adds binding to external context docs @alavkx in #495
- Adds Personas by Draftbit example @dylanirlbeck in #586