All notable changes to this project will be documented in this file.
3.24.1 / 2024-01-27
- Fix typescript error TS7016. Pull request #84, thanks to @christhofer.
3.24.0 / 2023-03-22
- New property
focusOnRight
brings back the default behaviour on the old v-money library. Requested by @SDIjeremy in issue #77.
3.23.0 / 2023-02-08
Fix issue #56. Thanks to @ivancorrea.
3.22.3 / 2022-12-16
$ npm audit;
decode-uri-component <0.2.1
decode-uri-component vulnerable to Denial of Service (DoS) - https://github.com/advisories/GHSA-w573-4hg7-7wgq
fix available via `npm audit fix`
node_modules/decode-uri-component
1 low severity vulnerability
npm run update;
$ npm audit;
found 0 vulnerabilities
3.22.2 / 2022-10-19
- "Safari14" added to build target on vite.config.js
3.22.1 / 2022-09-27
- Correcting module import
3.22.0 / 2022-09-26
3.21.1 / 2022-02-15
npm update
dependencies.
3.21.0 / 2022-01-19
- Properly exporting typescript types. Pull request #54 thanks to @sambitevidev
3.20.1 / 2021-10-05
- Fixing a problem with multiple components in a loop sharing the same config options. Issue #49
3.20.0 / 2021-09-25
- Exporting
BigNumber
class. See issue #48 - TS improvements.
- Dev dependencies upgrade.
3.19.1 / 2021-09-10
- Smaller bundle by +6%. See pull request #47
3.19.0 / 2021-09-10
- Upgrade package to TypeScript. Issue #41 and Pull Request #46. Thanks to @gigioSouza
3.18.0 / 2021-09-09
- Complete
should-round
feature. Issue #45
3.17.6 / 2021-09-07
- Vue 3.2.0+ added as a peerDependency in package.json file. Issue #44
- Opt to avoid round precision. Issue #45
3.17.5 / 2021-08-30
- Fixing problem with first digit #43
3.17.4 / 2021-08-30
- Fixing problem with
v-model.number
#42 - Fixing reactivity problem with options.
3.17.3 / 2021-08-23
- Numbers
0-9
,+
and-
are restricted from the following options:prefix
,suffix
,thousands
anddecimal
. In the past wethrow new Error
, but this could cause problems with reactivity. Currectly we filter out the above restricted characters from the restricted options. - Max precision was changed from
20
to1000
. - Removing
assign
method and tests. - Code coverage improved.
3.17.2 / 2021-08-23
lastKnownValue
was removed from directivessetValue
method. It was causing issues with reactivity.
3.17.1 / 2021-08-22
- Fixing a problem when using precision "0" zero with thousands "." dot. Issue #39.
3.17.0 / 2021-08-22
- Codebase refactoring... See AndrolGenhald super helpful collaboration with this pull request and this critical issue.
- BigInt support introduced via native BigNumber class.
v-model
andv-model.number
are now treated completely differently. See docs and examples.- Bundle compiled with
es2020
target. This is necessary to support full native BigInt. - Many other changes... See diff.
3.16.1 / 2021-08-10
- Fixing problem with
allow-blank
option that did not work on precision other than 2.
3.16.0 / 2021-08-10
v-model
will always return a string. Ifmasked
is set to true, it will be formatted, otherwise a fixed string representation of a float number will be received. To receive a float number directly in your model usev-model.number
. See #27
3.15.2 / 2021-08-09
- New
npm run bump-lock
script to mirrorpackage.json
version. - Force the usage of node 16 on local tests.
3.15.1 / 2021-08-02
- Pointing npm scripts to local binaries.
- Update CI to node 16.
- More e2e tests with puppeteer.
- Restrict
+
and-
in some properties. See #30 - Correct toggle for
-
and+
signals. #29
3.15.0 / 2021-08-01
- Exposing internal mask function. #28
3.14.3 / 2021-08-01
- Setup tests with puppeteer.
- Returning a float instead of a string to the model. #27
- Fixing issues catch in the new tests that the old test didn't.
3.14.2 / 2021-07-30
- Fixing an issue that broke a directive feature in the last release. #23
3.14.1 / 2021-07-30
- Fixing bug where component were unusable with US format. #22
- Fixing a problem with component that continues to mask the input value even if masked were set to
false
.
3.14.0 / 2021-07-29
- Directive does not set cursor position on focus anymore. #20
- Component respect cursor position when focus through mouse click. #20
- Fix odd behavior when replacing value after input selection. #21
3.13.9 / 2021-07-27
- Update of all direct dependencies to latest compatible versions.
3.13.8 / 2021-07-27
- Fix
null
v-model is throwing an exception. - Component setup watch typo
3.13.7 / 2021-07-20
Fixing a problem with cursor position when deleting a digit.
3.13.6 / 2021-06-02
3.13.5 / 2021-05-13
console.log
removed from production code
3.13.4 / 2021-05-04
- Changelog added
3.13.3 / 2021-05-03
- Demo page deployed
3.13.1 / 2021-05-03
- Fixing a bug introduced in the last release.
3.13.0 / 2021-05-03
- Re-declaring the directive following the vue 3 docs.
3.12.0 / 2021-05-03
- Minimum number of characters feature
3.11.1 / 2021-05-03
- Better test coverage.
3.11.0 / 2021-05-03
- Integration with Github CI.
3.10.3 / 2021-05-02
- Making the plugin usable without a package manager.
3.10.2 / 2021-05-02
- CodeSandbox examples added to the docs.
3.10.1 / 2021-05-01
- Better Docs.
3.10.0 / 2021-04-30
- This release fix a bug introduced in version 3.6.0 (listeners).
- This release also reverts the release 3.6.1 to its original code.
3.9.0 / 2021-04-30
- Allow blank input using
allow-blank
.
3.8.0 / 2021-04-30
disabled
attribute added. Components can now be disabled.
3.7.0 / 2021-04-30
- Changes made on how to import the plugin.
- Backwards compatible.
3.6.1 / 2021-04-30
- Memory Leak Fix.
3.6.0 / 2021-04-30
- MIT licence added.
- Applying all event listeners dynamically (make release useless).
3.5.0 / 2021-04-30
- Blur event added.
3.4.0 / 2021-04-30
- Supporting min/max range.
3.3.0 / 2021-04-30
- Installing and integrating Jest.
- Transporting the old tests from old repo.
3.2.0 / 2021-04-30
- Disabling negative values with
disable-negative
attribute.
3.1.0 / 2021-04-30
- Passing down the id attribute to the inner input tag. To be able to associate labels with the component.
3.0.1 / 2021-04-29
- Solving Infinite Loop problem.
3.0.0 / 2021-04-29
- First Release with Vue 3 integration.