Skip to content

Releases: tiffany352/rink-rs

Rink v0.8.0

21 Apr 03:03
v0.8.0
Compare
Choose a tag to compare

Features

Rink has been updated to New SI in #157. This changes several fundamental physical constants to now have exact definitions, rather than experimentally measured ones. Included in this change are updates to several CODATA constants, 4 new SI prefixes, as well as updating the definition of the parsec to the 2015 IAU resolution.

The binary size of Rink is now smaller, by as much as half, changed in #163. Rink now links to the system libcurl when possible, instead of using reqwest.

Rink now has a set of manpages, intended to be installed as part of distro packages. The definitions.units and other files can now be installed to a location like /usr/share/rink as well. The documentation is now stored in-repo in the docs/ directory, which makes pull requests to the docs possible going forward. See PACKAGING.md for how to build and install these. Added in #158.

Rink now supports several additional operators: << logical shift left, >> logical shift right, mod modulo/remainder, and bitwise and, or bitwise or, xor bitwise exclusive-or. (#161)

Recurring digits are now detected and displayed automatically. This change also made the default behavior of to digits show up to 1000 digits, as most numbers will be rendered significantly shorter, and usually you want the extra precision. Added in #162.

> 1/17 to digits
0.[0588235294117647, period 16]...  (dimensionless)

Bugfixes

Invalid dates should no longer cause Rink to crash. (#160)

Trig functions like sin() should now handle units correctly. (#164)

Converting to GB is now interpreted as gigabytes, not a British timezone. (#129)

Specific heat is no longer expressed in terms of gray, which is the SI unit of ionizing radiation. (#13)

New website

https://rinkcalc.app/about

Rink's website has been updated. It now contains documentation, releases, and an updated web version of Rink.

The web version is now a proper REPL, so the page contains the history of queries you ran. It also has a number of usability improvements like keeping the input bar focused, up/down arrows to access history, and a progress indicator on downloading the WASM blob on slow connections.

Other changes

The git tag for this release is signed with my GPG key. I'll try doing this going forward.

Full Changelog: v0.7.0...v0.8.0

SHA256 hashes

47cbdb551bcd73246ca7cb8e6223934fe6c6ace476a1ff5a3d960183069adf81  Rink.CLI.Linux.zip
be4ae1036cd23c8aae3d95b831f8e3d651cb057135a57363833ccce439d12b9d  Rink.CLI.Windows.zip
39e5f57dab48e6d3b3e5592bdf9cc711656e0db8c76d67106e27f8d7628c2ef1  Rink.CLI.macOS.zip

Rink 0.7.0

07 Jan 04:06
Compare
Choose a tag to compare

Rink Core

  • Fixed a hang when using certain units like Tim and Tm (#151)
  • Adjust Croatian kuna after euro adoption (#152) by @kotarac
  • Quantities are now in their own namespace (#125)

Breaking Changes

For the full details see BREAKING-CHANGES.md.

  • Code reorganization (#123)
  • Context refactor (#124)

New Contributors

Full Changelog: v0.6.3...v0.7.0

Rink 0.6.3

25 Mar 02:50
Compare
Choose a tag to compare

Rink CLI

  • Save history on error as well as success by @RX14 in #112
  • Fixed failing build on systems with OpenSSL 3.0 (#121)
  • Respects NO_COLOR environment variable (#120)

Rink Web

  • Fixed errors caused by the Ruble being deleted from the ECB currency API (#115)

New Contributors

No changes to rink-core in this release.

Full Changelog: v0.6.2...v0.6.3

Rink 0.6.2

31 Oct 22:27
Compare
Choose a tag to compare

Rink Core

  • Provide result of previous calculation with ans by @leftshift (#107)
  • Fixed some display issues when using syntax colored output. (#91)
  • Updated to the permanent names for elements 113, 115, 117, and 118. (#105)

Rink CLI

Full Changelog: v0.6.1...v0.6.2

Rink 0.6.1

25 Apr 21:34
Compare
Choose a tag to compare

Rink CLI

Fixes errors when downloading currency data (#92). This was caused by trying to rename a file across filesystems.

Other Changes

This release only includes the CLI, 0.6.0 is still the current version for rink-core and rink-web.

Rink 0.6.0

06 Apr 01:03
Compare
Choose a tag to compare

Rink CLI

  • New currency fetching behavior. (#76)
  • Optional colored output mode. (Disabled by default.)
  • Config file support for controlling both. (#86)
  • Switched from linefeed to rustyline.

Previously, Rink fetched currency by separately hitting blockchain.info and the European Central Bank. The ECB's servers in particular can be quite slow to respond, often several seconds. Now, currency data is fetched by hitting this endpoint: https://rinkcalc.app/data/currency.json, which returns both the bitcoin and ECB data. This should be significantly faster than the old endpoints, although it may depend on your location.

Rink Web

If you use rinkcalc.app, that tends to track master rather than releases like this one.

  • Switched from polka to express, fixing a bug with some queries returning errors.
  • Fixed durations showing incorrectly.
  • Fixed a one-month offset in dates (#84), thanks to orzFly.

Other changes

  • Updated various dependencies to latest. (#89)

Breaking API changes

  • Many AST types were changed from tuple variants to struct fields, also affecting Serde output.
  • Added an ExprString wrapper in several places, replacing previous uses of Expr.
  • Currency data parsing code has been removed from rink-core. Loading this data is a bit different now, an example can be found here.

Rink 0.5.1

30 Aug 05:08
Compare
Choose a tag to compare
  • Rink web 2.0, which resulted in several refactors in rink-core.
  • Fix crash when processing NaN values (#68).
  • Fix large floating point values causing a panic due to division by zero (#67).

Rink 0.5

18 Jul 09:33
Compare
Choose a tag to compare
  • Definition for common hormones have been added.
  • Dates with offsets should parse correctly now.
  • Cargo.lock is now included, which should help avoid build failures on computers other than mine.
  • Several dependencies updated.
  • Removed dependency on GMP, which makes it dramatically easier to build and develop Rink on Windows. Num is now used instead.
  • CLI uses clap now and allows passing expressions to evaluate as arguments.

v0.4.5

31 Oct 04:18
70e309c
Compare
Choose a tag to compare
  • Fixed some warnings
  • Fixed potential future breakage (#41)
  • Replaced hyper with reqwest, using more up to date versions (#42)
  • Parse unicode minus sign as a minus sign (#33)