Skip to content

Releases

v0.16.0

Choose a tag to compare

@jpizquierdo jpizquierdo released this 25 Nov 18:20
Immutable release. Only release title and notes can be modified.
79096fe

⚠️ Before you upgrade

  • New migration: a7c3e9d1b582 adds the nullable, unique user.oidc_subject column. It runs on startup as usual and needs no action (#83).
  • Nothing else changes until you set the OIDC_* variables.

Features

  • Optional OpenID Connect single sign-on (Keycloak, Authentik, Pocket ID, Entra ID…). Accounts are matched by the provider's sub, then by verified email, so existing users keep their data. OIDC_ADMIN_GROUPS syncs the admin role from the provider's groups, OIDC_ALLOWED_GROUPS gates who gets in, and DISABLE_LOCAL_AUTH turns passwords off and sends the login page straight to the provider. Linking or creating an account by email needs email_verified=true unless OIDC_REQUIRE_EMAIL_VERIFIED=false. Setup and provider guides are in docs/SSO.md (#83).
  • The demo seeds 24 older brews so the log runs past one page (#82).

Internal

  • Refreshed README screenshots with dark variants (#81).

Tested as v0.16.0-rc1 before this release.

Full changelog: v0.15.0...v0.16.0

v0.16.0-rc1

v0.16.0-rc1 Pre-release
Pre-release

Choose a tag to compare

@jpizquierdo jpizquierdo released this 24 Nov 22:56
Immutable release. Only release title and notes can be modified.
79096fe

Release candidate for 0.16.0, for testing before the final release. The image is published only as jpizquierdo/bloom:0.16.0-rc1; latest and 0.16 are not moved.

What's new since 0.15.0

New

  • Optional OpenID Connect single sign-on with group-based roles, an allowed-groups gate, and DISABLE_LOCAL_AUTH to turn passwords off. Off until the OIDC_* variables are set; see docs/SSO.md (#83).
  • The demo seeds 24 older brews so the log runs past one page (#82).

Needs attention on upgrade

  • Migration a7c3e9d1b582 adds the nullable, unique user.oidc_subject column; it runs on startup as usual (#83).
  • With SSO on, linking or creating an account by email needs email_verified=true unless OIDC_REQUIRE_EMAIL_VERIFIED=false (#83).

Docs

  • Refreshed README screenshots with dark variants (#81).

v0.15.0

Choose a tag to compare

@jpizquierdo jpizquierdo released this 24 Nov 10:28
Immutable release. Only release title and notes can be modified.
f511758

⚠️ Before you upgrade

  • JWT_SECRET is now required: at least 32 characters, or the app refuses to start. The old placeholder no longer works. Generate one with openssl rand -hex 32 (#71).
  • Case-insensitive emails, with a migration: Bob@x.com and bob@x.com are now the same account. If two existing accounts differ only by case, the migration stops on startup and names them. Merge or rename them, then start again (#74).
  • GET /brews and GET /tastings return { items, total }, paged with limit/offset, instead of a bare list. Anything outside the web UI that reads them must use .items (#76).
  • Sessions last 12 h by default (was 48 h). Set ACCESS_TOKEN_EXPIRE_HOURS to change it (#77).

Features

  • Paged brew and tasting logs. Brews, tastings and a bean's brews load 24 at a time with Load more. Brew filters and search run on the server, so pages cost the same whatever the size of the log (#76).

Security and fixes

  • Rate limiting on login and password recovery, and constant-time misses for unknown accounts (#72).
  • A JWT secret check at startup (#71).
  • CORS allows only the methods and headers the UI uses, and failed-login logs no longer include what was typed (#77).
  • The compose file publishes Postgres and Mailpit on 127.0.0.1 only, since the Mailpit inbox holds password-reset links (#75).
  • Concurrent duplicate writes (users, tastings) return 409 instead of 500 (#73).
  • Startup migrations run under an advisory lock, so several workers or replicas can start together (#77).

Internal

  • User rules moved into the service layer, and one error-to-status table (#73, #78).
  • Python 3.14 is now the minimum version (#77).
  • The demo deploys only after CI passes (#78).
  • The iOS Shortcuts guide is removed (#76).
docker pull jpizquierdo/bloom:0.15.0

Full changelog: v0.14.1...v0.15.0

v0.14.1

Choose a tag to compare

@jpizquierdo jpizquierdo released this 09 Nov 07:31
Immutable release. Only release title and notes can be modified.
9706c6d

Fixes

  • Fix the Docker image build, which failed in v0.14.0: .python-version pinned Python 3.13 while the image runs 3.14. Python is now aligned to 3.14 across .python-version and the CI workflows (#68).

v0.14.0 has no Docker image. Its build failed and the immutable tag cannot be moved. Use jpizquierdo/bloom:0.14.1, which contains everything from 0.14.0 (quick ratings, PyJWT migration, FastAPI 0.162).

docker pull jpizquierdo/bloom:0.14.1

No database migrations and no configuration changes.

Full changelog: v0.14.0...v0.14.1

v0.14.0

Choose a tag to compare

@jpizquierdo jpizquierdo released this 09 Nov 07:18
Immutable release. Only release title and notes can be modified.
12b2a3a

⚠️ No Docker image was published for v0.14.0 (its build failed and this immutable tag cannot be moved). Use jpizquierdo/bloom:0.14.1 instead: same code, with the build fixed. See v0.14.1.

What's new

⭐ Quick ratings

  • Rate a brew's overall score with one click, without opening the tasting dialog. Available on the dashboard's Your recent brews, the Brews list (next to "Not tasted yet") and the brew detail page.
  • A quick rating creates a tasting that only holds the overall score. Clearing the stars of such a tasting deletes it, so no empty tastings are left behind. If the tasting has other scores, notes or descriptors, only the overall score is removed.
  • Rate a bean straight from the Beans list and its detail page. As before, only the bean's creator or an admin can edit its rating; for everyone else it stays read-only.

🔒 Security

  • Replaced the unmaintained python-jose (with known vulnerabilities) with PyJWT. Tokens are compatible: your existing JWT_SECRET keeps working and already-issued sessions stay valid. No action needed on upgrade.
  • Dropped python-jose and its transitive dependencies (rsa, ecdsa, six).

🔧 Under the hood

  • FastAPI bumped to 0.162.
  • Dependency updates: pyasn1, dnspython, certifi, mako, zod, vite, seroval, source-map-js.
  • Added .python-version.

Upgrading

No database migrations and no configuration changes. Pull the new image:

docker pull jpizquierdo/bloom:0.14.1

PyJWT warns when an HS256 secret is shorter than 32 bytes. If your JWT_SECRET is short, consider generating a longer one (this will sign everyone out once).

Full changelog: v0.13.1...v0.14.0

v0.13.1

Choose a tag to compare

@jpizquierdo jpizquierdo released this 04 Oct 20:49
Immutable release. Only release title and notes can be modified.
72f3abd

Highlights

Mark a lot as finished in one click. The row menu (⋯) of each lot on the bean detail
page now has Mark as finished, so you no longer need to open the edit dialog and flip
the switch. A finished lot shows Reopen instead, in case of a misclick. The action only
appears on lots you can edit (your own, or any if you are an admin), and finished lots
drop out of the "Open lots only" bean list as before. (#54)

Upgrading

Frontend-only change: no API change, no migration, no configuration changes. Pull
jpizquierdo/bloom:0.13.1.

What's Changed

Full Changelog: v0.13.0...v0.13.1

v0.13.0

Choose a tag to compare

@jpizquierdo jpizquierdo released this 04 Oct 16:19
Immutable release. Only release title and notes can be modified.
21d504a

Highlights

Find the coffee you can brew right now. With many beans it was hard to remember which
ones you still have an open bag of. The Beans page now shows only beans where you have
an unfinished lot, with an "Open lots only" switch to see everything. The bean picker in
the New brew dialog does the same, with a "Show beans without an open lot" checkbox. When a
brew is opened pre-filled (edit, from a recipe, brew again, from a bean page) every bean is
still listed, so the preselected one never disappears. (#50)

Tastings no longer have their own date. A tasting happens at the brew's moment, so the
separate "Tasted at" field carried no information beyond the brew date. It is removed from
the form, the API and the database. The Tastings page shows the brew's date and lists
tastings newest first. (#51)

API

  • GET /api/v1/beans accepts ?open_lot=true (only beans where you have an unfinished
    lot); it can be combined with ?mine=true.
  • Breaking: tasted_at is removed from the tasting request and response bodies.
    Clients that still send it have it ignored; clients that read it should use the brew's
    brewed_at instead. The iOS Shortcut docs are updated accordingly.

Demo

  • The demo reset now seeds five recipes, two of them favorited, and links the matching
    seeded brews to their recipe, so the recipes feature is visible on the live demo. (#52)

Upgrading

This release adds a migration: it drops tasting.tasted_at. The migration runs
automatically at startup (alembic upgrade head). No configuration changes. Pull
jpizquierdo/bloom:0.13.0.

Downgrading re-creates the column and fills it from each brew's brewed_at; the original
tasting times are not recoverable.

What's Changed

  • feat: filter beans by the user's open lots by @jpizquierdo in #50
  • refactor: drop tasting.tasted_at by @jpizquierdo in #51
  • feat: seed recipes in the demo reset script by @jpizquierdo in #52
  • chore: bump version to 0.13.0 by @jpizquierdo in #53
  • Dependency bumps: cryptography 50.0.0 (#46), urllib3 2.8.0 (#45), baseline-browser-mapping (#47), nanoid 3.3.19 (#48), postcss 8.5.28 (#49)

Full Changelog: v0.12.0...v0.13.0

v0.12.0

Choose a tag to compare

@jpizquierdo jpizquierdo released this 29 Sep 19:20
Immutable release. Only release title and notes can be modified.
b7d602a

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}/recipes and
    /api/v1/recipes/{recipe_id}, favorite/unfavorite via
    PUT/DELETE /api/v1/recipes/{recipe_id}/favorite, and
    POST /api/v1/recipes/{recipe_id}/brews to 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 return 422 instead 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

New Contributors

Full Changelog: v0.11.0...v0.12.0

v0.11.0

Choose a tag to compare

@jpizquierdo jpizquierdo released this 28 Jul 15:06
Immutable release. Only release title and notes can be modified.
54ed880

Highlights

Filtering on the two busiest pages. Beans and Brews now narrow down by more than
the roaster, so finding a coffee in a shared log stops being a scroll.

  • Beans — filter by roast type (filter / espresso / omni / unknown). Picking
    Unknown is a quick way to find the coffees still missing the field.
  • Beans — filter by origin. The dropdown only offers countries that are
    actually in the log, so it never returns an empty list.
  • Brews — filter by method (V60, Espresso, AeroPress…).
  • Brews — "Mine". Show only your own extractions, which is the question that
    comes up most once more than one person is logging.
  • Brews — "Not tasted". Show only the brews you have not scored yet.
  • The Clear button now resets every filter on the page. On Beans it
    previously only reset the roaster.

Fixed

  • Spacing on Beans and Brews. The filter bar sat flush against the cards
    below it, with no gap. (#33)
  • FastAPI Cloud deployments. fastapi run could not find the app, since it
    only auto-discovers main.py/app.py/api.py at the root or under app/.
    The entrypoint is now declared in pyproject.toml, which also means
    fastapi dev and fastapi run work locally without passing a path.

Infrastructure

  • A deploy workflow for the demo on FastAPI Cloud, running on every push to
    main. It builds the web UI into bloom/static the same way the Docker image
    does, and a .fastapicloudignore makes sure those compiled assets are
    uploaded despite being gitignored.
  • GitHub Actions updated across all three workflows: checkout v7,
    setup-node v7, setup-uv v9 (pinned to an exact release — it no longer
    publishes floating major tags)

Upgrading

No migrations and no configuration changes. Pull jpizquierdo/bloom:0.11.0.

What's Changed

  • feat: add funding information and support links in README and create … by @jpizquierdo in #30
  • ci: deploy the demo to FastAPI Cloud and refresh GitHub Actions by @jpizquierdo in #31
  • fix: declare the FastAPI Cloud entrypoint by @jpizquierdo in #32
  • fix(ui): space the beans and brews filter bar from the content below by @jpizquierdo in #34
  • feat(ui): filter beans by roast type and brews by method by @jpizquierdo in #35
  • chore: bump version to 0.11.0 by @jpizquierdo in #37

Full Changelog: v0.10.0...v0.11.0

v0.10.0

Choose a tag to compare

@jpizquierdo jpizquierdo released this 26 Jul 07:07
Immutable release. Only release title and notes can be modified.
bc52edb

✨ Features

  • Duplicate beans are caught before they happen. Adding a bean whose name already exists under the same roaster now warns you inline as you type, with a link to the existing entry, and asks for confirmation on submit. Matching ignores case and spacing, so kirinyaga aa and Kirinyaga AA from the same roaster are recognised as the same coffee.
  • Merge duplicate beans. A new Merge duplicate button on a bean's page folds one entry into another: the duplicate's brews and lots move onto the bean you keep, which also adopts any details it was missing, and the duplicate is deleted. Tastings follow their brews, so nothing is lost. Unlike roaster merge, this needs edit rights on both beans rather than an admin — duplicates are usually your own.
  • Brewing-control-chart bands are now tunable per taste, without a code change. Strength (TDS %) and extraction-yield targets move behind env settings; the defaults in domain/constants.py remain the single source of truth.
  • Immersion gets its own strength band. French press / AeroPress (1.40–1.70) split out from pour-over filter, so the filter band stays tight at 1.15–1.50 instead of being stretched to cover both.

🔧 API

  • POST /beans and PATCH /beans/{id} answer 409 when the name is already taken under that roaster, with a message naming the existing bean. Pass ?allow_duplicate=true to insist — a roaster can genuinely re-release a coffee under the same name.
  • New POST /beans/{id}/merge (body {"source_id": N}), allowed to whoever may edit both beans.
  • Bean names are now whitespace-normalised on write, like roaster names.

⚙️ Configuration

New optional env vars, all defaulting to the previous values — nothing to change unless you want to:

STRENGTH_RANGE_FILTER_LOW=1.15
STRENGTH_RANGE_FILTER_HIGH=1.50
STRENGTH_RANGE_IMMERSION_LOW=1.40
STRENGTH_RANGE_IMMERSION_HIGH=1.70
STRENGTH_RANGE_ESPRESSO_LOW=8.0
STRENGTH_RANGE_ESPRESSO_HIGH=12.0
EY_RANGE_LOW=18.0
EY_RANGE_HIGH=22.0

📝 Notes

  • No database migration, and no breaking changes. Duplicate beans you already have stay exactly as they are until you choose to merge them — there is deliberately no unique constraint, since existing data would have to be deleted or renamed to add one.
  • Existing brews are unaffected by the immersion split; the band is applied when a brew's diagnostics are read, not stored.
  • docs/ARCHITECTURE.md gains decision 22, covering why duplicates are flagged rather than forbidden.

Full changelog: v0.9.0...v0.10.0