All Versions
11
Latest Version
Avg Release Cycle
110 days
Latest Release
2008 days ago

Changelog History
Page 1

  • v1.3.0 Changes

    April 17, 2016
    • Migrated to Babel 2.2 or higher. New CLDR and new API for babel.numbers.format_currency() (reported by chrisrossi <https://github.com/chrisrossi>_).

    • ⬇️ Dropped support for Python 3.3

    • XMoney now only attempts automatic currency conversion in addition, substraction, and division.

    Before, XMoney would convert currencies in comparison, including >= and <=, with results that were inconsistent with ==.

    • ⚡️ Comparison operators <, <=, >, >= now throw InvalidOperandType (TypeError) if the operand is not a Money object. Code that relies on this should be updated to access the amount value explicitly (see example below).

    .. code:: python

    >>> m = Money(2, 'USD')
    
    # old code
    >>> m > 0
    (raises InvalidOperandType)
    
    # 1.3.x
    >>> m.amount > 0
    True
    

    1.2

  • v1.2.3 Changes

    April 17, 2016
    • 👻 Throw an exception if used with Babel 2.2 or higher (reported by chrisrossi <https://github.com/chrisrossi>_).
  • v1.2.2 Changes

    June 09, 2015
    • ➕ Added support for SQLAlchemy composite columns (by dahlia <https://github.com/dahlia>_)
  • v1.2.1 Changes

    June 15, 2014
    • Fixed bug in __rsub__() (fix by zedlander <https://github.com/zedlander>_)
  • v1.2.0 Changes

    April 30, 2014
    • Multiplication between a Money object and a float does not implicitly convert the float to a Decimal anymore. (reported by spookylukey <https://github.com/spookylukey>_)

    1.1

  • v1.1.1 Changes

    June 15, 2014
    • Fixed bug in __rsub__() (fix by zedlander <https://github.com/zedlander>_)
  • v1.1.0 Changes

    April 01, 2014
    • ➕ Added tox testing (requested by kvesteri <https://github.com/kvesteri>_)
    • Compatible with Python 2.7, 3.3, 3.4 (requested by kvesteri <https://github.com/kvesteri>_)

    1.0

  • v1.0.2 Changes

    November 25, 2013
    • 🎉 Initial stable version
    • Compatible with Python 3.3
  • v1.0.1

    November 25, 2013
  • v1.0.b2

    November 18, 2013