Skip to content

Releases: kentcdodds/mdx-bundler

v9.0.0

01 Apr 17:33
8a4e6a6

Choose a tag to compare

9.0.0 (2022-04-01)

Features

BREAKING CHANGES

  • We now use @mdx-js/esbuild instead of xdm and xdmOptions has been renamed to mdxOptions

Co-authored-by: Kent C. Dodds [email protected]

v8.1.0

01 Apr 17:26
61c1a34

Choose a tag to compare

8.1.0 (2022-04-01)

Features

v8.0.1

18 Dec 00:15
9bf5715

Choose a tag to compare

8.0.1 (2021-12-18)

Bug Fixes

  • add esbuild 0.14.x to peerDependencies range (#130) (9bf5715)

v8.0.0

18 Nov 03:58
6a8b3a7

Choose a tag to compare

8.0.0 (2021-11-18)

Features

BREAKING CHANGES

  • The first argument to bundleMDX has been removed in favor of a source and file option.
const mdxSource = `
---
title: foo
---

Some content
`

// old
bundleMDX(mdxSource, {
  // some options
})

// new
bundleMDX({
  source: mdxSource,
  // some options
})

const filePath = path.join(process.cwd(), 'sample.mdx')

//old
bundleMDXFile(fiilePath, {
  // some options
})

// new
bundleMDX({
  file: filePath,
  // some options
})

v7.0.0

05 Nov 14:54
d089bab

Choose a tag to compare

7.0.0 (2021-11-05)

Features

BREAKING CHANGES

  • This updates xdm to the latest version (which is a major version bump). No breaking changes are expected, but we're being cautious.

v6.0.3

05 Nov 00:17
2a4347e

Choose a tag to compare

6.0.3 (2021-11-05)

Bug Fixes

v6.0.2

01 Oct 04:44
1a8fcd8

Choose a tag to compare

6.0.2 (2021-10-01)

Bug Fixes

  • allow esbuild 0.13.x & bump other deps (#102) (428647e)

v6.0.1

13 Aug 17:17

Choose a tag to compare

6.0.1 (2021-08-13)

Bug Fixes

  • remark-frontmatter is esm (f6bebc9)

v6.0.0

13 Aug 13:25
325f598

Choose a tag to compare

6.0.0 (2021-08-13)

Features

  • add bundleMDXFile to make working with on-disk content easier. (#83) (325f598), closes #79

BREAKING CHANGES

  • Update to xdm@2. This version should be safe to upgrade to without any changes, but it's possible there will be some breaking changes in some transitive dependencies that could affect you.

v5.2.1

30 Jul 21:06
c56b34d

Choose a tag to compare

5.2.1 (2021-07-30)

Bug Fixes