Skip to content

Initial Stable Release

Latest

Choose a tag to compare

@hsharghi hsharghi released this 28 Jul 09:59

Release Description
We are incredibly proud to announce the 1.0.0 stable release of Tempo! πŸŽ‰

Tempo is a lightweight, pure Swift library for working with dates and times. Built from the ground up to be independent of heavy legacy dependencies, it provides an expressive and highly testable API that is right at home in modern Swift applications, particularly Server-Side Swift.

🌟 Key Highlights
100% Swift 6 Concurrency Ready: Fully vetted for strict concurrency checking. All core components are Sendable, and the architecture is built to be thread-safe for high-throughput server environments.
Built for Testing: The TempoClockProvider allows you to inject deterministic time into your app's context. Gone are the days of flaky time-based unit tests. Easily freeze, mock, and manipulate time using TestClockProvider.
Server-Side First: Fully compatible across macOS and Linux without relying on bulky ICU dependencies. It’s lean, fast, and highly portable.
Rich Date Arithmetic & Comparison: Easily calculate differences with TempoDateDifference, add or subtract time with TempoPeriod, and perform fluent, readable date comparisons.
Built-in Localization: Includes TempoLocaleProvider for robust, lightweight formatting across multiple languages (English, French, German, Spanish, Arabic, Persian, Hebrew, Japanese, Italian, and Portuguese) without dragging in heavy formatters.

Check out the README for full documentation, and the Contributing Guide if you'd like to get involved!

A huge thank you to everyone who contributed, filed issues, and helped shape the API for this milestone release!

Feel free to tweak the tone to match your style, but this should cover all the major selling points of the library we've worked on! Let me know if you want to emphasize any other specific features (like TempoRecurrenceRule or TempoWeekend).