Skip to content

Releases

8.0.0

Choose a tag to compare

@wooorm wooorm released this 01 Sep 10:49
93fac07

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

Choose a tag to compare

@wooorm wooorm released this 14 Apr 13:48
a0b094c

Full Changelog: 7.1.2...7.2.0

7.1.2

Choose a tag to compare

@wooorm wooorm released this 18 Jan 10:30
497de53

Fix

Misc

Full Changelog: 7.1.1...7.1.2

7.1.1

Choose a tag to compare

@wooorm wooorm released this 18 Apr 17:01
34d4364
  • 1695437 Fix to add back support for @types/react 17

Full Changelog: 7.1.0...7.1.1

7.1.0

Choose a tag to compare

@wooorm wooorm released this 13 Apr 08:09
13bc55b

Full Changelog: 7.0.4...7.1.0

7.0.4

Choose a tag to compare

@wooorm wooorm released this 06 Jan 15:15
41c4e83

Full Changelog: 7.0.3...7.0.4

7.0.3

Choose a tag to compare

@wooorm wooorm released this 05 Oct 14:00
f37d25d
  • Fix missing *.d.ts files

Full Changelog: 7.0.2...7.0.3

7.0.2

Choose a tag to compare

@wooorm wooorm released this 10 Sep 08:16
a6d2d5f

Full Changelog: 7.0.1...7.0.2

7.0.1

Choose a tag to compare

@wooorm wooorm released this 26 Aug 14:14
46d3fb4
  • dac20e2 Fix to correctly compile intrinsic types

7.0.0

Choose a tag to compare

@wooorm wooorm released this 02 Aug 16:42
97397e1
  • 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)