Skip to content

v1.2.0 - Tables, Includes & Enterprise Security

Latest

Choose a tag to compare

@alpha912 alpha912 released this 16 Oct 22:30
· 149 commits to main since this release

OmniScript Format v1.2.0 - Production Release

Release Date: October 16, 2025
Status: Production Release
Security Grade: A+ | Tests: 203/203 Passing (100%)


πŸŽ‰ Major Release Highlights

✨ New Features

@table Blocks

Markdown-style tables with enterprise features:

```osf
@table {
caption: "Sales Report Q4 2025";
style: "bordered";
alignment: ["left", "right", "center"];

Product Revenue Status
Widget A $120K βœ“ Growth
Widget B $95K β†’ Stable
}
```

Features: Pipe syntax, captions, alignment, style variants, HTML rendering

@include Directive

File composition for modular documents:

```osf
@include { path: "./sections/intro.osf"; }
@include { path: "./sections/body.osf"; }
```

Features: Recursive includes, circular detection, path protection


πŸ”’ Security (Grade A+)

Comprehensive security hardening:

  • βœ… Path traversal protection
  • βœ… ReDoS prevention
  • βœ… Strict input validation
  • βœ… Defense-in-depth architecture
  • βœ… 19 security tests

Fixed: 5 P1 critical + 3 P2 important issues


πŸ—οΈ Architecture Improvements

Refactored codebase:

  • Parser: 904 β†’ 173 lines (81% reduction)
  • CLI: 1,147 β†’ 172 lines (85% reduction)
  • Split into 46 modular files
  • All files under 300 lines

πŸ“Š Testing

Test coverage increased 70%:

  • Before: 56 tests
  • After: 130 tests core (+ 73 converters)
  • Total: 203 tests (100% passing)
  • New: 19 security tests

πŸ“¦ Packages Published

  • omniscript-parser@1.2.0 - Parser with @table/@include
  • omniscript-cli@1.2.0 - CLI with table rendering
  • omniscript-converters@1.2.0 - Updated dependencies

πŸš€ Installation

```bash

Update CLI

npm install -g omniscript-cli@1.2.0

Update libraries

npm install omniscript-parser@1.2.0
npm install omniscript-converters@1.2.0
```


πŸ”„ Migration

100% backward compatible - No breaking changes!

All v1.0 and v1.1 documents work unchanged. New features are opt-in.

View Migration Guide


πŸ“š Documentation


βœ… Quality Metrics

Metric v1.1 v1.2.0
Tests 56 203
Security Grade C+ A+
Security Tests 0 19
Code Modules 8 46

Full details: RELEASE_NOTES_v1.2.0.md