Thoughts on v8.0
uNmAnNeR opened this issue · comments
Core
try custom history tracking for better handlingundo
/redo
actions (#981)improve IME supportPattern mask: pass rootautofix
to the blocks- remove
skip
fromChangeDetails
, addskip
,break
,overwrite
to new classCharChangeDetails
. Usebreak
innumber
mask instead of overridingdoSkipInvalid
Date mask:
- remove default mask pattern
- support common definitions (yyyy, MM, dd, HH (hh), mm, ss, SSS) out of the box
RegExp mask:
- implement
partialize
helper (#982)
Drop Vue2 support (https://blog.vuejs.org/posts/vue-2-eol)
Drop react-native-imask
plugin
Put /esm
and /cjs
into /dist
Do you think to rename the default export from the Vue plugin? In Vue 3, it's mostly done using <script setup>
.
<script lang="ts" setup>
// import { IMaskComponent } from 'vue-imask';
// renamed to
import { IMaskInput } from 'vue-imask';
</script>
<template>
<IMaskInput />
</template>
<script lang="ts" setup>
// import { IMaskDirective } from 'vue-imask';
// renamed to
import { vImask } from 'vue-imask';
</script>
<template>
<input v-imask="mask" :value="value">
</template>
<script lang="ts" setup>
// no change
import { useIMask } from 'vue-imask';
const { el, masked } = useIMask({});
</script>
<template>
<input ref="el">
</template>