Releases: sharkdp/numbat
Releases · sharkdp/numbat
v1.11.0
Features
- Enable using
<FILE>
and-e <EXPRESSION>
CLi arguments at the same time by @Bzero in #356 - Add
-i
/--inspect-interactively
option to enter interactive session after executing script or expression by @Bzero in #370
Bugfixes
- Better error messages for unterminated strings with interpolations by @Zengor in #389
- Store datetimes with fixed offset by @sharkdp in #378, see also: #376
- Disallow dimensionless base units by @sharkdp in #381
- Runtime error for wrong format specifiers by @sharkdp in #379
- Create parents of user data directory (for storing numbat history) if they do not exist @hamirmahal in #386
Prelude
Other changes
- Improve documentation around ad-hoc units by @sharkdp in #380
- refactor: remove reference that's unnecessary by @hamirmahal in #348
- refactor: wrap result of
cmp
forPartialOrd
by @hamirmahal in #349 - refactor: remove manual impl. of
Option::map
by @hamirmahal in #352 - Always embed modules by @sharkdp in #357
- Move HtmlFormatter to core by @sharkdp in #358
- Make to_markup more flexible by @sharkdp in #359
- Numbat PPA for Ubuntu and derivatives by @archisman-panigrahi in #361
- Skip serializing 'enter_repl' by @Bzero in #388
Full Changelog: v1.10.1...v1.11.0
v1.10.1
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
v1.9.0
Features
- New
info
command to get information for constants and units by @eminence in #267 - Unicode input feature by @sharkdp in #275
- Logical operators by @irevoire in #272
- Support subscript characters in identifiers by @mhmdanas in #277
- Add basic hex conversion by @sharkdp in #279
Prelude
- Add ampere-hours to
misc
module by @Tehforsch in #278 - Add Rydberg constant by @sharkdp in #249
- Add CODATA 2018 values of physics constants by @sharkdp in #268
- Added the ThermalTransmittance dimension by @tiagoporsch in #270
Bugfixes
- Add only existing modules to imported_modules list by @Bzero in #256
- Fix multiple errors spawning for the same token. by @irevoire in #265
- Don't autocomplete opening paren after function call that follows
//
by @eminence in #266
Other
- Various upgrades by @sharkdp in #250
- Typechecker improvements by @sharkdp in #252
- Don't hide
--no-config
flag by @mhmdanas in #255 - Simplify binop parsing by @irevoire in #273
New Contributors
- @tiagoporsch made their first contribution in #270
- @Tehforsch made their first contribution in #278
Full Changelog: v1.8.0...v1.9.0
v1.8.0
New Features
- Add CLI config file by @mhmdanas in #227
- Default to
--pretty-print=never
for-e
and stdin input by @0xAdk in #240 - Output multiple diagnostics in one command by @irevoire in #228
- Better formatting of large numbers by @sharkdp in #244
- Better "suggested fix" messages by @sharkdp in #232
- Tab-complete prefixes and module paths by @sharkdp in #245
- Better
list
command by @sharkdp in #248
Bugfixes
Units
- Add foot-candles unit by @hotgluebanjo in #225
- add the rest of the currency exchange rates provided by the European Central Bank by @herlev in #226
- Add more complete set of imperial weight units by @sharkdp in #234
Others
- Add documentation for nixos installation by @giomf in #229
- Run
cargo clippy --fix
on codebase by @0xAdk in #236
New Contributors
- @hotgluebanjo made their first contribution in #225
- @herlev made their first contribution in #226
- @giomf made their first contribution in #229
- @0xAdk made their first contribution in #236
Full Changelog: v1.7.0...v1.8.0
v1.7.0
Features, changes
- Add "did you mean" suggestions for functions and procedures, @eminence in #199
- Improve the "did you mean" suggestions for booleans, @eminence in #198
- Allow underscores in integers with bases, @irevoire in #190
- Add support for prefix unary plus operator, @irevoire in #209
- Add intro banner and -q/--quiet option to suppress it, @Bzero in #220
- Added new
help
(and?
) commands, @tomeichlersmith in #222 - Add support for arbitrary types in function parameters, #193
- Allow overwriting of functions, #171
- Allow constants to be shadowed, #197
- Allow identifiers to start with °
- Web: multi-line sharing, #186
- On-demand loading of currency exchange rates, #107 and #183
- Allow -e/--expression to appear multiple times
- Better error message for wrong function argument type
- Add
assert(…)
, #188 - Added strings to the language
- Add support for user errors
- Unit meta information,
@name
and@url
decorators, #223
Units, prelude
- Add support for more currencies, @zaidhaan in #216
- add metrix prefixes for barns by @tomeichlersmith in #182
- Add smoot unit by @Mstrodl in #208
- More consistent names for physical dimensions
- More named physical dimensions
- Added Stefan-Bolzmann constant, #189
- Accept 'u' instead of 'µ' for micro
- Treat hundred, thousand, … as units
- Add 'cooking' module
- Add ℎ = planck_constant
- Rename speed => velocity
- Add sidereal_day unit
- Add extra::astronomy module
Other
v1.6.3
Changes
- Add possibility for package maintainers to customize the Numbat module path via
NUMBAT_SYSTEM_MODULE_PATH
, see #173 and https://numbat.dev/doc/cli-installation.html#guidelines-for-package-maintainers
Bugfixes
- Disallow base/derived dimension conflicts, see #153
Prelude
- Fix the definition of
ElectricDipoleMoment
. - Add
Polarizability
.