Skip to content

Releases: antfu/vite-plugin-md

v0.22.5

16 Dec 21:03
b241d3a
Compare
Choose a tag to compare

   🚀 Features

  • Pipeline processing adapted to leaner transform function and carries BuilderApi generic state throughout  -  by @yankeeinlondon (ecad9)

   🐞 Bug Fixes

    View changes on GitHub

v0.22.4

15 Dec 20:52
d44f7b5
Compare
Choose a tag to compare
  • WARN: please revert to 0.22.1 if you are using any of the builder API's
  • I am working on a fix which will hit soon but I don't have permissions to revoke this release from npm
    View changes on GitHub

v0.22.3

15 Dec 20:50
47cfbe8
Compare
Choose a tag to compare
  • WARN: please revert to 0.22.1 if you are using any of the builder API's
  • I am working on a fix which will hit soon but I don't have permissions to revoke this release from npm
    View changes on GitHub

v0.22.2

15 Dec 20:39
3976bff
Compare
Choose a tag to compare
  • WARN: please revert to 0.22.1 if you are using any of the builder API's
  • I am working on a fix which will hit soon but I don't have permissions to revoke this release from npm

   🐞 Bug Fixes

    View changes on GitHub

v0.22.1

15 Dec 19:42
a79ca6f
Compare
Choose a tag to compare
  • added explicit references to peerDep relationship to vite and @vuejs/plugin-vue
    View changes on GitHub

v0.22.0

15 Dec 19:16
78d6b7a
Compare
Choose a tag to compare

   🚀 Major Changes

  • this is the first version which I feel very confident in saying that not only is it Vite 4 compatible (the last version was too) but many of the problematic downstream deps which CJS only have been switch to ESM
  • this was a bit painful for me (@yankeeinlondon ) but I imagine for others too which I appologize for
  • I had hoped the pretty good test coverages would prevent the types of problems we've had recently but in this painful transition to ESM only Javascript I was only testing the source code and it was passing 100% of the time but the transpiled code wasn't always working as it should have
  • in this release -- and all going forward -- a release can not be made without all functional tests passing but also:
    • tsc tests - meaning that we run tsc --noEmit to capture any type errors that "tsc" finds (which is more than just eslint)
    • node tests - meaning we actually run the transpiled javascript to be sure there are no errors
  • I expect most of these changes will eliminate most of the problems folks have experienced over the past month or two
  • Fortunely for the Javascript universe, projects like Vite are moving folks to ESM at an increasing pace and we'll all be better off when there's only a single module system

Last but not least:

  • because the popular -- but old -- gray-matter package was making async calls to node functions as well as having really old deps of it's own that are undoubtedly gathering dust and possibly security issues ... I refactored it.
  • you will notice that we now depend on @yankeeinlondon/gray-matter instead of gray-matter. I refactored gray-matter 6 months ago to ESM and put in a pull request but got no response so yesterday I refactored it to Typescript. There are some generous uses of any but the type system is fully generated rather than hand crafted as it was before.
  • all original tests were refactored to use vitest instead of mocha
  • all of the tests pass with two exceptions which I looked at without full context of the internals and the current results actually looked reasonable to me so I've just added the skip keyword for now
  • ultimately I do hope that the gray-matter folks eventually accept my PR but until they do I'll work off this TS/ESM fork

Please note: though I term these "major changes" there are no intended breaking changes to the API

   🐞 Bug Fixes

  • Fixed stray typing errors related to migration of some types to builder-api package  -  by @yankeeinlondon (be51a)
    View changes on GitHub

v0.21.5

16 Dec 21:03
bbd749e
Compare
Choose a tag to compare

   🚀 Features

  • Pipeline processing adapted to leaner transform function and carries BuilderApi generic state throughout  -  by @yankeeinlondon (ecad9)

   🐞 Bug Fixes

    View changes on GitHub

v0.21.1

15 Dec 05:30
042cf3a
Compare
Choose a tag to compare

No significant changes

    View changes on GitHub

v0.21.0

12 Dec 20:50
75a0779
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.20.6

12 Dec 18:28
c90b879
Compare
Choose a tag to compare
  • Moving toward Vite 4 release and the removal off all downstream CJS deps
  • This release still uses Vite 3 but the CJS deps are almost completely removed
    View changes on GitHub