Skip to main content

Changelog

Tags:

  • 💥 - Breaking Change
  • 🚀 - New Feature
  • 🐛 - Bug Fix
  • 📝 - Documentation
  • 🏠 - Internal
  • 💅 - Polish

(Tags are copied from babel)

3.0.2

  • 🐛 Fixed the binding generator's handling of int enums.

3.0.1

  • 🏠 Fixed outdated peer dependencies.

3.0.0

  • 💥 Converted the main entry point MaterialUi to the Mui namespace.
  • 💥 Added Any module as a replacement for MaterialUi.Types and MaterialUi.any.
  • 💥 Use stricter React.element type for children.
  • 💥 Simplified ThemeProvider and removed MuiThemeProvider.
  • 💥 createTheme replaces createMuiTheme.
  • 💥 Removed WithStyles HOC and added a simple useStyles binding instead.
  • 🚀 Added some custom props for Button, ButtonBase, FormControlLabel, OutlinedInput, Radio, Switch, TableRow, TextField.
  • 🚀 Updated to material-ui 4.12.3 and material-ui-lab 4.0.0-alpha.60.
  • 📝 Updated all Documentation to current changes.
  • 📝 Added a migration guide for the transition to this version.
  • 📝 Added a bunch of examples.
  • 📝 ReScript syntax highlighting.
  • 🏠 Made most bindings zero cost
  • 🏠 Restructured the monorepo.
  • 💅 Finished Reason -> ReScript transition.

2.1.2

  • 💥 Republished 2.1.0 with the new package name rescript-material-ui.

2.1.0

This is the last version with the old package name @jsiebern/bs-material-ui.

  • 🚀 Updated to MaterialUi v4.11.4
  • 🚀 Added StylesProvider
  • 💥 Switched to the new @rescript/react package (keep on 2.0.0 if you need legacy support)

2.0.0

  • 💥 Deprecated the pre v2 bindings for the zero cost version (pre v2 is no longer supported)
  • 🚀 Updated to MaterialUi v4.11.0
  • 🚀 Added a documentation page

1.2.0

  • 🚀 Updated to MaterialUi v4.8.1
  • 🚀 Hooks are now on the master branch / main npm package

1.1.0

  • 🚀 Updated to MaterialUi v3.9.2
  • 🏠 Moved all related repos into this one
  • 💥 Removed the icons from this repo, see the README for more information

1.0.0

  • 🚀 Bump to version 1.0.0 of the bindings (Because I think that the general way of the bindings won't change much from now on)
  • 🚀 Updated to MaterialUi v3.8.1
  • 🚀 Added bindings to @material-ui/icons (needs to be installed separately) WARNING: Currently broken (includes the whole icons package, fix coming down the road)
  • 🚀 Added properly typed theme (see examples!)
  • 🚀 Added theme => ReactDOMRe.Style.t functionality for the ppx
  • 🏠 Moved the withStyles PPX into it's own repository (https://github.com/jsiebern/reason-mui-withstyles-ppx)
  • 💥 Removed the render prop from the safe styles component (generated by the ppx), it has to be used as a HOC now (please see the updated examples)

0.4.3

  • 🚀 Updated to MaterialUi v3.2.2
  • 🚀 Added xsAuto ,smAuto ,mdAuto ,lgAuto ,xlAuto properties to the Grid component (will override their respective set properties if defined)
  • 🚀 mui.withStyles generated components now accept a single child OR a render prop (no ... array spread when using as a HOC)
  • 🏠 Added an example page: Clone the project, yarn install, then yarn examples to start the dev server

0.4.2

  • 🚀 Updated to MaterialUi v3.2.0

0.4.1

  • 🚀 Updated to MaterialUi v3.1.1
  • 🐛 Brought back the Popper component
  • 🐛 Fixed WithStyles component crashing when themed argument is not passed
  • 🏠 Switched binding style to support both es6 and commonjs

0.4.0

  • 🚀 Updated to MaterialUI v1.5.1
  • 💥 Updated to ReasonReact v5 (using ReactEvent instead of ReactEventRe)

0.3.3

  • 🚀 Updated to MaterialUI v1.4.1
  • 🐛 Grid component sizes were converted to strings

0.3.2

  • 🚀 Added ppx_withStyles for linux and mac
  • 🚀 Updated to MaterialUI v1.3.1
  • 🚀 Added a postinstall hook for a platform dependant install of the ppx_withStyles
  • 💥 Updated to Bucklescript v4.0.0 (abstract shapes field access switched from key to keyGet)

0.3.1

  • 🚀 Updated to MaterialUI v1.2.2

0.3.0

  • 🚀 Updated to MaterialUI v1.1.0
  • 💥 Switched to [bs.deriving abstract] to work with object shapes (see component Popover as an example)
  • 💥 Switched to trailing underscores for reserved names as per reason-react v0.4.2 practice

0.2.0

  • 🐛 Fixed the Grid component so it requires numbers instead of strings

0.1.9

  • 🚀 Most of the onChange handlers should be accurate now
  • 🏠 The modules are now split into several files (reduces resulting bundle size)
  • 📝 Added a changelog file