Skip to content

Commit

Permalink
make units.toml configuration more intuitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Zheoni committed Nov 30, 2023
1 parent 2960014 commit 2277465
Show file tree
Hide file tree
Showing 6 changed files with 312 additions and 242 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
- Reworked error model.
- Removed `Ingredient::total_quantity`.
- Change `Cookware::group_amounts` return type.
- Several changes in UnitsFile:
- System is no longer set when declaring a unit with an unspecified system as best of a specific system.
- `extend.names`, `extend.aliases` and `extend.symbols` are now combined in `extend.units`.

### Features
- New warning for bad single word names. It could be confusing not getting any
Expand All @@ -34,6 +37,12 @@
- Added `ScaledRecipe::group_cookware`.
- Rework `GroupedQuantity` API and add `GroupedValue`.
- Ignored ingredients in text mode are now added as text.
- Several features in UnitsFile to make it more intuitive:
- The best unit of a system can now be from any system. It's up to the user if
they want to mix them.
- New `extend.units`, which allows to edit the conversions.
- Improve and actually make usable the fractions configuration. Now with an
`all` and `quantity.<physical_quantity>` options.

### Fixed
- Text steps were ignored in `components` mode.
Expand Down
Loading

0 comments on commit 2277465

Please sign in to comment.