A new beta of the official TypeScript parser for YINI is out!
This release focuses on real-world usability, robust file handling, and dependency hygiene.
If you're new to YINI: it's a modern, human-friendly configuration format that aims to keep INI-style readability while supporting real structure.
What's new in 1.3.2-beta
UTF-8 BOM support
YINI now correctly handles UTF-8 files with or without a Byte Order Mark (BOM).
- Safe stripping of a leading BOM (U+FEFF)
- Identical parsing behavior for:
- UTF-8 without BOM
- UTF-8 with BOM
- BOM followed by a blank line
- Explicitly does not treat mid-file U+FEFF as a BOM
- Comprehensive test fixtures added for all cases
This makes YINI more robust when consuming files created by different editors, platforms, and tooling.
Shebang (#!) support
- YINI files can now start with a shebang line, which is ignored by the parser.
Dependency updates & security hygiene
- All project dependencies (~14) updated to their latest versions
- Includes TypeScript and packages with reported security advisories
- Node.js type definitions intentionally left unchanged
No breaking API changes were introduced.
π¦ Installation
npm install yini-parser
Or, if you're already using it, just bump to 1.3.2-beta.
Links
- Source code: https://github.com/YINI-lang/yini-parser-typescript
- npm: https://www.npmjs.com/package/yini-parser
- Specification & docs: https://yini-lang.org
Feedback welcome
YINI is still evolving, and feedback from real users is invaluable.
If you try this release and run into anything odd, or have thoughts on the format itself, feel free to open an issue or start a discussion.
Thanks to everyone following and testing the project π
Thanks to everyone following and testing the project π
Top comments (0)