decimal breaking changes

hex

10 curated breaking changes across major versions of decimal. Use this as a migration checklist before bumping dependencies.

10
changes
Breaking changes by transition
  • v1.9.0-rc.0 \u2192 v2.0.0-rc.0breaking

    Remove deprecated support for floats in `Decimal.new/1`

  • v1.9.0-rc.0 \u2192 v2.0.0-rc.0breaking

    Change `Decimal.compare/2` to return `:lt | :eq | :gt`

  • v1.9.0-rc.0 \u2192 v2.0.0-rc.0breaking

    Change `Decimal.cast/1` to return `{:ok, t} | :error`

  • v1.9.0-rc.0 \u2192 v2.0.0-rc.0breaking

    Change `Decimal.parse/1` to return `{t, binary} | :error`

  • v1.9.0-rc.0 \u2192 v2.0.0-rc.0breaking

    Remove `:message` and `:result` fields from `Decimal.Error`

  • v1.9.0 \u2192 v2.0.0breaking

    Change `Decimal.compare/2` to return `:lt | :eq | :gt`

  • v1.9.0 \u2192 v2.0.0breaking

    Change `Decimal.cast/1` to return `{:ok, t} | :error`

  • v1.9.0 \u2192 v2.0.0breaking

    Change `Decimal.parse/1` to return `{t, binary} | :error`

  • v1.9.0 \u2192 v2.0.0breaking

    Remove `:message` and `:result` fields from `Decimal.Error`

  • v1.9.0 \u2192 v2.0.0breaking

    Remove deprecated support for floats in `Decimal.new/1`

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/hex/decimal
decimal breaking changes — Hex migration guide | DepScope