v1.10.0
Features
- Native support for date and time handling! See this documentation page for details. By @eminence in #287
- First class functions, function types, conversion functions. See this documentation page and #200 for details. By @sharkdp
- Human-readable time durations (
10 million seconds -> human
) by @sharkdp in #327 - Add ability to hide 'private' functions and variables by @sharkdp in #325
Prelude
- Use tropical years as 'year' unit by @sharkdp in #334
- Add new uniots:
gons
,grad
,gradians
,beat
,rack
,KSI
,MPSI
. By @mhmdanas in #288 - Add U+2126 OHM SIGN as a short alias for the
ohm
unit by @eminence in #300 - Renamed
to_celsius
/to_fahrenheit
tocelsius
/fahrenheit
, as they can be used with the new conversion function feature (300 K -> celsius
)
Bugfixes
- Pretty print 'long' units with long prefixes by @do-you-dare in #309
- Errors in config file don't point to correct span, by @eminence in #301
- Wait for background currency fetch thread to finish before exiting by @eminence in #298
- Full simplify arguments in function calls by @sharkdp in #326
- Improve unterminated string interpolation error by @mhmdanas in #313
Web
- style: open
sharkdp/numbat
in new tab by @hamirmahal in #303 - Use default allocator instead of wee_alloc in numbat-wasm by @mhmdanas in #296
Other
- Add desktop file and Numbat icons to assets by @mhmdanas in #294
- Add #[track_caller] annotation to some panicy VM functions by @eminence in #331
- Embed timezone conversion into conversion-function framework by @sharkdp in #339
- Use local timezone, not local UTC offset by @sharkdp in #329
- parse_datetime: relaxed formats by @sharkdp in #330
- Tooling improvements: docs, CI, wasm by @sharkdp in #280
Full Changelog: v1.9.0...v1.10.0