Releases: geolessel/react-phoenix
v1.3.1
Changed
- Security: bumped several versions of dependencies
Included PRs
- Bump lodash from 4.17.19 to 4.17.21 by @dependabot in #55
- Bump browserslist from 4.8.4 to 4.16.6 by @dependabot in #56
- Bump path-parse from 1.0.6 to 1.0.7 by @dependabot in #57
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #63
- chore: upgrade outdated dev dependencies in yarn by @geolessel in #64
- chore: prepare for 1.3.1 release by @geolessel in #65
Full Changelog: v1.3.0...v1.3.1
v1.3.0
Changed
- Support
phoenix_html
3.0 - Better documentation for
yarn
users
PR's included
- Bump minimist from 0.0.8 to 1.2.5 by @dependabot in #49
- Add docs to solve yarn issue by @haydenrou in #52
- Bump lodash from 4.17.15 to 4.17.19 by @dependabot in #51
- Support phoenix_html 3.0 by @mfilej in #58
- chore: prepare for v1.3.0 release by @geolessel in #62
New Contributors
- @haydenrou made their first contribution in #52
- @mfilej made their first contribution in #58
Full Changelog: v1.2.0...v1.3.0
v1.2.0
v1.1.0
v1.1.0
Added
-
react_component/3
acceptshtml_element
By default, react_component renders the react component inside a div container. If you pass a value for
html_element
as an option toreact_component/3
, it will render the component inside the specified HTML element. For example, to render the component in a span instead of a div, you can runreact_component("MyComponent", %{}, html_element: "span")
-
react_component/3
passes all other options to the HTML elementAnything else passed into
react_component/3
will be passed through directly to the component's HTML output. This could be a class name, styles, or anything else.react_component("MyComponent", %{aProp: "hello"}, style: "border-bottom: 1px solid #888")
v1.0.1
v1.0.0
v0.6.0
v0.5.2
v0.5.1
v0.5.0
BREAKING CHANGE!
This release removes all code that was available to support server-side rendering. It was causing more trouble than it was worth in the end. More experiments on my end will continue but for a public release, it needed to be gone.
More info can be seen in this thread in Issue #10 (#10 (comment)).