Skip to content

Releases: rehypejs/rehype-react

8.0.0

01 Sep 10:49
93fac07
Compare
Choose a tag to compare

Change

  • 579589b Change to support preact, solid, svelte, vue, too
    migrate: change import {Fragment, createElement} from 'react' -> import * as production from 'react/jsx-runtime',
    then change .use(rehypeReact, {Fragment, createElement}) -> .use(rehypeReact, production),
    and change the option fixTableCellAlign -> tableCellAlignToStyle
  • 73c4fb0 Update @types/hast, unified, utilities, etc
    migrate: update too
  • f9c640b Change to require Node.js 16
    migrate: update too
  • fb00d7b Change to use exports
    migrate: don’t use private APIs

Full Changelog: 7.2.0...8.0.0

7.2.0

14 Apr 13:48
a0b094c
Compare
Choose a tag to compare

Full Changelog: 7.1.2...7.2.0

7.1.2

18 Jan 10:30
497de53
Compare
Choose a tag to compare

Fix

Misc

Full Changelog: 7.1.1...7.1.2

7.1.1

18 Apr 17:01
34d4364
Compare
Choose a tag to compare
  • 1695437 Fix to add back support for @types/react 17

Full Changelog: 7.1.0...7.1.1

7.1.0

13 Apr 08:09
13bc55b
Compare
Choose a tag to compare

Full Changelog: 7.0.4...7.1.0

7.0.4

06 Jan 15:15
41c4e83
Compare
Choose a tag to compare

Full Changelog: 7.0.3...7.0.4

7.0.3

05 Oct 14:00
f37d25d
Compare
Choose a tag to compare
  • Fix missing *.d.ts files

Full Changelog: 7.0.2...7.0.3

7.0.2

10 Sep 08:16
a6d2d5f
Compare
Choose a tag to compare

Full Changelog: 7.0.1...7.0.2

7.0.1

26 Aug 14:14
46d3fb4
Compare
Choose a tag to compare
  • dac20e2 Fix to correctly compile intrinsic types

7.0.0

02 Aug 16:42
97397e1
Compare
Choose a tag to compare
  • 864e455 Use ESM
    • Change:

      // From CommonJS
      var rehypeReact = require('rehype-react')
      
      // To ESM
      import rehypeReact from 'rehype-react'

      Learn more about ESM in this guide

  • 7b7f1b6 Add improved types
    (potentially breaking if you use TS, see commit for more info)