Skip to content

Releases: FormidableLabs/react-live

v3.1.1

30 May 21:25
Compare
Choose a tag to compare
v3.1.1 Pre-release
Pre-release

🐛 Bugfixes 🐛

  • add spellCheck=false to stop Editor underlining code by @jpdriver in #316

Full Changelog: v3.1.0...v3.1.1

This pre-release is currently available on NPM via yarn add react-live@next

v3.1.0

06 Apr 18:03
bfd0cdd
Compare
Choose a tag to compare
v3.1.0 Pre-release
Pre-release

✨ Features ✨

🐛 Bugfixes 🐛

introduced in v3.0.0

🔐 Security 🔐

Full Changelog: v3.0.0...v3.1.0

v3.0.0

03 Feb 20:27
Compare
Choose a tag to compare
v3.0.0 Pre-release
Pre-release

This release contains significant internal changes.

Prior to v3.0.0, earlier versions of the library used different internals. We recommend using the latest version you can.

Version Supported React version Editor Transpiler
v3.x.x v17.x.x use-editable Sucrase
v2.x.x v16.x.x react-simple-code-editor Bublé

Additionally, several members of the community reported an issue introduced in 2.3.0 which threw the following Invariant error:

Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.

This appears to have been cause by differing React versions between React Live and projects targeting React 17.

Upgrading to this new release should address that issue.


🚨 Breaking 🚨

  • swap Buble for Sucrase by @jpdriver in #295
    • this removes the transpileOptions prop as Sucrase does not require additional options

✨ Features ✨

🐛 Bugfixes 🐛

introduced in v2.4.1 or earlier

  • fix updating code prop for Editor component by @andgra in #271

introduced in RC releases for v3.0.0

🔐 Security 🔐

📖 Documentation 📖

👩🏻‍💻New Contributors 👨🏿‍💻

Full Changelog: v2.4.1...v3.0.0

v3.0.0-rc1

25 Jan 01:07
Compare
Choose a tag to compare
v3.0.0-rc1 Pre-release
Pre-release
v3.0.0-rc1

v3.0.0-rc0

22 Jan 02:03
Compare
Choose a tag to compare
v3.0.0-rc0 Pre-release
Pre-release
v3.0.0-rc0

v2.4.1

18 Jan 02:47
Compare
Choose a tag to compare

🐛 Bugfixes 🐛

v2.4.0

05 Aug 22:38
Compare
Choose a tag to compare

This release is intended to upgrade some of the core dependencies ahead of more significant changes coming in the next major release.

✨ Features ✨

  • upgrade Babel, Rollup, Storybook #268

🔐 Security 🔐

v2.3.0

28 Jun 16:52
Compare
Choose a tag to compare

✨ Features ✨

  • add transpileOptions prop to LiveProvider #260
  • migrate other Live components to fn components #264
    • Editor is now a functional component

⚠️ Please note -- if you have implemented a custom editor that extended the previous class implementation of Editor, this will no longer work.

Please see the Custom Editor story for an example of how to implement a custom editor without extending the built-in one.

🐛 Bugfixes 🐛

  • Move LiveProvider to hooks #226
    • fixes warnings about unsafe lifecycle methods (componentDidMount)
  • remove onChange prop again before spreading to react-simple-code-editor #262
  • fixup lint errors #263

🔐 Security 🔐

  • update dependencies #259
    • core-js bumped from ^2.4.1 to ^3.14.0

📖 Documentation 📖

  • update demo site #257

h/t to @tomByrer, @bkonkle, @maksnester

v2.2.3

06 Nov 13:06
Compare
Choose a tag to compare

🐛 Bugfixes 🐛

  • Remove create-react-context #225

⚠️ Please note -- this change officially breaks support for React 15. I decided against a major release since React 15 support has been unofficially broken since 2.0.0

📖 Documentation 📖

  • modernise demo site #223

v2.2.2

02 Dec 10:36
Compare
Choose a tag to compare
  • Merge pull request #172 from ZhenHe17/fix/demo-start-scripts 6bc5776
  • fix: demo start scripts 616649a
  • chore: update 'prism-react-renderer' & 'unescape' 041794d
  • Add LiveContext typings de588f0

v2.2.1...v2.2.2