Skip to content

Releases

dotBeer 1.1.0

Choose a tag to compare

@matty0ung matty0ung released this 16 Nov 21:04

dotBeer 1.1.0

This is a minor release. Every file that is valid under 1.0.0 is still valid under 1.1.0, and all the new fields are optional.
This is used in Brewtarget 5.3.0 and Brewken 5.3.0.

New fields

  • locked on Mash, Boil and Fermentation. This marks a shared profile, such as a standard mash used by many recipes, as one that shouldn't be changed. Software that supports locking should refuse to edit or delete a locked item until the user explicitly unlocks it. It should still let the item be used in recipes and copied, and the copy is not locked. Software that doesn't support locking can ignore the field. If it's absent, the item is not locked.
  • target_mash_pH on Recipe. This is the mash pH the brewer is aiming for, measured at room temperature, so that software can work out acid additions.
  • Wort clarity, using the new WortClarity enum, which runs from very clear to extremely cloudy:
    • wort_clarity on Recipe records the clarity the brewer expects going into the fermenter. If absent, average is assumed.
    • measured_wort_clarity on the brew log records what was actually seen on brewday.
  • krausen_handling on Fermentation records what happens to the krausen: mixed in, deposits from minor to very heavy, or blown off, with slow, normal and vigorous variants. If absent, medium deposits is assumed.

Wort clarity and krausen handling are inputs to John-Paul Hosom's SMPH model of IBUs, and their values map one-to-one onto the categories in his calculator.

Clarifications

  • Telling boil steps apart. The rules for classifying boil steps as pre-boil, boil proper or post-boil now use the order of the steps as well as their temperatures:

    • The boil proper starts with the first step that is at or above 81°C throughout and doesn't cool during the step.
    • It continues until the wort starts to cool, whether that happens during a step or between steps.
    • Everything before the boil proper is pre-boil, and everything after it is post-boil.

    Because steps are compared with each other rather than with 100°C, this works at any altitude: after a boil at 95°C, a whirlpool held at 93°C counts as post-boil.

Versioning and tooling

  • Fields added after 1.0.0 now carry an x-since annotation, for example "x-since": "1.1.0". The generated docs show it in a new "Since" column. JSON Schema validators ignore annotations that start with x-, so this doesn't affect validation.
  • scripts/validate.py now:
    • warns when a file uses a field added in a later schema version than the file's own version
    • checks that the x-since annotations in the schema are themselves valid
  • The schema $ids and all the example files have been bumped to 1.1.0. AmericanPaleAle.beer now shows locked in use.

Full changelog: 1.0.0...1.1.0

dotBeer 1.0.0

Choose a tag to compare

@matty0ung matty0ung released this 31 Oct 14:09

Initial release.
This is used in Brewtarget 5.2.0 and Brewken 5.2.0.