4.0.0 (2024-08-09)
- Update to Angular 16 (#6966).
- Update supported browser versions (#6818).
- Rename all entities: drop
Module
/Component
/Directive
postfix. - Use deep entrypoints in all imports paths inside packages for microfrontends tree-shaking support.
- @taiga-ui/legacy create new package (#7501).
- @taiga-ui/browserslist-config create new package (#5344).
- @taiga-ui/core:
Textfield
add new component (#6298).Icon
add new component (#5872).Icons
add new directive (#6053)Icon
add new pipe (#7244).Icons
new approach based on mask (#7752, #7658, #7714).Scrollbar
add mode (#8246).Notification
simplify to directive (#8168). Add interactive mode (#6760).HintOverflow
add new directive (#8111).DropdownContext
implement forIOS
(#7814).Root
usePlatform
directive (#7931).Tooltip
are refactored from component to just directive (#7810).Dropdown
nested no longer needs manual active zone (#7744). BREAKING CHANGE:ActiveZone
is removed from context in favor of close method.WithDataList
add host directive (#7693).Appearance
switch to data-mode (#7651).Maskito
insteadinput[tuiMaskAccessor]
directive (#7646).Alert
,Dialog
no longer need module imports (#6670).Loader
add new algorithm to calculatestroke-width
(#6550).Loader
new animation (#6538).- Use
TUI_ANIMATIONS_SPEED
insteadTUI_ANIMATIONS_DURATION
(#6542).
- @taiga-ui/kit:
Radio
,Checkbox
,Switch
new components based on directives (#5319, #6929).Sensitive
add new directive (#5425, #6491, #6960).Skeleton
add new directive (#6934).Segmented
add new component (#6527, #7192). Tabs refactor and dropMobileTabs
in favor ofSegmented
(#7047).Fade
add new directive (#5169).Avatar
add colored icons mode (#7806).Connected
add directive forCell
andStepper
(#8025).- Use
@maskito/phone
(#7580) inInputPhoneInternational
. FluidTypography
add new directive (#8316).Progress
add options with DI (#8061).Status
add new component (#8057).Emails
add pipe (#7596).Pulse
add new component (#7544).Chevron
add new directive (#7153).AvatarOutline
add new directive (#7087).NumberFormat
allow dynamic changes (#6856). BREAKING CHANGES: removeTUI_NUMBER_FORMAT_OBSERVABLE
in favour ofTUI_NUMBER_FORMAT
,tuiFormatNumber
pipe requires async pipe now.Block
add new component (#6892).
- @taiga-ui/cdk:
Dialogs
refactor creation way (#6660).Provide
add new util (#7168).TakeUntilDestroyed
add helper (#7381).NativeElement
add util (#7393).ToArray
add util (#7489).DirectiveBinding
/DirectiveListener
add utils (#7611).Control
add signal based abstraction (#7650).ThemeColorService
add service (#8240).Portal
refactor abstractions (#6692).- Rename and remove some helper instances (#7065).
- Scroll controls visible only inside
tui-root
area (#6623).
- @taiga-ui/layout:
- @taiga-ui/addon-commerce:
InputCard
migrate to newTextfield
(#7581).
- @taiga-ui/addon-doc:
- @taiga-ui/addon-mobile:
- @taiga-ui/addon-table:
- @taiga-ui/i18n:
Migration guide
This release introduces a lot of breaking changes.
Most of them can be solved automatically with the following
command:
Angular CLI:
ng update @taiga-ui/cdk
Nx CLI:
nx migrate @taiga-ui/cdk
nx migrate --run-migrations=migrations.json