Releases: Silvers12/onenote-md-exporter
Releases · Silvers12/onenote-md-exporter
v1.6.7
v1.6.6
v1.6.5
Fix for pages failing with error 0x8004200B
Bug Fix
- Fixed export failure for pages where
GetPageContentfails with error0x8004200B - When this error occurs, the exporter now automatically retries with
piAllmode instead ofpiBinaryDataFileType - This fixes export issues for certain pages that were previously skipped
Other
- Added
Debugsetting documentation to appSettings.json
v1.6.4
Fallback for problematic pages
Improvements
- Automatic fallback: When XML preprocessing fails with error 0x8004202B (corrupted page, sync issue, or problematic content), the export now automatically continues without preprocessing instead of failing
- This allows problematic pages to still be exported, just without preprocessing features (tag conversion, unfolding sections, etc.)
Previous fix (v1.6.3)
- Fix for pages with titles starting with dashes (
----)
v1.6.3
Fix for pages with titles starting with dashes (----)
Bug Fix
- Fixed OneNote API error 0x8004202B when exporting pages with titles starting with special characters like
---- - The fix works by temporarily modifying problematic titles during page cloning in XML preprocessing, then restoring the original title
Technical Details
- Added
IsProblematicTitle()helper method to detect titles that cause OneNote API issues - Titles starting with
-or containing only special characters are now handled gracefully - No need to disable
DisablePageXmlPreProcessinganymore for these pages
v1.6.2 - Retry on errors
New Features
Automatic Retry on Errors
- New
--retry-on-errorsCLI option - Automatically retries failed pages until success or no progress
- Protection against infinite loops (max 10 iterations by default)
Section Error Tracking
- Track export errors per section in manifest (
HasExportErrorsflag) - Sections with errors are forced to reload on next incremental export
- Fixes bug where failed pages would disappear when section was [SKIP]
Configuration
New settings in appSettings.json:
RetryOnErrors: Enable automatic retry loop (default:false)MaxRetryIterations: Maximum retry attempts (default:10)
Usage
# Enable retry mode via CLI
OneNoteMdExporter.exe --incremental --retry-on-errors
# Or interactively: choose option [2] when promptedBug Fixes
- Fix pages in error disappearing when parent section is marked [SKIP]
- Failed pages are now properly retried on subsequent exports
v1.6.1
Changes
- Export incremential
- Upgrade to .NET 10
- Update package references
- Fix SingleFile publish configuration for external config files (appSettings.json, LICENSE, translations)
Download
Download OneNoteMdExporter-v1.6.1.zip and extract it.
Requirements: Windows 10+, OneNote 2013+, Word 2013+