Skip to content

Releases: wilfredinni/dinero

0.4.0 - New Tools

18 May 21:44
7869863

Choose a tag to compare

  • Added currency conversion functionality with convert() method
  • Added new tools:
    • calculate_base_amount()
    • calculate_markup_portion()
    • calculate_marked_up_amount()
    • calculate_cost_amount()
    • calculate_margin_portion()
    • calculate_selling_price()
    • calculate_net_amount()
    • calculate_vat_portion()
    • calculate_gross_amount()
    • convert()
  • Comparison operators were renamed to eq, gt, gte, lt, and lte.
  • Modularize tools validators.

0.3.1

31 Oct 21:41

Choose a tag to compare

🚀Features

  • Support for Python 3.13.
  • Add calculate_markup tool.
  • Add tests for calculate_markup tool.

🛠️ Refactors

  • Update documentations site.

0.3.0 - Python 3.12

14 Oct 01:12

Choose a tag to compare

Support for Python 3.12

0.2.1

26 Jun 18:18

Choose a tag to compare

  • Modularized the codebase.
  • Removed unused conversions to string.
  • Fixed Circular imports.
  • Fixed Type linting errors.

0.2.0

15 May 00:00

Choose a tag to compare

  • Added new tools module.
  • Added calculate_simple_interest tool.
  • Added calculate_compound_interest tool.
  • Added calculate_vat tool.
  • Added calculate_percentage tool.
  • Update documentation.
  • Update dependencies to the latest versions.

0.1.8

11 Mar 20:09

Choose a tag to compare

  • Update dependencies to the latest versions.
  • Updated README and documentation.
  • Fix security vulnerabilities.

0.1.7

06 Mar 00:09

Choose a tag to compare

  • Updated dependencies to the latest versions.
  • Updated README and documentation.

0.1.6

19 Nov 17:28

Choose a tag to compare

  • 100% code coverage 🎉
  • Fixed Type Hints for multiply and divide methods.
  • Fixed InvalidOperationError not raising when comparing against a non Dinero object.
  • Removed orphan lines of code.
  • Move validators to their own module.

0.1.5

06 Nov 16:04

Choose a tag to compare

  • It is no longer possible to compare a Dinero instance to objects of other types (796b9e2).
  • Multiplication and division can be performed only with int, float and Decimal types (326ad3a).
  • Added GitHub community files: SECURITY, CHANGELOG and CONTRIBUTING.
  • Added coverage and code quality checks.

0.1.4

05 Nov 15:03

Choose a tag to compare

  • Added typing-extensions dependency.