Skip to main content

v1.1.0 Release Notes

PRODUCTION READY

Released October 16, 2025

🎉 Strikethrough, Unicode, and Better Rendering

v1.1.0 delivers richer formatting, precise error positions, and safer HTML output — all fully backward compatible with v1.0.

Table of Contents

What's New

✨ Strikethrough Text Formatting

Use ~~text~~ syntax for strikethrough formatting:

@slide {
  title: "Product Updates";
  
  Price: ~~$99~~ **$79** today only!
}

Renders as: Price: $99 $79 today only!

🌐 Unicode Escape Sequences

Full support for \uXXXX (4-digit hex) and \xXX (2-digit hex):

@meta {
  title: "Copyright \u00A9 2025";    // ©
  status: "Complete \u2713";         // ✓
  author: "Caf\xE9";                 // Café
}
  • Perfect round-trip: parse(serialize(doc)) === doc
  • Automatic escaping on serialization
  • Full Unicode range (U+0000 to U+FFFF)

🔍 Position Tracking in Errors

All parser errors now include precise line:column information:

// Before (v1.0)
Error: Missing closing }

// After (v1.1)  
Error: Missing closing } for block meta at 15:42
Error: Expected identifier at 8:5
Error: Invalid number format at 12:18

Benefit: 10x faster debugging for large documents.

🌐 Extended HTML Rendering

HTML output now supports all content block types:

  • Ordered Lists - Renders as <ol>
  • Blockquotes - Renders as <blockquote>
  • Code Blocks - Syntax highlighting with <pre><code>
  • Images - Proper <img> tags
  • Links - Proper <a> tags

📝 Enhanced Markdown Export

  • Strikethrough → ~~text~~
  • Ordered lists → 1. 2. 3.
  • Blockquotes → > text
  • Code blocks → ```language ... ```

🔒 Security Improvements

XSS Prevention: All HTML output is properly escaped.

@meta { title: "<script>alert('xss')</script>"; }

// v1.0: Would render dangerous <script> tag
// v1.1: Renders safe: &lt;script&gt;...&lt;/script&gt;

Applies to meta properties, document content, slide content, and sheet values.

📝 Example: New Features

@slide {
  title: "Product Updates";
  
  ## Latest Changes
  
  1. First improvement
  2. Second enhancement  
  3. ~~Old feature~~ **New feature**
  
  > "These updates are game-changing!" - Customer
  
  Implementation:
  
  ```typescript
  const updates = {
    version: "1.1.0",
    features: ["strikethrough", "unicode"]
  };
  ```
}

🔄 Upgrade Guide

Packages
npm install omniscript-parser@1.1.0 npm install omniscript-cli@1.1.0 npm install omniscript-converters@1.1.0

No code changes required — all v1.0 documents work without modification.

  • ✅ Use ~~strikethrough~~ in your documents
  • ✅ Better error messages with exact locations
  • ✅ HTML rendering includes all content types
  • ✅ Markdown export preserves all formatting
  • ✅ PDF/DOCX/PPTX/XLSX rendering via CLI
  • ✅ Protected against XSS attacks automatically

📊 Test Coverage

  • 88 tests passing (31 new for v1.1 features)
  • 100% success rate
  • ✅ Comprehensive coverage for all new features
  • ✅ Security tests for XSS prevention
  • ✅ Round-trip tests for unicode handling

🐛 Bug Fixes

  • Fixed parser round-trip with unicode characters
  • Fixed CLI converter integration (PDF/DOCX/PPTX/XLSX)
  • Fixed dependency version synchronization
  • Fixed vitest configuration for cleaner test output

🚀 Next Steps