diff --git a/CHANGELOG.md b/CHANGELOG.md index 8332b2d..63e1de7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,216 +1,323 @@ +# [0.5.0](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.4.4...v0.5.0) (2024-03-06) + + +### Features + +* reserve inline code in toc ([4b78e6d](https://github.com/web-infra-dev/mdx-rs-binding/commit/4b78e6d8de624fae1ed9daca3abe7cd0baf6291a)) + + + ## [0.4.4](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.4.3...v0.4.4) (2024-03-05) + ### Bug Fixes -- delete useless quote ([2144226](https://github.com/web-infra-dev/mdx-rs-binding/commit/214422608bcd20b41807a974b570b94c17f34103)) -- yaml error ([b5bdc94](https://github.com/web-infra-dev/mdx-rs-binding/commit/b5bdc94749485b4d9564732bf1bcb8e72686e3eb)) +* ci ([b638634](https://github.com/web-infra-dev/mdx-rs-binding/commit/b6386346acdd6be50b1e65d68f2a3d8d13b98087)) +* ci build ([09d06b6](https://github.com/web-infra-dev/mdx-rs-binding/commit/09d06b6e3d1a6c292af3873b2dc68fed57bd1de5)) +* delete useless quote ([2144226](https://github.com/web-infra-dev/mdx-rs-binding/commit/214422608bcd20b41807a974b570b94c17f34103)) +* yaml error ([b5bdc94](https://github.com/web-infra-dev/mdx-rs-binding/commit/b5bdc94749485b4d9564732bf1bcb8e72686e3eb)) + + ## [0.4.3](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.4.2...v0.4.3) (2023-12-04) + ### Bug Fixes -- header anchor and toc id is inconsistent ([cd949a9](https://github.com/web-infra-dev/mdx-rs-binding/commit/cd949a9e926969359a4dac85b90e1974af96c954)) +* header anchor and toc id is inconsistent ([cd949a9](https://github.com/web-infra-dev/mdx-rs-binding/commit/cd949a9e926969359a4dac85b90e1974af96c954)) + + ## [0.4.2](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.4.1...v0.4.2) (2023-11-23) + ### Bug Fixes -- image extension support uppercase ([fef43d0](https://github.com/web-infra-dev/mdx-rs-binding/commit/fef43d06c08a8a265c4d361df1427b0fdb41ccf5)) -- **plugin_toc:** remove extra escape char ([581cded](https://github.com/web-infra-dev/mdx-rs-binding/commit/581cded395100cc6a0c5e7c19c8727b6ea1a99e3)) +* image extension support uppercase ([fef43d0](https://github.com/web-infra-dev/mdx-rs-binding/commit/fef43d06c08a8a265c4d361df1427b0fdb41ccf5)) +* **plugin_toc:** remove extra escape char ([581cded](https://github.com/web-infra-dev/mdx-rs-binding/commit/581cded395100cc6a0c5e7c19c8727b6ea1a99e3)) + + ## [0.4.1](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.4.0...v0.4.1) (2023-10-23) + ### Bug Fixes -- anchor missed when link exsited in header ([6504df2](https://github.com/web-infra-dev/mdx-rs-binding/commit/6504df27555565aba8262326d5947b3427915fb2)) +* anchor missed when link exsited in header ([6504df2](https://github.com/web-infra-dev/mdx-rs-binding/commit/6504df27555565aba8262326d5947b3427915fb2)) + + # [0.4.0](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.3.3...v0.4.0) (2023-10-18) + ### Features -- support custom header id ([f773f37](https://github.com/web-infra-dev/mdx-rs-binding/commit/f773f37d907f7b7d91d30d9c384b17f4f0708a46)) +* support custom header id ([f773f37](https://github.com/web-infra-dev/mdx-rs-binding/commit/f773f37d907f7b7d91d30d9c384b17f4f0708a46)) + + ## [0.3.3](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.3.2...v0.3.3) (2023-10-10) + ### Bug Fixes -- preserve image relative link ([10b188a](https://github.com/web-infra-dev/mdx-rs-binding/commit/10b188adf1920c0f7c901e5f8716313f159abb4b)) +* preserve image relative link ([10b188a](https://github.com/web-infra-dev/mdx-rs-binding/commit/10b188adf1920c0f7c901e5f8716313f159abb4b)) + + ## [0.3.2](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.3.1...v0.3.2) (2023-09-24) + ### Bug Fixes -- windows path in normalize_link ([f021d49](https://github.com/web-infra-dev/mdx-rs-binding/commit/f021d493af9be5892eb873bc21aa57820b337a6e)) +* windows path in normalize_link ([f021d49](https://github.com/web-infra-dev/mdx-rs-binding/commit/f021d493af9be5892eb873bc21aa57820b337a6e)) + + ## [0.3.1](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.3.0...v0.3.1) (2023-09-21) + + # [0.3.0](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.2.8...v0.3.0) (2023-09-21) + ### Features -- integrate rspress ([3884128](https://github.com/web-infra-dev/mdx-rs-binding/commit/3884128959018b005afd8fcf1c2926a265215ac7)) +* integrate rspress ([3884128](https://github.com/web-infra-dev/mdx-rs-binding/commit/3884128959018b005afd8fcf1c2926a265215ac7)) + + ## [0.2.8](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.2.7...v0.2.8) (2023-09-21) + ### Bug Fixes -- filter absolute path in image ([a65b3b8](https://github.com/web-infra-dev/mdx-rs-binding/commit/a65b3b85a3aa8f22e5d492382caa3a7417e1e02e)) +* filter absolute path in image ([a65b3b8](https://github.com/web-infra-dev/mdx-rs-binding/commit/a65b3b85a3aa8f22e5d492382caa3a7417e1e02e)) + ### Features -- add release workflow ([7548d29](https://github.com/web-infra-dev/mdx-rs-binding/commit/7548d2922955cfb658b9791b3079dfa699651b12)) +* add release workflow ([7548d29](https://github.com/web-infra-dev/mdx-rs-binding/commit/7548d2922955cfb658b9791b3079dfa699651b12)) + + ## [0.2.7](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.2.6...v0.2.7) (2023-09-11) + ### Bug Fixes -- ci ([f7bf4ab](https://github.com/web-infra-dev/mdx-rs-binding/commit/f7bf4abc3fae624d1fa62b7a7cbd414aa1e25e54)) -- windows output ([32d7f24](https://github.com/web-infra-dev/mdx-rs-binding/commit/32d7f24d2b855a79910baf26f04a24de82491f47)) +* ci ([f7bf4ab](https://github.com/web-infra-dev/mdx-rs-binding/commit/f7bf4abc3fae624d1fa62b7a7cbd414aa1e25e54)) +* windows output ([32d7f24](https://github.com/web-infra-dev/mdx-rs-binding/commit/32d7f24d2b855a79910baf26f04a24de82491f47)) + + ## [0.2.6](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.2.5...v0.2.6) (2023-09-11) + ### Bug Fixes -- avoid panic when parse ast error ([fd29af6](https://github.com/web-infra-dev/mdx-rs-binding/commit/fd29af619540ca3de353c6bbe55971de5824cb39)) -- bench file ([331a717](https://github.com/web-infra-dev/mdx-rs-binding/commit/331a7170dd33370c54c100a8509f089b41dc1486)) -- ci target ([91158d6](https://github.com/web-infra-dev/mdx-rs-binding/commit/91158d6b677f40dd7f598e575cb38e46188301ba)) +* avoid panic when parse ast error ([fd29af6](https://github.com/web-infra-dev/mdx-rs-binding/commit/fd29af619540ca3de353c6bbe55971de5824cb39)) +* bench file ([331a717](https://github.com/web-infra-dev/mdx-rs-binding/commit/331a7170dd33370c54c100a8509f089b41dc1486)) +* ci target ([91158d6](https://github.com/web-infra-dev/mdx-rs-binding/commit/91158d6b677f40dd7f598e575cb38e46188301ba)) + ### Features -- add action ([85bf1c5](https://github.com/web-infra-dev/mdx-rs-binding/commit/85bf1c5fc85903fe801f3eb244dd7b6faff18155)) -- add benchmark workflow ([f513e25](https://github.com/web-infra-dev/mdx-rs-binding/commit/f513e25db2f20468879d5490fbc0c2698592a49d)) -- rustup ci ([d3fa666](https://github.com/web-infra-dev/mdx-rs-binding/commit/d3fa666a06b92eab1d34dcf8711127ff834c8ee0)) +* add action ([85bf1c5](https://github.com/web-infra-dev/mdx-rs-binding/commit/85bf1c5fc85903fe801f3eb244dd7b6faff18155)) +* add benchmark workflow ([f513e25](https://github.com/web-infra-dev/mdx-rs-binding/commit/f513e25db2f20468879d5490fbc0c2698592a49d)) +* rustup ci ([d3fa666](https://github.com/web-infra-dev/mdx-rs-binding/commit/d3fa666a06b92eab1d34dcf8711127ff834c8ee0)) + + ## [0.2.5](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.2.4...v0.2.5) (2023-08-27) + ### Performance Improvements -- lazy static optimization for regexp ([447289c](https://github.com/web-infra-dev/mdx-rs-binding/commit/447289c649887c48faadf01d4b0ac644d012dfd7)) -- use `mimalloc` ([984c0cc](https://github.com/web-infra-dev/mdx-rs-binding/commit/984c0cc91cddeb9ef4229d85a34c03527692afb9)) +* lazy static optimization for regexp ([447289c](https://github.com/web-infra-dev/mdx-rs-binding/commit/447289c649887c48faadf01d4b0ac644d012dfd7)) +* use `mimalloc` ([984c0cc](https://github.com/web-infra-dev/mdx-rs-binding/commit/984c0cc91cddeb9ef4229d85a34c03527692afb9)) + + ## [0.2.4](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.2.3...v0.2.4) (2023-07-25) + ### Bug Fixes -- extract text when header including link node ([06063a3](https://github.com/web-infra-dev/mdx-rs-binding/commit/06063a3eaa312c5c98a3a13250f13f9ad6e13bbd)) +* extract text when header including link node ([06063a3](https://github.com/web-infra-dev/mdx-rs-binding/commit/06063a3eaa312c5c98a3a13250f13f9ad6e13bbd)) + + ## [0.2.3](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.2.2...v0.2.3) (2023-07-13) + ### Bug Fixes -- slugger normalize ([73c43d8](https://github.com/web-infra-dev/mdx-rs-binding/commit/73c43d86bd4a34256c339ccde071d562fa4b67d2)) +* slugger normalize ([73c43d8](https://github.com/web-infra-dev/mdx-rs-binding/commit/73c43d86bd4a34256c339ccde071d562fa4b67d2)) + + ## [0.2.2](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.2.1...v0.2.2) (2023-06-20) + ### Bug Fixes -- delete export in mdx output ([386ebc1](https://github.com/web-infra-dev/mdx-rs-binding/commit/386ebc1345e208a102f4b152f44941ec50db4841)) +* delete export in mdx output ([386ebc1](https://github.com/web-infra-dev/mdx-rs-binding/commit/386ebc1345e208a102f4b152f44941ec50db4841)) + + ## [0.2.1](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.2.0...v0.2.1) (2023-06-01) + ### Bug Fixes -- avoid panic when swc parse error ([3c5f779](https://github.com/web-infra-dev/mdx-rs-binding/commit/3c5f7795d92bcff3e26744a962880396a4300de3)) +* avoid panic when swc parse error ([3c5f779](https://github.com/web-infra-dev/mdx-rs-binding/commit/3c5f7795d92bcff3e26744a962880396a4300de3)) + + # [0.2.0](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.1.8...v0.2.0) (2023-05-23) + ### Features -- delete code_block plugin ([a72fdff](https://github.com/web-infra-dev/mdx-rs-binding/commit/a72fdff08bc7702520f7af624079a386f20bbb5e)) +* delete code_block plugin ([a72fdff](https://github.com/web-infra-dev/mdx-rs-binding/commit/a72fdff08bc7702520f7af624079a386f20bbb5e)) + + ## [0.1.8](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.1.7...v0.1.8) (2023-05-12) + ### Bug Fixes -- panic when hash include . ([e092412](https://github.com/web-infra-dev/mdx-rs-binding/commit/e092412401549a2d3b4dd183d3ca3c49855b55db)) +* panic when hash include . ([e092412](https://github.com/web-infra-dev/mdx-rs-binding/commit/e092412401549a2d3b4dd183d3ca3c49855b55db)) + + ## [0.1.7](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.1.6...v0.1.7) (2023-05-12) + ### Bug Fixes -- hash missed in link ([30885b6](https://github.com/web-infra-dev/mdx-rs-binding/commit/30885b65f03713a18e46277a93fa9ec52fa59bdd)) +* hash missed in link ([30885b6](https://github.com/web-infra-dev/mdx-rs-binding/commit/30885b65f03713a18e46277a93fa9ec52fa59bdd)) + + ## [0.1.6](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.1.5...v0.1.6) (2023-05-10) + ### Bug Fixes -- **container:** should render container type with space correctly ([690de1a](https://github.com/web-infra-dev/mdx-rs-binding/commit/690de1a19c1f6c442d0a63a01d7674bee4cb8eb0)) +* **container:** should render container type with space correctly ([690de1a](https://github.com/web-infra-dev/mdx-rs-binding/commit/690de1a19c1f6c442d0a63a01d7674bee4cb8eb0)) + ### Features -- remove copy button in code block ([9d44cac](https://github.com/web-infra-dev/mdx-rs-binding/commit/9d44cac28b57929d3fada999fb75dfc2b474dab1)) +* remove copy button in code block ([9d44cac](https://github.com/web-infra-dev/mdx-rs-binding/commit/9d44cac28b57929d3fada999fb75dfc2b474dab1)) + + ## [0.1.5](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.1.4...v0.1.5) (2023-05-05) + ### Bug Fixes -- slug normalize for `.` ([5f52075](https://github.com/web-infra-dev/mdx-rs-binding/commit/5f5207520f70977faad7e4d2ef5fc77d05377f9a)) +* slug normalize for `.` ([5f52075](https://github.com/web-infra-dev/mdx-rs-binding/commit/5f5207520f70977faad7e4d2ef5fc77d05377f9a)) + + ## [0.1.4](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.1.3...v0.1.4) (2023-04-24) + ### Bug Fixes -- nest ../ path not work ([1478e06](https://github.com/web-infra-dev/mdx-rs-binding/commit/1478e06fd23e125b7b9139818750b784af948021)) +* nest ../ path not work ([1478e06](https://github.com/web-infra-dev/mdx-rs-binding/commit/1478e06fd23e125b7b9139818750b784af948021)) + ### Features -- add install and usage in readme ([2973e1a](https://github.com/web-infra-dev/mdx-rs-binding/commit/2973e1a08115a337a8a5fd1caa8b2290748b4013)) +* add install and usage in readme ([2973e1a](https://github.com/web-infra-dev/mdx-rs-binding/commit/2973e1a08115a337a8a5fd1caa8b2290748b4013)) + + ## [0.1.3](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.1.2...v0.1.3) (2023-04-13) + ### Bug Fixes -- jsx element support in container ([0f880cf](https://github.com/web-infra-dev/mdx-rs-binding/commit/0f880cf4c3eb2829d45fd5224a3846646b665f71)) +* jsx element support in container ([0f880cf](https://github.com/web-infra-dev/mdx-rs-binding/commit/0f880cf4c3eb2829d45fd5224a3846646b665f71)) + + ## [0.1.2](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.1.1...v0.1.2) (2023-04-11) + ### Bug Fixes -- slug normalize ([80eb470](https://github.com/web-infra-dev/mdx-rs-binding/commit/80eb47019c232a8f087d8d914f2a5dda977ca3c6)) +* slug normalize ([80eb470](https://github.com/web-infra-dev/mdx-rs-binding/commit/80eb47019c232a8f087d8d914f2a5dda977ca3c6)) + + ## [0.1.1](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.1.0...v0.1.1) (2023-04-11) + ### Bug Fixes -- handle external image src ([bc515fb](https://github.com/web-infra-dev/mdx-rs-binding/commit/bc515fbf54a33b8e643e448458467b27a75121d6)) +* handle external image src ([bc515fb](https://github.com/web-infra-dev/mdx-rs-binding/commit/bc515fbf54a33b8e643e448458467b27a75121d6)) + + # [0.1.0](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.0.2...v0.1.0) (2023-04-11) + ### Bug Fixes -- should render p tag for every line in container ([8bc96b5](https://github.com/web-infra-dev/mdx-rs-binding/commit/8bc96b53ce9fc6e7f9c70eccc1fbce681cae3bc8)) -- should wrap container content with p tag ([ef34367](https://github.com/web-infra-dev/mdx-rs-binding/commit/ef3436736a61d6ba4d655e9691bd1568a249208e)) -- skip class name in htm plugin ([bc2a3a4](https://github.com/web-infra-dev/mdx-rs-binding/commit/bc2a3a44d224aafe32ad59f205fbe593e5e6f0ee)) +* should render p tag for every line in container ([8bc96b5](https://github.com/web-infra-dev/mdx-rs-binding/commit/8bc96b53ce9fc6e7f9c70eccc1fbce681cae3bc8)) +* should wrap container content with p tag ([ef34367](https://github.com/web-infra-dev/mdx-rs-binding/commit/ef3436736a61d6ba4d655e9691bd1568a249208e)) +* skip class name in htm plugin ([bc2a3a4](https://github.com/web-infra-dev/mdx-rs-binding/commit/bc2a3a44d224aafe32ad59f205fbe593e5e6f0ee)) + ### Features -- remove default_lang in normalize_link ([90fc8c3](https://github.com/web-infra-dev/mdx-rs-binding/commit/90fc8c38337233ebdacb1ce688d27c2e8aebfbc5)) -- support img assets in normalize_link plugin ([cb00c66](https://github.com/web-infra-dev/mdx-rs-binding/commit/cb00c66f15375a4032b04c5b9fe1a85ca0307efe)) +* remove default_lang in normalize_link ([90fc8c3](https://github.com/web-infra-dev/mdx-rs-binding/commit/90fc8c38337233ebdacb1ce688d27c2e8aebfbc5)) +* support img assets in normalize_link plugin ([cb00c66](https://github.com/web-infra-dev/mdx-rs-binding/commit/cb00c66f15375a4032b04c5b9fe1a85ca0307efe)) + ### Performance Improvements -- prefer using reference ([1de9387](https://github.com/web-infra-dev/mdx-rs-binding/commit/1de9387753681970509429ecbe1e2c6d50678251)) +* prefer using reference ([1de9387](https://github.com/web-infra-dev/mdx-rs-binding/commit/1de9387753681970509429ecbe1e2c6d50678251)) + + ## [0.0.2](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.0.1...v0.0.2) (2023-04-03) + + ## [0.0.1](https://github.com/web-infra-dev/mdx-rs-binding/compare/v0.0.0...v0.0.1) (2023-03-30) + ### Bug Fixes -- development mode specify ([9ff54d9](https://github.com/web-infra-dev/mdx-rs-binding/commit/9ff54d9dfb475ac1fe9b984997b37b26b10ef1a7)) -- public access ([1e8eb5e](https://github.com/web-infra-dev/mdx-rs-binding/commit/1e8eb5ec26f146be77536da48d2140ad09dd2bf6)) +* development mode specify ([9ff54d9](https://github.com/web-infra-dev/mdx-rs-binding/commit/9ff54d9dfb475ac1fe9b984997b37b26b10ef1a7)) +* public access ([1e8eb5e](https://github.com/web-infra-dev/mdx-rs-binding/commit/1e8eb5ec26f146be77536da48d2140ad09dd2bf6)) + + # [0.0.0](https://github.com/web-infra-dev/mdx-rs-binding/compare/6e5b1f29211ef840aab03708ccfb8a9f841239d0...v0.0.0) (2023-03-30) + ### Bug Fixes -- ci ([624d729](https://github.com/web-infra-dev/mdx-rs-binding/commit/624d7299dba2490b94f9f041b66c3d560530ee69)) -- container plugin error in mdx expression title ([cd6dbe7](https://github.com/web-infra-dev/mdx-rs-binding/commit/cd6dbe77ca12322e711f9406d807bce92b8b269a)) +* ci ([624d729](https://github.com/web-infra-dev/mdx-rs-binding/commit/624d7299dba2490b94f9f041b66c3d560530ee69)) +* container plugin error in mdx expression title ([cd6dbe7](https://github.com/web-infra-dev/mdx-rs-binding/commit/cd6dbe77ca12322e711f9406d807bce92b8b269a)) + ### Features -- add normalize_link plugin ([254720a](https://github.com/web-infra-dev/mdx-rs-binding/commit/254720ab3a05c5d13c56d41574d43f16677e0e45)) -- add plugin_html and export more info to js ([6f0c942](https://github.com/web-infra-dev/mdx-rs-binding/commit/6f0c942abaaaecaac02ed8beda46e4e2cc372087)) -- init workspace and plugins ([6e5b1f2](https://github.com/web-infra-dev/mdx-rs-binding/commit/6e5b1f29211ef840aab03708ccfb8a9f841239d0)) -- object form options ([84b8680](https://github.com/web-infra-dev/mdx-rs-binding/commit/84b86807c6d8c8ee74f2ba07811ae6f54925c793)) -- update ci & add bench ([0bad411](https://github.com/web-infra-dev/mdx-rs-binding/commit/0bad411e724986c61f922d544b560b8b15da1069)) +* add normalize_link plugin ([254720a](https://github.com/web-infra-dev/mdx-rs-binding/commit/254720ab3a05c5d13c56d41574d43f16677e0e45)) +* add plugin_html and export more info to js ([6f0c942](https://github.com/web-infra-dev/mdx-rs-binding/commit/6f0c942abaaaecaac02ed8beda46e4e2cc372087)) +* init workspace and plugins ([6e5b1f2](https://github.com/web-infra-dev/mdx-rs-binding/commit/6e5b1f29211ef840aab03708ccfb8a9f841239d0)) +* object form options ([84b8680](https://github.com/web-infra-dev/mdx-rs-binding/commit/84b86807c6d8c8ee74f2ba07811ae6f54925c793)) +* update ci & add bench ([0bad411](https://github.com/web-infra-dev/mdx-rs-binding/commit/0bad411e724986c61f922d544b560b8b15da1069)) + + + diff --git a/package.json b/package.json index b92d57e..aca3eb3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@rspress/mdx-rs", "description": "MDX compilation binding for Rspress", - "version": "0.4.4", + "version": "0.5.0", "main": "index.js", "types": "index.d.ts", "napi": {