- [BREAKING CHANGE] Migrating from
moment
todate-and-time
.- Thanks to Marcin Krysiak for contributing!
- #184 TextInputMask doesnt render mask correctly when type change.
- Thanks to Rodrigo Weber for contributing!
- Fixing documentaion link.
- Thanks to Luan Curti for contributing!
- #176 Deprecation Warning: componentWillReceiveProps
- Thanks to Maksim Markelov for contributing!
- Use find instead of filter on mask resolver.
- Thanks to rodineijf for contributing!
- #170: fixing typing for includeRawValueInChangeText.
- thanks to Sergei Butko for contribution.
- thanks to Agustin G. for reporting.
- #173: fixing initial value for money field.
- thanks to Maksim Markelov for reporting.
- Fixing #162 initial value when mask is updated. (thanks to Alessandro Sales for reporting)
- Performance improvements
- The
state
control was removed from the text mask component, using only the props to handle the mask. - We changed the base text mask from
Component
toPureComponent
. - BREAKING: the
value
andonChangeText
are now required props. - These changes probably will fix (need to check with the reporters):
- The
- Fixing npm install error (#140).
- Adding
rawText
inonChangeText
. (Thanks to questionablequestion)
- Fixing return type of
getRawValue
ints definition
. (Thanks to gabelerner)
- Improving component initialization. (Thanks to rsouthgate)
- Remove characters in the middle of the mask (Thanks to rsouthgate for the great contribution!)
- Adding
maskType
tocel-phone
with options:BRL
andINTERNATIONAL
.
- New documentation in
README
.
- [BREAKING CHANGE] The
zeroCents
option was removed frommoney
mask, if you want to not show the cents, use theprecision: 0
.
- Fixing
issuer
in ts file. (Thanks to Gabe Lerner)
- Credit Card Mask: adding support for
diners
andamex
. (Thanks to Marin Bezhanov)
- #95: Number value cause errors into only-numbers mask (thanks to dfsilva for reporting)
- #96: cel-phone mask is not changing properly. (thanks to jgfidelis for reporting)
- Custom Mask: now all the masks use the core from Custom Mask.
- Adding some docs about how to use methods.
- 74 - Updated Typescript definition file. (thanks to iiandrade)
- 80 - TypeScript support for custom mask options. (thanks to enagorny)
- 88 - Moved typings dependencies to devDependencies. (thanks to emiyake)
- Fixing ISSUE#79. (thanks to herlan-evocorp)
- Updating moment lib.
- Adding
ts definitions
. (thanks to iiandrade) - Adding
toRawValue
method to MaskService. (thanks to fabioh8010) - Replace old legacy ref string by the new callback. (thanks to Yamilquery)
- Fixing validation for CPF and CNPJ when empty string is inputed. (thanks to gabuael)
- Fixing wrong format when use money mask and values with only one decimal place (
1.9
) (thanks to Pablo).
- Fixing moment version (thanks to Edward Coleridge Smith)
- Adding pre-builded lib to improve build phase (thanks to Giorgi Bagdavadze)
- Fixing custom mask when removing value in middle of the text. (thanks to Aleksandr Kompaniets)
_ KNOW ISSUE: the custom mask is not allowing user to input white spaces for
_
translation temporarily.
- Fixing duplicated custom text input component. (thanks to Pablo)
- Add compatibility to react-native-textinput-effects by using
customTextInputProps
(thanks to Pablo)
- Fix suffix backspace (thanks to Thomas Kekeisen)
- Fix last character on custom mask (thanks to Daniel Maly)
- Adding
keyboardType
to custom mask. (thanks to Nurbek Abulgazin)
- Adding
tinymask
to fix some custom mask issues.
- Adding new and powerfull
custom
engine mask \m/.
- Adding
customTextInput
to allow other inputs instead native TextInput. (thanks to Hellon Canella)
- Remove default value from mask to allow placeholder on text-input (thanks to Cuong Hoang). * Please, caution. This can cause some runtime breaking if you update to this version.
- Update dependencies (thanks to Vlad-Zhukov)
- Fix: ignoring Jet Brains ide files (thanks to Vlad-Zhukov)
- Performance: adding check if the next value to be applied to the mask is equal as actual and prevent state change.
- Feat: now you can check and prevent input text on
TextInputMask
usingcheckText
prop.
- Fix: fixing es2015 preset (thanks to vagnercsouza, barakcoh, Marvin Santos)
- Fix: fixing white space after unit on money mask.
- Adding
getRawValue
.
- Fixing toolbox-service reference (thanks to ziftinpeki).
- Adding credit-card mask.
- Refactoring base mask to contain helpfull functions.
- Adding datetime and cnpj masks.
- [Breaking Change] Refactoring MaskService.
- Separate mask handlers for better extensibility.
- Adding tests for all mask handlers.
- Refactoring Components for use new mask handlers.
- Fix vanilla-mask path on windows.