Skip to content

Releases: printfn/fend

Version 1.4.4

05 Mar 09:30
Compare
Choose a tag to compare

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 of rustls. On Windows this uses SChannel (via the schannel crate), on macOS it uses Secure Transport via the security-framework crate, and on Linux it links to OpenSSL with the openssl crate. You can continue using rustls by compiling with the --no-default-features --features rustls flags. See the CLI's Cargo.toml for further details.

Version 1.4.3

23 Feb 08:08
Compare
Choose a tag to compare

Changes in this version:

  • Add floor, ceil and round functions (by @frectonz)
  • Add ¥ symbol for Japanese Yen (by @frectonz)
  • Support power notation using Unicode superscript digits (e.g. 20²) (by @frectonz)

Version 1.4.2

23 Jan 10:18
Compare
Choose a tag to compare

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

07 Jan 07:58
Compare
Choose a tag to compare

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

27 Dec 08:30
Compare
Choose a tag to compare

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 % and million are now simplified unless you explicitly convert your result to one of those units. fend will now also simplify certain combinations of units, such as volts / ohms becoming amperes.

    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 with rand, which is better supported and fixes compilation errors on FreeBSD.

Version 1.3.3

08 Dec 08:13
Compare
Choose a tag to compare

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

11 Nov 09:50
Compare
Choose a tag to compare

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

26 Oct 08:36
Compare
Choose a tag to compare

Changes in this version:

  • Add support for additional imperial and US customary units

Version 1.3.0

16 Oct 08:12
Compare
Choose a tag to compare

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

13 Sep 21:51
Compare
Choose a tag to compare

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. The rustls 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 of winapi