Releases, tutorials, and open-source news
Updates on our packages, tutorials for the JavaScript ecosystem, and thoughts on open-source development.
@fotros/schema v2.4 — Recursive Types and Performance Improvements
This release brings recursive type support, a 40% parse performance improvement for large payloads, and a new strict mode that rejects unknown keys by default.
Building a Type-Safe CLI with @fotros/cli and @fotros/schema
A step-by-step guide to building a production-grade Node.js CLI that validates its config file at startup using Fotros primitives.
How Open Fotros Manages RFC-Driven Development
We adopted an RFC process for all breaking changes six months ago. Here's what worked, what didn't, and why it has made our releases more predictable.
@fotros/bundler v1.5 — Automatic Package.json Exports Field
The bundler now automatically generates a correct exports field in your package.json, covering all module formats and TypeScript declaration files.
Open Fotros Joins the OpenJS Foundation as an At-Large Project
We're excited to announce that Open Fotros has been accepted as an at-large project in the OpenJS Foundation, strengthening our commitment to open governance.
Zero-Config Library Publishing: The @fotros/bundler Workflow
Stop fiddling with Rollup configs. This tutorial walks through the opinionated bundler workflow we use internally for every Fotros package.
ESM and CJS: A Practical Guide for Library Authors
Dual-format packages, the exports field, TypeScript moduleResolution — everything a library author needs to know to ship a package that just works.
Announcing @fotros/env v1.0 — Type-Safe Environment Variables
Parse and validate environment variables at startup with full TypeScript inference. No more process.env string casting — your env is typed, validated, and documented.