Releases: veeso/tui-realm
Releases · veeso/tui-realm
tui-realm 1.5.0
1.5.0
Released on 06/03/2022
- Updated
tui
to0.17
- Added Injectors
- Properties injectors are trait objects, which must implement the
Injector
trait, which can provide some property (defined as a tuple ofAttribute
andAttrValue
) for components when they're mounted. - Read more in advanced concepts
- Properties injectors are trait objects, which must implement the
tui-realm 1.4.2
1.4.2
Released on 04/01/2022
- Added
focus()
method toApplication
which returns a reference to id of the current active component in theView
tui-realm 1.4.1
1.4.1
Released on 27/12/2021
- Fixed serialization for key events
- Removed serde for
Event
tui-realm 1.4.0
1.4.0
Released on 24/12/2021
- Added
serialize
feature: once this feature is enabled, theSerialize
and theDeserialize
traits will be available for certain entities:Key
,KeyEvent
andKeyModifiers
: this will give you the possibility to use these entities in serialized data for configuring keybindings.Event
: implemented in order to provide a Port with commands from an external source.
tui-realm 1.3.0
1.3.0
Released on 28/11/2021
- Added
lock_ports()
andunlock_ports()
to pause event listener.- Once
lock_ports()
is called, Ports won't be polled as long asunlock_ports()
is not called. - by default ports are Unlocked
- Once
tui-realm 1.2.1
1.2.1
Released on 27/11/2021
TextSpan
From
trait implementation, now acceptsAsRef<str>
tui-realm 1.2.0
1.2.0
Released on 25/11/2021
Yet, another update 🙄
- Application API:
- Added
lock_subs()
andunlock_subs()
methods.- Once
lock_subs()
is called, events won't be anymore propagated to subscriptions as long asunlock_subs()
is not called. - by default events will be propagated to subs.
- Once
- Added
- Sub Clause:
- Added
Id
toHasAttr
andHasState
sub clauses. - Added new
IsMounted(Id)
sub clause
- Added
tui-realm 1.1.2
1.1.2
Released on 23/11/2021
❗ There's no 1.1.1 version. Since I don't like it as a version number, I decided to skip it
- Application API changes:
- Removed
sanitize
sinceView
is no more accessible - Added
umount_all
method which umounts all components fromView
and active subscriptions
- Removed
tui-realm 1.1.0
1.1.0
Released on 21/11/2021
tick()
will now return aVec<Msg>
. There's no need to pass anUpdate
trait anymore- The reasons behind this is that it was too annoying to handle the model in a separate structure which could not render the Ui.
- Exposed
PollStrategy
at root level
tui-realm 1.0.1
1.0.1
Released on 20/11/2021
- Improved performance for crossterm listener