Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Update grocy/grocy to v4.4.0 #471

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 24, 2025

This PR contains the following updates:

Package Update Change
grocy/grocy minor v4.3.0 -> v4.4.0

Release Notes

grocy/grocy (grocy/grocy)

v4.4.0: Version 4.4.0

Compare Source

New Feature: External Barcode Lookups as a product picker workflow + a built-in Plugin for Open Food Facts
  • Added a new product picker workflow "External barcode lookup"
    • This executes the configured barcode lookup plugin with the given barcode
    • If the lookup was successful, the product edit page of the created product is displayed where the product setup can be completed (if required)
    • After that, the transaction is continued with that product as usual
    • A plugin for Open Food Facts is now included and used by default (see the config.php option STOCK_BARCODE_LOOKUP_PLUGIN and maybe change it as needed)
      • The product name and image (and of course the barcode itself) are taken over from Open Food Facts to the product being looked up
    • => Quick video demo (using a Barcode Laser Scanner): https://www.youtube.com/watch?v=-moXPA-VvGc
    • => Quick video demo (using Browser Camera Barcode Scanning): https://www.youtube.com/watch?v=veezFX4X1JU
Stock
  • Added a new stock setting (top right corner settings menu) "Show all out of stock products" to optionally also show all out of stock products on the stock overview page (defaults to disabled, so no changed behavior when not configured)
    • By default the stock overview page lists all products which are currently in stock or below their min. stock amount
    • When this new setting is enabled, all (active) products are always shown
  • Added a new product option "Can't be opened"
    • When enabled the product open functionality for that product is disabled
    • Defaults to disabled, so no changed behavior when not configured
  • Added a new product option "Default purchase price type"
    • Can be used to set the default price type (Unit price / Total price) on the purchase page per product
    • Previously "Unit price" was the default on purchase and the selection was not saved and not reset when selecting another product, means the price type selection was retained when doing multiple purchase transactions in one go
    • The default for the new product option is "Unspecified" which keeps the previous behavior
  • When products are automatically added to the shopping list (e.g. by the "below defined min. stock amount"-functionality or when adding missing recipe ingredients) the product's "Default quantity unit purchase" is now used (instead of the product's "Quantity unit stock")
  • Product barcode matching is now case-insensitive
  • Added a new column "Product picture" on the products list (master data) page (hidden by default)
  • Optimized that when navigation between the different "Group by"-variants on the stock report "Spendings", the selected date range now remains persistent
  • Added a new "Presets for new products" stock setting for the "Default stock entry label" option of new products
  • Added a trendline to the price history chart (product card)
  • Added a "Add to shopping list"-button on the product card
  • Optimized that when moving a product to a freezer location (so when freezing it) the due date will no longer be replaced when the product option "Default due days after freezing" is set to 0
  • The "Decimal places allowed" stock settings now have an upper limit of 10 (since such a high number makes not so much sense in reality and causes form validation problems)
  • Fixed that a once set quantity unit on a product barcode could not be removed on edit
  • Fixed that when consuming a specific stock entry which is opened, and which originated from a before partly opened stock entry, the unopened one was wrongly consumed instead
Shopping list
  • Added a new shopping list setting (top right corner settings menu) "Round up quantity amounts to the nearest whole number"
    • When enabled, all quantity amounts on the shopping list are always displayed rounded up to the nearest whole number
    • Defaults to disabled, so no changed behavior when not configured
Recipes
  • Consuming a recipe is now also possible when not all needed ingredients are currently in stock (the in stock amount, if any, of the corresponding ingredient will be consumed in that case)
  • For in stock ingredients, the amount actually in stock is now displayed next to the hint "Enough in stock"
  • Added a new recipe ingredient option "Round up quantity amounts to the nearest whole number"
    • When enabled, resulting quantity amounts (after scaling according the desired serving amount) are always rounded up to the nearest whole number
    • Defaults to disabled, so no changed behavior when not configured
  • Optimizations/changes when adding missing recipe ingredients to the shopping list:
    • When the ingredient option "Only check if any amount is in stock" is enabled and when no corresponding unit conversion exists, the amount/unit is now taken "as is" (as defined in the recipe ingredient) into the created shopping list item
    • The shopping list item no longer gets a note "Added for recipe" set and the ingredient note is no longer appended
    • When the corresponding product is already on the shopping list, the amount of the existing item is incremented instead of creating a new shopping list item
    • When a new shopping list item is created, the product's "Default quantity unit purchase" is now used (instead of the product's "Quantity unit stock")
  • When no price information is available for at least one ingredient, a red exclamation mark is now displayed next to the recipe total cost information
  • When clicking a recipe ingredient / product name, the product card will now be opened like on many other places throughout Grocy
  • Fixed that calories/costs of recipe ingredients were wrong when the ingredient option "Only check if any amount is in stock" was set and the on the ingredient used quantity unit was different from the product's QU stock
  • Fixed that multi-nested recipes (at least 3 levels of "included recipes") resulted in wrong amounts/costs/calories calculated for the ingredients originating in those nested recipes (also affected the meal plan)
Meal plan
  • Fixed that amounts/costs/calories were wrong for recipes which had at least 2 levels of "included recipes"
Chores
  • Added a possibility to see if a scheduled chore was tracked/done on time or not:
    • When tracking chores, the "Next estimated tracking date" (so the current scheduled time) is now also stored in the corresponding chore journal entry and displayed in a new column "Scheduled tracking time" on the chores journal page
    • When the "Tracked time" is later than the "Scheduled tracking time", the corresponding chore journal entry is now highlighted in red on the chores journal page
  • Added a new column "Time of tracking" on the chores journal page (displays the time when the tracking actually happened, hidden by default)
  • Added a new option "Swap track next schedule / track now buttons" (chores settings / top right corner settings menu) to swap the "Track next chore schedule" / "Track chore execution now" buttons/menu items on the chores overview page (defaults to disabled, so no changed behavior when not configured)
Userfields
  • Optimized Userfields of type "Checkbox"
    • When it's a mandatory Userfield, the initial state of the corresponding checkbox is now indeterminate, means it's now also possible to actively not check it (previously mandatory meant the checkbox has to be set)
  • Fixed that Userfield default values were not initialized for the stock entity (so affecting the purchase and inventory page)
  • Fixed that uploading bigger or multiple files (so when the upload usually takes a little longer) didn't work (Userfield type "File")
General
  • Optimized nested modal dialogs:
    • Nested dialogs are now no longer displayed "in each other" and instead "on top of each other"
    • Dialogs can now be closed with the ESC key on the keyboard
    • There is no longer a close button at the bottom (outside of the displayed iframe) and instead one at the top right corner of the dialog
    • Wide dialogs (e.g. all showing a table, like showing stock entries of a product from the stock overview more/context menu per line) now use the full screen width
  • Improved the handling of the initial field focus on form pages
  • The previously manually necessary update steps (e.g. emptying the data/viewcache directory) are now fully automated, so no need to do this manually after this and future updates

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. labels Jan 24, 2025
Copy link

coderabbitai bot commented Jan 24, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants