Skip to content

Releases: AndreWohnsland/CocktailBerry

v1.11.1 - The Time is Now

01 Dec 16:32
74362d0
Compare
Choose a tag to compare

This small release brings you finally not only prebuild docker images, but also a pipeline, which builds them automatically on a release!

Deprecation warning ❗: The latest RPi OS, as well as most general OS, ships with at least Python 3.9. In the future, this will be the needed Python version. Up to now, CocktailBerry will still work fine with Python 3.7, as described. But to use some newer (3.8) features in the future, as well as just to keep everything up to time, 3.9 will be mandatory with the future release. This will also prevent future automatic updates.

🆕 New Features of this Release

  • Automatic building of docker services
  • Added documentation to docs for new things

🔧 Dev Notes

  • Shell run scripts will now pipe output into txt file

🐛 Bugfixes

  • Fixed a bug in one of the dockerfiles causing the app not to run
  • Fixed the config name "EXP_MAKER_FAKTOR" to "EXP_MAKER_FACTOR", you may need to set this config again to your value

v1.11.0 - The Time is Now

21 Nov 18:04
6f45e2f
Compare
Choose a tag to compare

This release will bring you many little, nice changes and quality upgrades! You have now the option to adjust the system time, if you got no internet currently and the time is not right. This is especially useful when using a microservice and buffer the data, because the maketime will then be correct in your data. Many components received a fresh new look, you will notice it especially at the scrollbars, as well with a star at recipe names, indicating virgin mode is possible. The user of the machine may also have to do less manual work, depending on how you structured your recipes and bottle setup. Ingredients defined to be added via hand, but currently connected to CocktailBerry will now be automatically added by the machine. At startup, the program will give you some system and platform information, which is quite handy when doing troubleshooting, or committing an issue. There will also be a deprecation warning displayed, if your python version is too old. If so, please upgrade your system Python!

Deprecation warning ❗: The latest RPi OS, as well as most general OS, ships with at least Python 3.9. In the future, this will be the needed Python version. Up to now, CocktailBerry will still work fine with Python 3.7, as described. But to use some newer (3.8) features in the future, as well as just to keep everything up to time, 3.9 will be mandatory with the future release. This will also prevent future automatic updates.

🆕 New Features of this Release

  • Internet connection check with time adjustment option, if no internet. Check out the docs for more info. You can disable it with the new config MAKER_CHECK_INTERNET.
  • Recipes also available as virgin version got now a star (*) behind their name for better UX
  • Machine will also now add hand add ingredients, if they are connected to the machine
  • Displaying platform and system / OS data at startup
  • Deprecation dialog for too old system Python
  • New dropdown elements in config window for categorical configs

🔧 Dev Notes

  • Optimized the config class to be only initialized once
  • More nesting of sass to have less redundancy
  • Updated documentation

🐛 Bugfixes

  • Will now ask the user before enabling all recipes, previously directly enabled all recipes after button click
  • Updated broken links in README

v1.10.1 - More Control

18 Oct 16:36
501ca35
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fixed the ordering of semantic versions, causing v1.10.0 to break auto update, because the latest update was not classified as latest update due to alphabetical ordering Important: Please manually pull the latest version with git pull, since new updates (v1.10.0 and newer) won't be noticed by auto updates running any version lower than v1.10.1
  • Fixed a bug causing the virgin checkbox to reset when changing volume or alcohol level

v1.10.0 - More Control

18 Oct 15:29
7381ce6
Compare
Choose a tag to compare

Important: Please manually pull the latest version with git pull, since new updates (v1.10.0 and newer) won't be noticed by auto updates running any version lower than v1.10.1, due to a bug fixed in v1.10.1

This release brings joy and more control to the machine maintainer! You can now change your displayed recipes in the maker tab to any desired unit. Just use a custom unit and conversion rate, and you are ready to go! Please keep in mind that this is only visual, and the database is still in SI units, therefore entering new recipes and ingredients always use in ml. In addition, you can now get some more recipes from the default provided database, or just import your own data from a text file. See new features or the official documentation for more information!

Deprecation warning ❗: The latest RPi OS, as well as most general OS, ships with at least Python 3.9. In the future, this will be the needed Python version. Up to now, CocktailBerry will still work fine with Python 3.7, as described. But to use some newer (3.8) features in the future, as well as just to keep everything up to time, 3.9 will be mandatory with the future release. This will also prevent future automatic updates.

🆕 New Features of this Release

  • New CLI command for recipe import from text file, see docs
  • New CLI command to migrate local DB to latest provided DB data, see docs
  • New config options to change makers unit, see docs and config
  • Some Migration steps make a local backup of the database now, see docs

🔧 Dev Notes

  • Added batch conversion script for UI-files, less typing, yay!
  • Bold is now a CSS property and no longer default in the files

🐛 Bugfixes

  • Fixed a bug causing newly added recipes to be always added to the maker tab

v1.9.1 - Cocktails for Everyone!

18 Oct 17:05
501ca35
Compare
Choose a tag to compare

🐛 Bugfixes

  • This is a band aid-release fixing a critical issue for older versions not being able to receive auto releases since v1.10.0, see release notes for v1.10.0 and v1.10.1 It's equivalent to the v1.10.1 release

v1.9.0 - Cocktails for Everyone!

