Skip to content

Releases: dm4t2/vue-currency-input

2.0.0

12 Jun 23:03
Compare
Choose a tag to compare

Vue Currency Input was rewritten in TypeScript and now supports both Vue 2 and 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://dm4t2.github.io/vue-currency-input/

🚀 New Features

  • Supports both Vue 2 and Vue 3 (#166)
  • Add new option currencyDisplay (#209)
  • Add new option useGrouping (#170)
  • Add new option autoSign (#193)
  • Hide decimal digits for integer numbers by default (#203)
  • Move the caret position to the first or last digit when targeting the currency symbol on focus

🐛 Bug Fixes

  • Prevent entering of non-numeric characters in <v-text-field> in Firefox (#175)
  • Consider precision for determining max allowed input value (#188)
  • Input of decimal separators was broken for Android devices (#190)
  • Allow clearing the input completely with backspace when autoDecimalDigits is enabled (#202)

💥 Breaking Changes

  • Vue Currency Input can not be installed as Vue plugin anymore
  • The <currency-input> component and v-currency directive are dropped in favor of the useCurrencyInput composable
  • Option autoDecimalMode was renamed to autoDecimalDigits
  • Option currency now only accepts currency ISO codes
  • Bundles are compiled to ES2020
  • Option allowNegative was removed in favor of the new autoSign option
  • Option valueAsInteger was renamed to exportValueAsInteger
  • Precision range was dropped in favor of the new precision default behavior (hide decimal digits for integer numbers)
  • Option distractionFree was replaced by single options hideCurrencySymbolOnFocus, hideGroupingSeparatorOnFocus and hideNegligibleDecimalDigitsOnFocus

2.0.0-rc.5

25 May 20:47
Compare
Choose a tag to compare
2.0.0-rc.5 Pre-release
Pre-release

🚀 New Features

  • Add new option currencyDisplay (#209)

🏗 Refactorings:

  • The codebase has been migrated to TypeScript
  • Using Vite & VitePress for local development tooling/docs

💥 Breaking Changes

  • Option distractionFree was replaced by single options hideCurrencySymbolOnFocus, hideGroupingSeparatorOnFocus and hideNegligibleDecimalDigitsOnFocus
  • Option decimalDigitsReplacement was removed again since it does not conform with the ECMAScript Internationalization API and causes issues with RTL locales

2.0.0-rc.4

02 Apr 12:19
Compare
Choose a tag to compare
2.0.0-rc.4 Pre-release
Pre-release

🐛 Bug Fixes

  • autoSign: avoid display of negative zero
  • clear input on blur if number value is null

💥 Breaking Changes

  • drop precision range: the use case of a precision range is no longer given because of the new precision default behavior (hide decimal digits for integer numbers) (#203)

2.0.0-rc.3

26 Mar 23:42
Compare
Choose a tag to compare
2.0.0-rc.3 Pre-release
Pre-release

🚀 New Features

  • Introduce new option decimalDigitsReplacement and hide decimal digits for integer numbers by default (#203)

🐛 Bug Fixes

  • Allow to clear the input completely with backspace when autoDecimalDigits is enabled (#202)

2.0.0-rc.2

18 Mar 22:37
Compare
Choose a tag to compare
2.0.0-rc.2 Pre-release
Pre-release

🐛 Bug Fixes

  • npm 7 compatibility

2.0.0-rc.1

17 Feb 22:08
Compare
Choose a tag to compare
2.0.0-rc.1 Pre-release
Pre-release

🚀 New Features

  • Add new option autoSign (#193)

🐛 Bug Fixes

  • Number parsing was broken for locale de-AT (#192)

💥 Breaking Changes

  • option allowNegative was removed in favor of the new autoSign option
  • option valueAsInteger was renamed to exportValueAsInteger

1.22.6

10 Feb 23:42
Compare
Choose a tag to compare

🐛 Bug Fixes

  • number parsing was broken for locale de-AT (#192)

1.22.5

28 Jan 22:17
Compare
Choose a tag to compare

🐛 Bug Fixes

  • types: setValue should support null value (#191)

2.0.0-beta.3

22 Jan 21:42
Compare
Choose a tag to compare
2.0.0-beta.3 Pre-release
Pre-release

🐛 Bug Fixes

  • types: update useCurrencyInput return type
  • consider precision for determining max allowed input value (#188)
  • input of decimal separators was broken for Android devices (#190)

2.0.0-beta.2

02 Jan 22:34
Compare
Choose a tag to compare
2.0.0-beta.2 Pre-release
Pre-release

🐛 Bug Fixes

  • Event listener detection is broken for Vue 3