Releases: unchartedsoftware/lex
Releases · unchartedsoftware/lex
Release 0.23.2
Release 0.23.1
- Fix for #458
Release 0.23.0
- Addition of "cancel" button during token creation. #455
Release 0.22.2
- Fix for #445
Release 0.22.1
Fix for #449
Release 0.22.0
Release 0.21.0
This is a relatively large release compared to previous ones, encompassing a major internal refactor of OptionState
to improve performance, and a usability overhaul of OptionBuilder
and OptionAssistant
.
To emphasize these improvements and ensure their proper use, the following minor API-breaking changes have been made:
OptionState
is nowValueState
.- Similarly,
OptionBuilder
andOptionAssistant
areValueBuilder
andValueAssistant
. TransitionFactory.optionMetaCompare
is nowTransitionFactory.valueMetaCompare
- The config for supplying async options to
ValueState
has changed. Please refer to the API documentation or demos for details (essentiallyrefreshSuggestions
is nowfetchSuggestions
and should only return actual suggestions based on what the user has typed. Arrays of pre-defined options must be supplied to a different, mutually-exclusive option calledsuggestions
).shortKey
is deprecated and merged withdisplayKey
. Lex.setQuery
andLex.setSuggestions
now only support boxed values. This was necessary for performance purposes, and unboxed values are now not supported. To facilitate easy setting of queries,RelationState
s now havestatic
properties representing their various options. See thedatetime-picker
ordev-test
demo for an example of boxedsetQuery
.- For performance purposes,
Lex.setQuery
andLex.setSuggestions
no longer validate values. It is assumed that if you are pro grammatically updating the search model, you are supplying legal values.
Release 0.20.3
Release 0.20.2
Fix for small regression #424