Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased¶
0.2.0 - 2025-09-10¶
This release is a major change since the last version as it updates the ICU4X dependency from 1.x to 2.x. Take a look at the migration guide.
Added¶
fmtis now the main function to format dates, times, datetimes, and timezones. It's more expressive than the old individual functions.zone-styles,alignment,fields,length,time-precision, andyear-stylecontain the supported values for arguments tofmt. Their values are not implementation defined meaning you can rely on their string values.- There is now a new experimental pattern API.
 
Changed¶
- The minimum Typst compiler version is now 0.13.0.
 
Removed¶
fmt-date,fmt-datetime,fmt-time, andexperimental.fmt-{timezone, zoned-datetime}are replaced byfmt
0.1.2 - 2024-06-13¶
Added¶
- The documentation is now hosted at nerixyz.github.io/icu-typ and includes more examples.
 - The 
offsetin time zones can be specified as anintwhich specifies the offset in seconds. - 🚧 
fmt-zoned-datetime:date-lengthandtime-lengthnow acceptnone. 
Changed¶
- 🚧 
fmt-timezone:includeswas renamed toformatand doesn't accept an array anymore (passing an array with more than one item never worked). - 🚧 
fmt-timezone: The-formatsuffix for options offormatwas removed. - 🚧 
fmt-timezone:local-datenow accepts dictionaries and datetimes withouthour,minute, andsecond(default to0) to be able to usedatetime.today(). 
Fixed¶
- Setting 
bcp47in time zones now works correctly. - Setting 
metazone-idin time zones now works correctly. 
0.1.1 - 2024-06-05¶
Added¶
locale-info- This function gets information about a locale identifier and how it was parsed.- This changelog was added.
 
Changed¶
- 🚧 
fmt-timezone:offsetis now a named (but required) parameter to be more in sync withfmt-zoned-datetime(see example). - Updated README to show more locales.
 
Fixed¶
- Removed redundant 
bytes()call 
0.1.0 - 2024-05-31¶
Added¶
fmt-datefmt-timefmt-datetimefmt-timezone(🚧 experimental)fmt-zoned-datetime(🚧 experimental)