08 Aug 18:25
b6ca15a
Compare
Choose a tag to compare

With this fresh hot release, you will be able to do some new cool things! First, there is virgin mode. Don't worry, it may not be what you think. Did some of your friends ever complained that everything contains alcohol? Well, no more! You can now give a cocktail recipe the virgin property. With this, the user can activate it and the cocktail will be served without any alcoholic ingredients. Just to be sure not to activate it at some low amount ingredient cocktails, otherwise you might end up getting orange juice! 🍸

In addition, you can back up your CoktailBerry data. Want to keep the database consumption data, or your fancy new recipes? This is easy now - just export your data to an external device and back it up again with just some clicks (or touches). 🔙

The microservice is now able to send data to almost any desired webhook. This is because you can now provide any numbers of additional header values, like keys or some other auth secret things, to also work on private/protected endpoints. In addition, all ingredient data (e.g. recipes names and their volume) will also be sent to your endpoint. Just rebuild your microservice. What you do with the data is still up to you 😄

Deprecation warning ❗: The latest RPi OS, as well as most general OS, ships with at least Python 3.9. In the future, this will be the needed Python version. Up to now, CocktailBerry will still work fine with Python 3.7, as described. But to use some newer (3.8) features in the future, as well as just to keep everything up to time 3.9 will be mandatory with the future v1.10.0

🆕 New Features of this Release

  • Virgin Mode
    • Serve cocktails without alcoholic ingredients
    • Option to enable feature for desired cocktails
  • Backups: Save and load your CocktailBerry data
  • Better microservice endpoint control
    • You can add any amount of custom headers
    • Recipe data also part of payload
  • The program will check the python version and exit with Error if it's too old

🔧 Dev Notes

  • Added further typehints
  • Switched to private where appropriate

💀 Breaking Changes

  • Deprecation warning: Python 3.9 will become mandatory with the next update, please update to 3.9 or later, if not already the case
  • HOOK_HEADERS: new .env variable for the microservice. Use format header1:value1,header2:value2 to add the desired headers and values

v1.8.1 - Look Mum, no Keyboards!

02 Jun 17:45
c0877f8
Compare
Choose a tag to compare

Some more features were added to the newly introduced option window.

🆕 New Features of this Release

  • The option window got more control
    • You can now reboot or restart the OS
    • You can run the calibration overlay from the CocktailBerry program

v1.8.0 - Look Mum, no Keyboards!

02 May 17:14
60b2dfc
Compare
Choose a tag to compare

Were you annoyed to connect a keyboard just to change the team names, or some other trivial setting? I certainly was! So this big update brings a lot of joy in the form of new features to you! You can now manage CocktailBerry settings within the main program, no more changing YAML files. If you don't want to, at least. Just go to the bottles tab and click the gear icon!

Additionally, there are some other nice features. Themes are now a thing due to a good chunk of refactoring in the QT stuff. There is the default one and a sort of light theme, for now. Also, you may have noticed the GitHub readme got a new, overall cleaner look. There is an official Documentation, which holds everything you need to know. Go check it out!

🆕 New Features of this Release

  • Cleaner GitHub readme and structured documentation
  • New possibility to manage CocktailBerry settings within the program
  • Themes: Change CocktailBerrys appearance
    • default: Your interface, as you know and love
    • bavaria: You guessed it, it's white and blue as main colours, sort of the light mode

🔧 Dev Notes

  • Using SASS files to easily generate new themes, go check it out
  • Refactored to a pin controller, adding and controlling new board should be way easier now
  • Better internal code structure due to submodules and better type hints

💀 Breaking Changes

  • Changed default password to '1234', if your CocktailBerry was already set up, this changes nothing
  • New MAKER_BOARD config setting, will be added with default 'RPI' value
  • New MAKER_THEME config setting, will be added with default 'default' value

v1.7.1 - CocktailBerry API Support

01 Apr 12:04
c428b16
Compare
Choose a tag to compare

This update contains small fixes for the microservice and migrator.

Bugfixes 🐛

  • Added missing installation on migration for GitPython
  • When using multiple endpoints to send, the resend of failed data is only triggered once instead of each thread
  • Fixed migration of microservice db not adding new column

v1.7.0 - CocktailBerry API Support

21 Mar 16:36
b6b003b
Compare
Choose a tag to compare

This Update introduces support for the CocktailBerry-Dashboard / WebApp🚀

This is the official API for machines to send data to, view and filter the data on a nice dashboard.

New features of this release 🆕

  • Adjusted microservice to be able to send data to dashboard API
  • Microservice only sends data to endpoints if .env data is not default one
    • Official API only if API key is present
    • Own webhook only if valid URL is present
  • You can give your CocktailBerry an own machine name now. Use the MAKER_NAME config for this
  • Config validation check now checks for valid language code

Dev Notes 🔧

  • Config validation is now even easier to implement because of the use of callbacks
  • Better logging in case of unsuccessful sending
  • New env var for API key in microservice

Breaking Changes 💀

  • The microservice was changed
    • Run docker-compose up --build -d to rebuild and bring to the latest version
    • Either copy the microservice/.env.example to microservice/.env and add your credentials again or add API_KEY=readdocshowtoget to the file in a new line. You can get the instructions how to get a valid key from the docs / official CocktailBerry dashboard site