Skip to content

Releases: hashicorp/next-mdx-remote

0.5.1

16 Jul 21:44
eb7a44a
Compare
Choose a tag to compare

Bugfix - the bug was caused by not passing in a scope object to renderToString, which would produce an error. Scope is optional and this should not have been the case.

Commit Log

  • Fix bug with undefined scope variable: 2324dc6

0.5.0

09 Jul 22:23
4828f4e
Compare
Choose a tag to compare

This release adds a couple wonderful new features:

  • Custom data can now be passed into your mdx templates via the scope argument to renderToString
  • Standard html/markdown elements can now be customized via the components argument
  • This library now works in browsers that don't support requestIdleCallback life Safari

Minor Changes

  • Allow the customization of standard markdown elements: #11
  • Add ability to include scoped variables in the mdx: 75226ae
  • Merge pull request #8 from chewnoill/chewy/scoped-variables: 8d3eee4
  • Add requestIdleCallback shim: #12

Patches

Credits

Huge thanks to @rafaelalmeidatk and @bogdansoare for helping!

0.4.0

21 May 20:38
add9e8b
Compare
Choose a tag to compare

Options can now be passed to mdx via renderToString

Commit Log

  • Update deps: d372be9
  • Add linting and remove build artifacts in tests: adf4f9f
  • Add the ability to pass in mdx options: #5
  • Add release scripts: 6faf123

0.2.0

01 May 21:33
b51314b
Compare
Choose a tag to compare

This plugin ignores all external babel config files when running its internal mdx transform -- this prevents issues where separate project babel configs interfere with mdx transformation and cause errors.

0.1.1

01 May 19:18
24927f1
Compare
Choose a tag to compare

This package now reports to webpack that it has no side effects properly so that it will be removed from client bundles if unused.

Patches

0.1.0

30 Apr 01:28
2d62737
Compare
Choose a tag to compare

This release adds tests and stabilizes the library significantly. This should be ready for initial use!

Commit Log

  • Add tests, fix bugs: 63d26c2
  • Add npmignore: c9c3ab9
  • Update test component to normal react pattern: c46ffcd

0.0.3

27 Apr 18:49
e2c8209
Compare
Choose a tag to compare

Patches

0.0.2

27 Apr 18:41
ee34d94
Compare
Choose a tag to compare

Bugfix

0.0.1

27 Apr 16:53
c3e5a0b
Compare
Choose a tag to compare

Initial release! This is still currently beta-quality so beware. Also the custom logging feature has not yet been implemented