Releases: printfn/fend
Version 1.4.4
Changes in this version:
-
Add
==
and!=
operators for equality and inequality (by @frectonz)For example:
> 2 metres == 200 cm true > 4 kg == 2 lbs false
-
The fend CLI now uses
native-tls
by default, instead ofrustls
. On Windows this uses SChannel (via theschannel
crate), on macOS it uses Secure Transport via thesecurity-framework
crate, and on Linux it links to OpenSSL with theopenssl
crate. You can continue usingrustls
by compiling with the--no-default-features --features rustls
flags. See the CLI'sCargo.toml
for further details.
Version 1.4.3
Version 1.4.2
Changes in this version:
- Add ability to convert codepoints to characters, e.g.
97 to character
(by @mat-1) - Fix horsepower value (by @probablykasper)
- Fix license files not being included in the workspace member packages (
fend-core
etc.) (by @albertlarsan68)
Version 1.4.1
Changes in this version:
- Fix bug where fend could return incorrect results when calculating exponents or roots of certain units, e.g.
sqrt(milli)
.
Version 1.4.0
Changes in this version:
-
The license of fend has changed. As of v1.4.0, fend is available under the GPL 3.0 (or later). See LICENSE.md for more information.
-
Change unit simplification and unit aliasing to be simpler and more consistent. Units like
%
andmillion
are now simplified unless you explicitly convert your result to one of those units. fend will now also simplify certain combinations of units, such asvolts / ohms
becomingamperes
.For example:
> 5% 0.05 > 46 million 46000000 > 0.5 to % 50% > 34820000 to million 34.82 million > (5 volts) / (2 ohms) 2.5 amperes > 3 feet * 125 kg * s^-2 114.3 newtons > c / (145MHz) approx. 2.0675341931 meters
-
Rename Windows installer artifacts (MSI files) to also include the version number, e.g.
fend-1.4.0-windows-x64.msi
. -
Replace
nanorand
dependency withrand
, which is better supported and fixes compilation errors on FreeBSD.
Version 1.3.3
Changes in this version:
- Add
pkgx
package (by @michaelessiet) - Add
x86_64-unknown-linux-musl
binary - Fix terminal issues on some architectures such as MIPS (by @eatradish)
Version 1.3.2
Changes in this version:
-
You can now define your own custom units in the
~/.config/fend/config.toml
configuration file. For example:[[custom-units]] singular = 'fortnight' plural = 'fortnights' # plural form is optional, defaults # to singular if not specified definition = '14 days' attribute = 'allow-long-prefix' # this makes it possible to combine this # unit with prefixes like 'milli-' or 'giga-'
See the default config file for more examples.
-
You can now tab-complete Greek letters in the CLI, e.g.
\alpha
becomes α (by @Markos-Th09) -
You can now use the
of
operator to write e.g.5% of 100
(by @fa993) -
Add CGS units (by @Markos-Th09)
Version 1.3.1
Changes in this version:
- Add support for additional imperial and US customary units
Version 1.3.0
Changes in this version:
- Support loading exchange rates from the UN treasury, which supports more currencies than the European Central Bank. This can be configured via the new
exchange-rate-source
option. (by @Markos-Th09) - Exchange rates are now available in fend-web (by @Markos-Th09)
- Support complex numbers in many more situations, including trigonometric functions, logarithms, exponentiation, etc. (by @Markos-Th09)
- Add support for unit prefixes for parsecs (e.g.
Mpc
)
Version 1.2.2
Changes in this version:
- Add crate features to control the TLS implementation: enabling
native-tls
will cause fend to use the operating system's built-in TLS implementation. Therustls
feature, which is enabled by default, will keep the existing native Rust implementation. When both features are disabled, such as when compiling with--no-default-features
, network connectivity will not be available and currency conversions will not work. (by @eatradish) - Add "zł" as an alias for Polish złoty (PLN) (by @twolodzko)
- Add AOSC OS package and installation instructions (by @eatradish)
- Use
windows-sys
instead ofwinapi