tag:github.com,2008:https://github.com/autoNumeric/vue-autoNumeric/releases Tags from vue-autoNumeric 2018-09-14T19:07:47Z tag:github.com,2008:Repository/79446349/v1.2.6 2018-09-14T19:07:47Z v1.2.6: Fixes #24 VueAutonumeric value prop validator should accept strings <p><span class="issue-keyword tooltipped tooltipped-se">Fixes</span> <a class="issue-link js-issue-link" href="https://github.com/autoNumeric/vue-autoNumeric/issues/24">#24</a> VueAutonumeric value prop validator should accept strings</p> <p>Signed-off-by: Alexandre Bonneau &lt;alexandre.bonneau@linuxfr.eu&gt;</p> AlexandreBonneau tag:github.com,2008:Repository/79446349/v1.2.5 2018-05-25T19:54:10Z v1.2.5 <p><span class="issue-keyword tooltipped tooltipped-se">Fixes</span> <a class="issue-link js-issue-link" href="https://github.com/autoNumeric/vue-autoNumeric/issues/14">#14</a> The `readOnly` option is not respected for non-input tags (…</p> <p>…`contenteditable` is always set to `true`)</p> <p>Signed-off-by: Alexandre Bonneau &lt;alexandre.bonneau@linuxfr.eu&gt;</p> AlexandreBonneau tag:github.com,2008:Repository/79446349/v1.2.4 2018-05-25T19:28:02Z v1.2.4 <p><span class="issue-keyword tooltipped tooltipped-se">Fixes</span> <a class="issue-link js-issue-link" href="https://github.com/autoNumeric/vue-autoNumeric/issues/18">#18</a> Require of AutoNumeric is ES6 module and not the distributi…</p> <p>…on version</p> <p>Fix how using vue-autonumeric with a CDN did not work since the external library it searched was in lowercase. <br />Update the documentation about using `vue-autonumeric` in an ES6 module setup with Webpack</p> <p>Important note: <br />- We need to use `&lt;npmPath&gt;: 'AutoNumeric'` in the `vue-autonumeric`'s webpack configuration since we want the user to be able to just use a CDN link to the AutoNumeric library and make sure `vue-autonumeric` will correctly use this name (since it's exported as `AutoNumeric`, with this case). <br />- However if you are using `vue-autonumeric` in an ES6 module setup with a bundling tool (ie. Webpack), then you'll need to declare in your project an alias so that Webpack will know how to recognize the correct library name case. <br /> - The alias configuration example for Webpack: <br />```js <br />resolve: { <br /> extensions: ['.js', '.vue', '.json'], <br /> alias : { <br /> '~' : resolve('node_modules'), <br /> '@' : resolve('src'), <br /> 'AutoNumeric': resolve('node_modules/autonumeric/dist/autoNumeric.min'), <br /> }, <br />}, <br />```</p> <p>Signed-off-by: Alexandre Bonneau &lt;alexandre.bonneau@linuxfr.eu&gt;</p> AlexandreBonneau tag:github.com,2008:Repository/79446349/v1.2.3 2018-05-09T21:34:33Z v1.2.3: Fixes #15 Prop Validation Returns Error if Empty String <p><span class="issue-keyword tooltipped tooltipped-se">Fixes</span> <a class="issue-link js-issue-link" href="https://github.com/autoNumeric/vue-autoNumeric/issues/15">#15</a> Prop Validation Returns Error if Empty String</p> <p><span class="issue-keyword tooltipped tooltipped-se">Fixes</span> <a class="issue-link js-issue-link" href="https://github.com/autoNumeric/vue-autoNumeric/issues/16">#16</a> build fails on linux</p> <p>Signed-off-by: Alexandre Bonneau &lt;alexandre.bonneau@linuxfr.eu&gt;</p> AlexandreBonneau tag:github.com,2008:Repository/79446349/v1.2.1 2018-05-08T02:00:53Z v1.2.1 <p>Update the examples with another way to set the empty value, via the …</p> <p>…v-model</p> <p>Signed-off-by: Alexandre Bonneau &lt;alexandre.bonneau@linuxfr.eu&gt;</p> AlexandreBonneau tag:github.com,2008:Repository/79446349/v1.2.0 2018-03-27T21:21:50Z v1.2.0: Simplify how the decimal places are set <p>Simplify how the decimal places are set</p> <p>In `v1.1.*`, whenever the options were changed, the number of decimal places for the `rawValue` was calculated based of the previous options, and not only the new given options. <br />This was useful when two vue-autonumeric components shared the same v-model, but different options that have different values for the `rawValue` decimal places count.</p> <p>For instance if one of the `vue-autonumeric` component had a `decimalPlaces` option set to `2`, and another set to `5`, then when the user modified the value of one of those components, vue-autonumeric would detect a programmatic value change in the other component (since it did not come from a user interaction), and it would then use `set()` to set the new value. <br />The first component would drop the additional decimal places when using `set()`...which in turn would make the other components aware of that new value change, and the second component would then use that new cropped value as well.</p> <p>However, this special decimal places management is complexifying the code quite a bit, and is not 100% effective since some use cases were difficult, if even possible, to manage. <br />This `rawValueDecimalPlaces` *hack* is now reverted to a more sane and legible code.</p> <p>From now on, the user will have to explicitly declare the `rawValueDecimalPlaces` value when updating the options, if he does not want to lose the precision when switching options.</p> <p>Signed-off-by: Alexandre Bonneau &lt;alexandre.bonneau@linuxfr.eu&gt;</p> AlexandreBonneau tag:github.com,2008:Repository/79446349/v1.1.0 2018-03-01T02:55:41Z v1.1.0 <p>Fix issue <a class="issue-link js-issue-link" href="https://github.com/autoNumeric/vue-autoNumeric/issues/10">#10</a> When using an object to modify both the `:value` and `:…</p> <p>…options` props, the options is not always modified before the value</p> <p>Fix the issue where updating the `options` to new ones with a higher `decimalPlacesRawValue` loses the additional decimal places <br />Now allows to update the `options` by passing an array of options (with objects and predefined option names)</p> <p>When the `options` and `value` are both set at the same time, `vue-autonumeric` now always update the `options` first, before setting the `value`. <br />- This allows to use objects with the value and a predefined option name to modify the vue-autonumeric component. <br />- Note: There is a know bug yet; if you use multiple `vue-autonumeric` component sharing the same `v-model` but *different* options, changing the value/option *may* not work correctly. <br /> - This is due to the fact that when vue-autonumeric detects a value change, it `set()` it since it does not come from a user interaction. <br /> - However if one of the `vue-autonumeric` component has a `decimalPlaces` option set to `2`, and another set to `5`, then the first component will drop the additional decimal places when using `set()`...which in turn will make the other component aware of that new value change, and the second component will then use that new cropped value as well.</p> <p>Signed-off-by: Alexandre Bonneau &lt;alexandre.bonneau@linuxfr.eu&gt;</p> AlexandreBonneau tag:github.com,2008:Repository/79446349/v1.0.7 2018-02-27T02:23:00Z v1.0.7 <p>Fix issue <a class="issue-link js-issue-link" href="https://github.com/autoNumeric/vue-autoNumeric/issues/9">#9</a> Modifying the `options` will always lose the decimal pla…</p> <p>…ces precision after `2` places</p> <p>Signed-off-by: Alexandre Bonneau &lt;alexandre.bonneau@linuxfr.eu&gt;</p> AlexandreBonneau tag:github.com,2008:Repository/79446349/v1.0.6 2018-02-27T00:55:13Z v1.0.6 <p>Fix issue <a class="issue-link js-issue-link" href="https://github.com/autoNumeric/vue-autoNumeric/issues/8">#8</a> Add a new `resetOnOptions` props so that updating the `o…</p> <p>…ptions` one first reset to the default options</p> <p>Signed-off-by: Alexandre Bonneau &lt;alexandre.bonneau@linuxfr.eu&gt;</p> AlexandreBonneau tag:github.com,2008:Repository/79446349/v1.0.5 2018-02-01T22:43:21Z v1.0.5 <p>Fix issue <a class="issue-link js-issue-link" href="https://github.com/autoNumeric/vue-autoNumeric/issues/2">#2</a> Allow the component to generate any supported Html eleme…</p> <p>…nt instead of only `&lt;input&gt;`</p> <p>Signed-off-by: Alexandre Bonneau &lt;alexandre.bonneau@linuxfr.eu&gt;</p> AlexandreBonneau