mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 15:49:25 +01:00
77 lines
3.3 KiB
Markdown
77 lines
3.3 KiB
Markdown
> ⚠️ PHP 8.1 (with SQLite 3.34.0+) is from now on the only supported runtime version.
|
|
|
|
> ❗ The major version bump is due to breaking API changes, please see below if you use the API.
|
|
|
|
> _Recommendation: Benchmark tests showed that e.g. unit conversion handling is up to 5 times faster when using a more recent (3.39.4+) SQLite version._
|
|
|
|
### New feature: xxxx
|
|
|
|
- xxx
|
|
|
|
### Stock
|
|
|
|
- Quantity unit conversions now support transitive conversions, means the QU hierarchy has now unlimited levels (thanks a lot @esclear)
|
|
- The product option "Factor purchase to stock quantity unit" was removed
|
|
- => Use normal product specific QU conversions instead, if needed
|
|
- An existing "Factor purchase to stock quantity unit" was automatically migrated to a product specific QU conversion
|
|
- New product option "Default quantity unit consume"
|
|
- Will be used/selected as the default quantity unit on the consume page
|
|
- The product's "Quick consume amount" is now displayed related to this quantity unit ("quick consume/open buttons" on the stock overview page)
|
|
- Defaults to the product's "Quantity unit stock" (so no changed behavior when not configured)
|
|
- Fixed that hiding the "Purchased date" column (table options) on the stock entries page didn't work
|
|
- Fixed that the consumed amount was wrong, when consuming multiple substituted subproducts at once and when multiple/different conversion factors were involved
|
|
|
|
### Shopping list
|
|
|
|
- Added a new button "Clear done items" (to clear all done items with one click)
|
|
|
|
### Recipes
|
|
|
|
- Changed that when a ingredient has a "Variable amount" set, the text entered there now also replaces the unit when displaying the recipe (not only the amount as before)
|
|
- Fixed that hiding the "Requirements fulfilled" column (table options) on the recipes page didn't work
|
|
- Fixed that ingredient costs and calories were wrong when product substitution and unit conversions were involved at the same time
|
|
|
|
### Meal plan
|
|
|
|
- xxx
|
|
|
|
### Chores
|
|
|
|
- xxx
|
|
|
|
### Calendar
|
|
|
|
- xxx
|
|
|
|
### Tasks
|
|
|
|
- Fixed that hiding the "Category" column (table options) on the tasks page didn't work
|
|
|
|
### Batteries
|
|
|
|
- xxx
|
|
|
|
### Equipment
|
|
|
|
- xxx
|
|
|
|
### Userfields
|
|
|
|
- Product group Userfields are now also rendered on the shopping list
|
|
|
|
### General
|
|
|
|
- xxx
|
|
|
|
### API
|
|
|
|
- ⚠️ **Breaking changes**:
|
|
- The product property `qu_factor_purchase_to_stock` was removed (existing factors were migrated to normal product specific QU conversions, see above)
|
|
- Numbers are now returned as numbers (so technically without quotes around them, were strings for nearly all endpoints before)
|
|
- Endpoint `/stock/products/{productId}`:
|
|
- Added a new field/property `qu_conversion_factor_purchase_to_stock` for convenience (contains the conversion factor of the corresponding QU conversion from the product's qu_id_purchase to qu_id_stock)
|
|
- Added a new field/property `default_quantity_unit_consume` (contains the quantity unit object of the product's "Default quantity unit consume")
|
|
- The following entities are now also available via the endpoint `/objects/{entity}` (only listing, no edit)
|
|
- `quantity_unit_conversions_resolved` (returns all final/resolved conversion factors per product and any directly or indirectly related quantity units)
|
|
- The endpoint `/batteries` now also returns the corresponding battery object (as field/property `battery`)
|