Skip to content

Latest commit

 

History

History
168 lines (105 loc) · 4.35 KB

CHANGELOG.md

File metadata and controls

168 lines (105 loc) · 4.35 KB

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

You can find the issue tracker at: https://github.com/brutus/boozelib/issues

0.7.0 (2021-03-08)

Features

  • ➕ Added sphinx-autobuild for doc generation.

  • ✨ Add optional argument degradation to the calculate_alcohol_degradation and get_blood_alcohol_degradation functions.

    If set, this value is used for alcohol degradation instead of the ALCOHOL_DEGRADATION module level variable.

Deprecations and Removals

  • In the next version the value used for alcohol degradation will be lowered.

    To keep the current default, you can override ALCOHOL_DEGRADATION, or use the new degradation argument to the calculate_alcohol_degradation and get_blood_alcohol_degradation functions.

0.6.0 (2021-02-02)

Features

Changes

  • Renamed the used constants (use decriptive names).
  • Ported the README to markdown.
  • Switched to Poetry for packaging (from Pipenv).
  • Only accept keyword-arguments for all functions (not positional ones).
  • Switch back to ward as test framework.
  • Translated the background section in the docs.
  • Rename calculate_alcohol to calculate_alcohol_weight, calculate_degradation to calculate_alcohol_degradation and get_degradation to get_blood_alcohol_degradation.
  • Unified function signatures.

Deprecations and Removals

  • Remove deprecated function names (calculate_bw and get_bac).
  • Remove support for Python ==2.7.

0.5.0 (2020-04-18)

This will be the last version supporting Python 2.7.

Features

  • Test all supported Python versions (>=2.7).
  • Add configuration for Read the Docs.

Changes

  • Use pytest instead of ward (mostly to check Python 2.7).

0.4.2 (2020-04-14)

Features

Changes

  • Updated the README.
  • Made git ignore basic Python stuff.
  • Move tests to tests/.
  • Moved module source to src/ directory.

Deprecations and Removals

  • Remove docs generated by Sphinx.

Bugfixes

  • Track __version__ in source with bump2version.

    0.4.1 (2020-04-13)

Features

  • Manage development requirements in a virtual environment with pipenv.
  • Handle version bumps with bump2version.
  • Use towncrier for tracking changes.

Changes

  • Converted CHANGES.rst to CHANGELOG.rst.

    0.4 (2012-04-18)

Features

Features

  • Added support for distutils.

    0.2 (2012-04-15)

Changes

  • Refactored the code to calculate and convert utility functions as well as get_bac and get_degradation for the main work.

Deprecations and Removals

  • Removed the User and Drink classes.

    0.1.3 (2012-04-14)

Bugfixes

  • Prevent the blood alcohol levels from getting < 0.

    0.1.2 (2012-04-12)

Bugfixes

  • Fixed some typos in the docs.

    0.1.1 (2012-04-10)

Bugfixes

  • Fixed some typos in both classes.

    0.1 (2012-04-07)

Features

  • Initial release 🎉