|
1 | 1 | # @signalwire/docusaurus-plugin-llms-txt |
2 | 2 |
|
3 | | -## 2.0.0-alpha.0 |
| 3 | +## 2.0.0-alpha.5 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- Organize links by path now in llms-txt |
| 8 | +- 85c2631: Fixed attachments filename bug |
| 9 | + |
| 10 | +## 2.0.0-alpha.3 |
4 | 11 |
|
5 | 12 | ### Major Changes |
6 | 13 |
|
7 | | -- Alpha Release |
| 14 | +- 75c2b75: Alpha Release |
| 15 | + |
| 16 | +### Patch Changes |
| 17 | + |
| 18 | +- Fix `contentStrategy` bug where dropdown menu displayed incorrect content type. When |
| 19 | + `contentStrategy: 'html-only'` is set, the dropdown now correctly shows "Copy Raw HTML" instead of |
| 20 | + "Copy Raw Markdown". The "View Markdown" option remains available when markdown exists, |
| 21 | + independent of `contentStrategy` setting. |
| 22 | + |
| 23 | +- Updated ambient type declarations to remove unused `hasMarkdown` prop from CopyButton component. |
| 24 | + |
| 25 | +- Updated README documentation to clarify `contentStrategy` behavior and `viewMarkdown` |
| 26 | + independence. |
| 27 | + |
| 28 | +- ec2e25b: Code cleanup and cache optimization: |
| 29 | + - Remove dead code (className prop, normalizePathname export, CopyContentData export) |
| 30 | + - Optimize cache implementation (replace over-engineered promise cache with minimal in-memory |
| 31 | + cache) |
| 32 | + - Fix resize re-fetch bug (component no longer re-fetches data when switching between |
| 33 | + mobile/desktop views) |
| 34 | + - Reduce code size by 47% in useCopyContentData hook |
| 35 | + - Changed the location of the CopyButtonContent component. The theme now swizzles DocItem/Layout |
| 36 | + and conditionally puts the Copy button content component after it or below it |
| 37 | + |
| 38 | +- e1246b2: Major architecture improvements for better plugin compatibility: |
| 39 | + |
| 40 | + **Component Changes:** |
| 41 | + - Switched from ejecting `DocItem/Layout` to wrapping `DocBreadcrumbs` |
| 42 | + - This prevents conflicts with other plugins that customize the layout |
| 43 | + - Uses WRAP pattern instead of EJECT for better compatibility |
| 44 | + - Changed internal import from `@theme-original` to `@theme-init` following Docusaurus best |
| 45 | + practices for theme enhancers |
| 46 | + |
| 47 | + **Improvements:** |
| 48 | + - Fixed type declarations to accurately reflect component props |
| 49 | + - Removed unused `className` prop from `CopyPageContent` |
| 50 | + - Fixed `DocBreadcrumbs` type declaration for proper wrapping support |
| 51 | + - Added `margin-left: auto` to ensure copy button always aligns right in desktop view |
| 52 | + - Fixed package publishing configuration |
| 53 | + - Added `src/theme` directory to published files for TypeScript swizzling support |
| 54 | + - Updated devDependencies for proper type resolution |
| 55 | + - Changed `react-icons` from exact version to version range |
| 56 | + |
| 57 | + **Documentation:** |
| 58 | + - Updated README with correct swizzle examples for `DocBreadcrumbs` |
| 59 | + - Added explanation of `@theme-init` vs `@theme-original` usage |
| 60 | + - Updated swizzle configuration to reflect new safe wrapping pattern |
| 61 | + |
| 62 | + **Compatibility:** |
| 63 | + - Now compatible with plugins like `docusaurus-plugin-openapi-docs` that also customize layouts |
| 64 | + - Follows official Docusaurus theme enhancer pattern (similar to |
| 65 | + `@docusaurus/theme-live-codeblock`) |
| 66 | + - Users can now safely wrap our enhanced breadcrumbs with `@theme-original/DocBreadcrumbs` |
8 | 67 |
|
| 68 | +## 2.0.0-alpha.2 |
9 | 69 |
|
| 70 | +### Patch Changes |
| 71 | + |
| 72 | +- Major architecture improvements for better plugin compatibility: |
| 73 | + |
| 74 | + **Breaking Changes:** |
| 75 | + - Switched from ejecting `DocItem/Layout` to wrapping `DocBreadcrumbs` |
| 76 | + - This prevents conflicts with other plugins that customize the layout |
| 77 | + - Uses WRAP pattern instead of EJECT for better compatibility |
| 78 | + - Changed internal import from `@theme-original` to `@theme-init` following Docusaurus best |
| 79 | + practices for theme enhancers |
| 80 | + |
| 81 | + **Improvements:** |
| 82 | + - Fixed type declarations to accurately reflect component props |
| 83 | + - Removed unused `className` prop from `CopyPageContent` |
| 84 | + - Fixed `DocBreadcrumbs` type declaration for proper wrapping support |
| 85 | + - Added `margin-left: auto` to ensure copy button always aligns right in desktop view |
| 86 | + - Fixed package publishing configuration |
| 87 | + - Added `src/theme` directory to published files for TypeScript swizzling support |
| 88 | + - Updated devDependencies for proper type resolution |
| 89 | + - Changed `react-icons` from exact version to version range |
| 90 | + |
| 91 | + **Documentation:** |
| 92 | + - Updated README with correct swizzle examples for `DocBreadcrumbs` |
| 93 | + - Added explanation of `@theme-init` vs `@theme-original` usage |
| 94 | + - Updated swizzle configuration to reflect new safe wrapping pattern |
| 95 | + |
| 96 | + **Compatibility:** |
| 97 | + - Now compatible with plugins like `docusaurus-plugin-openapi-docs` that also customize layouts |
| 98 | + - Follows official Docusaurus theme enhancer pattern (similar to |
| 99 | + `@docusaurus/theme-live-codeblock`) |
| 100 | + - Users can now safely wrap our enhanced breadcrumbs with `@theme-original/DocBreadcrumbs` |
| 101 | + |
| 102 | +## 2.0.0-alpha.1 |
| 103 | + |
| 104 | +### Patch Changes |
| 105 | + |
| 106 | +- Code cleanup and cache optimization: |
| 107 | + - Remove dead code (className prop, normalizePathname export, CopyContentData export) |
| 108 | + - Optimize cache implementation (replace over-engineered promise cache with minimal in-memory |
| 109 | + cache) |
| 110 | + - Fix resize re-fetch bug (component no longer re-fetches data when switching between |
| 111 | + mobile/desktop views) |
| 112 | + - Reduce code size by 47% in useCopyContentData hook |
| 113 | + |
| 114 | +## 2.0.0-alpha.0 |
| 115 | + |
| 116 | +### Major Changes |
| 117 | + |
| 118 | +- Alpha Release |
0 commit comments