Skip to content

Releases: dm4t2/vue-currency-input

2.0.0-beta.0

10 Oct 21:47
Compare
Choose a tag to compare
2.0.0-beta.0 Pre-release
Pre-release

🎉 This is the 1st pre-release compatible with Vue 3 🎉

Vue Currency Input does not provide a ready-to-use component anymore. Instead, it enables you to create your own based on your favorite input component powered by the Vue Composition API.

Please refer to the docs for more information: https://vue-currency-input-next.netlify.app

Breaking changes

  • Vue Currency Input can not be installed as Vue plugin anymore
  • <currency-input> component and v-currency directive are dropped in favor of the useCurrencyInput composable
  • autoDecimalMode option has been renamed to autoDecimalDigits
  • currency option only accepts currency ISO codes
  • UMD/ESM bundles are compiled to ES2015

Features

  • move the caret position to the first or last digit when targeting the currency symbol on focus

1.22.3

04 Sep 16:43
Compare
Choose a tag to compare

Bug Fixes

1.22.2

02 Sep 21:32
Compare
Choose a tag to compare

Bug Fixes

  • handle multiple event listeners properly (#156)

1.22.1

30 Aug 22:35
Compare
Choose a tag to compare

Bug Fixes

  • add missing export for parse method

1.22.0

30 Aug 22:15
Compare
Choose a tag to compare

Features

  • simplify usage of API methods
  • recover API method for parsing currency formatted strings (#149)

Breaking Changes

  • getValue and setValue now accept a ref argument that points directly to the HTML element or Vue component the v-currency directive is bound to. see https://dm4t2.github.io/vue-currency-input/api/
  • the native modifier is no longer required when listing to input or change events

1.21.0

16 Aug 20:24
Compare
Choose a tag to compare

Features

  • simplify API for getting number values

Breaking Changes

  • parseCurrency API method is replaced by getValue
  • $parseCurrency instance method is replaced by $ci.getValue

https://dm4t2.github.io/vue-currency-input/api/

1.20.3

31 Jul 20:59
Compare
Choose a tag to compare

Bug Fixes

  • format "0" accordingly on blur (#145)

1.20.2

17 Jul 20:43
Compare
Choose a tag to compare

Bug Fixes

  • reset the position of the last entered decimal separator (#140)

1.20.1

10 Jul 21:20
Compare
Choose a tag to compare

Bug Fixes

  • v-currency directive: respect global options on bind if a value is present (#133)

1.20.0

30 Jun 22:09
Compare
Choose a tag to compare

Features

  • Allow input of decimal separators different from the current locale (#71, #126)
    Now you can use the decimal separators . (point), , (comma) and ٫ (Persian momayyez) independent from the current locale.

Bug Fixes

  • Suppress formatting on focus/blur if input is empty (#134)