-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dff5c4c
commit a2bb73c
Showing
5 changed files
with
70 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
## Rink 0.7.0 | ||
|
||
### Behavior | ||
|
||
- Quantities are now in a separate namespace from normal units. | ||
|
||
### Changes | ||
|
||
- `Dimensionality` changed from an alias of BTreeMap to its own struct. | ||
- Several fields of `Context` were moved to the `loader::Registry` | ||
object stored as a field on it. | ||
- Also moved `lookup_exact` and `lookup_with_prefix` there. | ||
- `dimensions` field renamed to `base_units`. | ||
- `reverse` field renamed to `decomposition_units`. | ||
- `canonicalizations` field renamed to `base_unit_long_names`. | ||
- `Def::Prefix` and `Def::SPrefix` have been merged to an `is_long` bool | ||
on `Def::Prefix`. `SPrefix` is `is_long == true`. | ||
- `Def::Dimension` and `Def::Canonicalization` were merged to create | ||
`Def::BaseUnit`. | ||
|
||
### Removals | ||
|
||
- `Context::short_output` | ||
- `factorize::fast_decompose` | ||
- `search::search` | ||
|
||
### Moves & Renames | ||
|
||
| old | new | | ||
| ------------------------------ | ----------------------------------- | | ||
| `bigint::BigInt` | `types::BigInt` | | ||
| `bigrat::BigRat` | `types::BigRat` | | ||
| `context::Context` | `loader::Context` | | ||
| `Context::eval_outer` | `Context::eval_query` | | ||
| `date::from_duration` | `parsing::datetime::from_duration` | | ||
| `date::GenericDateTime` | `types::GenericDateTime` | | ||
| `date::parse_datefile` | `parsing::datetime::parse_datefile` | | ||
| `date::to_duration` | `parsing::datetime::to_duration` | | ||
| `Def::Dimension` | `Def::BaseUnit` | | ||
| `factorize::factorize` | `commands::factorize` | | ||
| `factorize::Factors` | `commands::Factors` | | ||
| `fmt` | `output::fmt` | | ||
| `formula` | `parsing::formula` | | ||
| `gnu_units` | `loader::gnu_units` | | ||
| `load::load_defs` | `loader::load_defs` | | ||
| `number::Dimension` | `types::BaseUnit` | | ||
| `number::Number` | `types::Number` | | ||
| `number::NumberParts` | `output::NumberParts` | | ||
| `number::Quantity` | `types::Dimensionality` | | ||
| `numeric::Digits` | `output::Digits` | | ||
| `numeric::Numeric` | `types::Numeric` | | ||
| `numeric::NumericParts` | `output::NumericParts` | | ||
| `reply` | `output` | | ||
| `search::query` | `commands::search` | | ||
| `search::SearchResult` | `commands::SearchResult` | | ||
| `substance::Properties` | `runtime::Properties` | | ||
| `substance::Property` | `runtime::Property` | | ||
| `substance::Substance` | `runtime::Substance` | | ||
| `substance::SubstanceGetError` | `runtime::SubstanceGetError` | | ||
| `text_query` | `parsing::text_query` | | ||
| `value::Show` | `runtime::Show` | | ||
| `value::Value` | `runtime::Value` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters