Repository navigation
v0.12.0
·
43 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Highlights
Recipes. A bean can now hold named, reusable recipes, so the settings that worked
last time are one click away instead of lost in the brew log. Recipes are optional:
no bean gets one during the upgrade, and brewing without a recipe works as before.
- Create, edit and delete recipes from the bean detail page. A recipe holds the
method, grinder, dose, target yield or water, grind, temperature and target time. - Brew from a recipe. This opens the brew form filled in from the recipe, and you
can change anything to match what you actually did. The brew keeps its own copy of
the values, so editing the recipe later never changes brews you already logged. - Save as recipe. Turn any brew into a new recipe from its actions menu.
- Favorites. Star the recipes you use and they appear first. Favorites belong to
you alone and change nothing for anyone else. - Provenance. A brew shows which recipe it started from. If that recipe is deleted,
the brew and all of its measurements stay; only the link to the recipe goes away. - Recipes follow the shared-log rules. Anyone can read or brew from any recipe, and
only its creator or an admin can edit or delete it. Deleting a bean deletes its
recipes, and merging beans moves them to the target bean.
API
- New endpoints: recipe CRUD under
/api/v1/beans/{bean_id}/recipesand
/api/v1/recipes/{recipe_id}, favorite/unfavorite via
PUT/DELETE /api/v1/recipes/{recipe_id}/favorite, and
POST /api/v1/recipes/{recipe_id}/brewsto brew from a recipe. - Brews expose a nullable
recipe_id. - Stricter validation on brewing fields. Masses are capped at 9999.99 g,
temperature at 999.9 °C (and it can no longer be negative), TDS at 99.99 %, grind
setting at 100 characters and notes at 10,000 characters. These limits match what the
database can store, so out-of-range values now return422instead of failing at
the database.
Demo
- The live demo resets every night. A scheduled workflow empties the data and
reseeds a small log, and it also recreates the documented demo account, so the demo
recovers even if a visitor changes its password. (#39) - The README links to the live demo. (#38)
Upgrading
This release adds a migration: it creates the new recipe and recipe_favorite
tables and adds brew.recipe_id. The migration runs automatically at startup
(alembic upgrade head). No configuration changes. Pull jpizquierdo/bloom:0.12.0.
What's Changed
- docs: link the live demo from the README by @jpizquierdo in #38
- feat: reset the demo instance nightly by @jpizquierdo in #39
- Feature/recipes by @ealkalai in #41
- chore: bump version to 0.12.0 by @jpizquierdo in #42
New Contributors
Full Changelog: v0.11.0...v0.12.0