Skip to content

Latest commit

 

History

History
612 lines (521 loc) · 43.1 KB

CHANGELOG.md

File metadata and controls

612 lines (521 loc) · 43.1 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.14.0 (2022-12-19)

Features

  • cdk: Resizer add new directive (#3248) (121e977)
  • cdk: add --tui-backdrop variable for dialog overlay (#3251) (ebe2d80)
  • core: TextfieldController add prefix, postfix and filler (#3188) (75276fb)
  • kit: ItemsWithMore add new component (#3230) (de63d7b)
  • kit: SortCountries add pipe for InputPhoneInternational (#3257) (ffb6cd1)
  • kit: TextArea support s size, fix m font and padding (#3242) (cdb9c05)

Bug Fixes

  • cdk: share a single subscription to the underlying source observable between multiple subscribers (#3174) (6ee6f50)
  • kit: File fix background (#3247) (9300260)
  • schematics: exclude popular hidden directories (#3252) (6ea575e)

3.13.0 (2022-12-12)

Features

Bug Fixes

  • addon-tablebars: fixed close button in table bar (#3184) (bf5d6bd)
  • addon-table: don't update direction order when updating sorter programmatically (#3196) (0197d56)
  • core: DataList fix default size (#3217) (9ab7a53)
  • core: Dropdown fix change detection inside dialogs (#3200) (74df80d)
  • i18n: fix dutch translations for multiSelectTexts (#3211) (41cb92e)
  • kit: Tiles fix handle inside Shadow DOM (#3216) (35e5399)

3.12.1 (2022-12-08)

Bug Fixes

  • addon-commerce: truncate float values without rounding (#3176) (70e6887)
  • i18n: fix french TUI_COUNTRIES_MASKS should accept numbers without leading 0 (#3191) (11ee5ed)
  • kit: InputFiles fix style encapsulation issue (#3194) (cd907c0)

3.12.0 (2022-12-05)

Features

  • cdk: Schematics migration multiple projects (#3144) (cf25f6a)
  • cdk: support SafeHtml input value in tui-svg (#3166) (aad787b)
  • kit: avatar now accepts SafeResourceUrl as avatarUrl (#3149) (d4bdf64)

Bug Fixes

  • addon-charts: Bar, BarSet fix color getter (#3148) (e7c517c)
  • addon-editor: allow paste base64 image (#3138) (4222293)
  • addon-table: Reorder fix wrong order when toggling visibility (#3145) (0e7eb9b)
  • cdk: add tuiControlValue to schematic (#3137) (465f834)
  • kit: InputPhone cut value by max phone length (#3160) (67d80fc)
  • kit: Range broken alignment + artifact line before track (#3136) (17dd30b)
  • kit: Tiles remove binding with JS to allow media query control (#3164) (91e9f5f)
  • kit: Tiles switch to CSS order to prevent DOM redraw (#3170) (e90da1d)
  • kit: Add missing TUI_COUNTRIES_MASKS for Overseas France (#3112) (8c2a1c9)
  • kit: fixed label text align for input files (#3156) (699d473)

3.11.0 (2022-11-28)

Features

Bug Fixes

  • addon-charts: remove location origin from mask (#3125) (eaaa1fa)
  • core: Dropdown fix direction set with binding (#3084) (866675e)
  • i18n: fix vietnamese (#3115) (9ae15c7)
  • kit: Input fix mask (#3107) (9d721e1)
  • kit: Stepper fix gap according to design spec (#3095) (aafd26e)
  • kit: Stepper scroll to active step when activeItemIndex changes (#3080) (235100e)
  • kit: correct default active month based on min/max (#3092) (e1668e7)

3.10.0 (2022-11-16)

Features

  • addon-editor: improve ux for edit links (#3008) (b432f04)
  • addon-editor: support attach files (#3056) (7a3fbad)
  • addon-editor: support nested counters in ordered list (#3012) (1fc6ee6)
  • addon-editor: upgrade all tiptap dependencies (#3001) (c0ba4e3)
  • cdk: implement tuiIsPresent pipe (#3002) (db4a29b)
  • core: DataList add size input, deprecate size for Option (#3071) (765ea01)
  • core: HostedDropdown add sided input and close method to context (#3060) (60bd0db)
  • core: change underline color for today cell in calendar (#3037) (331158a)
  • testing: accordion harness test (#3018) (5905545)
  • testing: avatar harness test (#3019) (970e1d0)

Bug Fixes

  • addon-commerce: InputExpire fix translation in safari (#3043) (1a258c5)
  • addon-commerce: fix safari expire autofill (#3015) (c2aac4b)
  • addon-doc: scroll to last element in DOM if there are several (#3040) (883db38)
  • addon-editor: support long words inside bulleted or ordered list (#3038) (c93ae27)
  • addon-editor: support write simple text after marked link (#3021) (a2f0123)
  • core: Dialog fix padding (#3009) (0a68461)
  • core: hide autofill button for Safari (#3061) (27a6aa2)
  • eslint-plugin: broken no-deep-imports on Windows-OS (#3053) (a3451c2)
  • i18n: fix french translations (#3017) (2afc420)
  • kit: icon in date-related components occupies space when hidden (#2966) (27c2d79)

3.9.0 (2022-10-31)

Features

  • addon-editor: add anchor extension (#2931) (1e3a22a)
  • cdk: ScrollService support Window (#2955) (ccac3c0)
  • core: DataList update styles (#2949) (3c219c1)
  • kit: Avatar, MarkerIcon synchronize sizes (#2975) (ebb8676)
  • kit: Select add ability to use native select on mobile (#2964) (c909bec)
  • kit: add tokens for customizing different bundled dialogs (#2490) (66e1aca)

Bug Fixes

  • addon-editor: support original order of colors in palette (#2986) (0c869ca)
  • addon-editor: support overflow content of table (#2985) (89af6a9)
  • cdk: add wrapper style migration (#2971) (2f736a1)
  • eslint-plugin: fix incorrect project name search (#2962) (dfbb09e)

3.8.0 (2022-10-24)

Features

  • core: Button add padding customization (#2932) (91c1b81)
  • core: PrimitiveCalendar add ability to change the color of the days (#2904) (3a14454)
  • core: disable smooth scrolling when users have prefers-reduced-motion enabled (#2943) (05027f4)
  • core: update shadows styles (#2933) (37144b5)
  • icons: add tuiIconAnchorLarge (#2944) (1e28581)
  • kit: InputYear add new component (#2919) (214fc30)
  • testing: add harness class for toggle component (#2939) (3dd08ce)

Bug Fixes

  • cdk: schematics always install styles package when migrating (#2922) (52feffd)
  • core: fix notification padding and background color (#2937) (4ef310d)
  • kit: InputTag fix pasting behaviour (#2936) (cd5d309)
  • kit: MarkerIcon only show hover state for interactive elements (#2950) (90da7d5)
  • kit: TextArea fix height for size m (#2952) (e17346d)

3.7.1 (2022-10-18)

Bug Fixes

  • addon-editor: revert some breaking packages (#2920) (48e3597)

3.7.0 (2022-10-18)

Features

  • addon-editor: upgrade @tiptap/* to latest (#2855) (79e14c8)
  • demo: stackblitz starter available via https://taiga-ui.dev/stackblitz (#2907) (71225b0)
  • kit: ProgressBar add :indeterminate-state (#2876) (e311069)
  • kit: Tabs add vertical option (#2862) (a0513c8)
  • testing: add harness tests for tag component (#2746) (fb12283)

Bug Fixes

  • addon-commerce: InputCardGrouped fix wrong offset for card number (#2878) (c387fb2)
  • addon-editor: downgrade @tiptap/extension-table (#2888) (93b0ed6)
  • addon-table: Table don't render column with unspecified template (#2896) (526c40a)
  • core: DataList fix first label padding (#2870) (1988491)
  • core: Hint fix mobile offscreen overflow (#2879) (5d606b3)
  • core: TUI_FIRST_DAY_OF_WEEK ignores DI-hierarchy (#2868) (169cd5c)
  • docs: Typo in the description of the tuiTextfieldMaxLength attribute (#2882) (00ec432)
  • kit: MultiSelect fix sanitizer warnings (#2903) (0356d7d)
  • kit: TextArea add ability to override minHeight when using maxLength (#2899) (7292a70)
  • styles: put tui-island_transparent after tui-island_hoverable (#2910) (833e4de)

Deprecations

  • addon-table: *tuiRow deprecation (use *ngFor + tuiTableSort-pipe) (#2736) (5723e1b)

3.6.0 (2022-10-11)

Features

  • addon-table: add TuiDirectionOrderDirective to sort by order (#2782) (962084a)
  • kit: Avatar add stacking option (#2811) (0264b38)
  • kit: Avatar allow Taiga UI icons (#2824) (cfa5ead)
  • kit: Badge add overflow elipsis and title (#2806) (02713d6)
  • kit: Carousel allow vertical alignment control (#2814) (36d3c6f)
  • kit: InputDate, InputDateRange, InputDateTime add options DI token for custom icons (#2785) (0fe5d5b)
  • kit: InputMonth, InputMonthRange add options DI token (#2840) (217d670)

Bug Fixes

  • addon-doc: misaligned column fix (#2815) (783f59c)
  • addon-editor: edit link modal shouldn't overlap content (#2803) (7f8643a)
  • addon-editor: normalize h1-h6 heading in editor socket (#2808) (c8ff2d2)
  • addon-editor: removing all !important styles (#2798) (a59afe8)
  • addon-editor: support nested ordered list inside a bullet list (#2805) (340ebdc)
  • addon-editor: use starterKit only from custom extension (#2845) (98311f8)
  • cdk: Obscured fix for SSR (#2835) (6b69efb)
  • cdk: schematics error Cannot read property 'getInitializer' of undefined (#2828) (8d5f40b)
  • kit: MultiSelect fix overflow issues (#2847) (372410e)
  • kit: RadioLabeled fix disabled label style (#2842) (001c0ad)
  • styles: move required styles from styles package to tui-root (#2854) (033960d)
  • styles: pseudo elements :after aren't removed in Safari 16 (#2825) (fdab37a)

3.5.0 (2022-10-03)

Features

  • addon-charts: BarSet add label (#2780) (d4f4ce0)
  • addon-commerce: InputCard extend custom icon type to PolymorpheusContent (#2788) (b8eff54)
  • core: Dialog allow Default change detection strategy to work (#2762) (f71ed71)
  • kit: InputTime add checkmark near selected time (#2763) (75be9bc)

Bug Fixes

  • addon-charts: make hint properties dynamic (#2774) (0a7a068)
  • addon-commerce: show caret color when filling in input card group value (#2794) (aae0212)
  • addon-editor: add missing starterkit dependencies (#2764) (3d017b6)
  • core: Expand return tuiExpandContent-directive (#2753) (0027332)
  • kit: InputNumber introduce safe integers for min/max props (#2781) (27f7c86)

3.4.0 (2022-09-27)

Features

  • testing: add component harness test for primitive-textfield component (#2584) (40e2a91)
  • testing: add harness for island (#2727) (f938d49)

Bug Fixes

  • addon-editor: add deps for starter-kit (#2757) (8c07868)
  • cdk: schematics add Node.js < 16-support (#2744) (69d20d5)
  • core: Hint fix offscreen position on small devices (#2749) (e249a54)
  • core: PrimitiveTextfield drop wrong text-overflow: ellipsis (horizontal scroll bug) (#2733) (2ddc249)
  • demo: Stackblitz broken styles (#2747) (1bf9e2d)
  • eslint-plugin: no-deep-imports add Windows-OS support (#2741) (e54e3de)

3.3.0 (2022-09-16)

Features

  • eslint-plugin: new no-deep-imports-rule (#2666) (467420e)
  • eslint-plugin: new prefer-inject-decorator-rule (#2688) (3105204)

Bug Fixes

  • addon-table: support partial objects (#2722) (550b11a)
  • core: styles sync .scss-files with .less-files (#2717) (1549898)
  • kit: InputFlies new value of i18n-token TUI_INPUT_FILE_TEXTS triggers text changes (#2711) (fa4e1e1)
  • kit: InputPhoneInternational extend country masks for Croatia and Bosnia (#2713) (d26b3cb)

3.2.0 (2022-09-12)

Features

  • eslint-plugin: new injection-token-description-rule (#2661) (3a30d5b)
  • kit: InputDateRange navigate months in sync, cancel unfinished range on esc (#2647) (14f2907)

Bug Fixes

  • addon-editor: using editor-socket inside editor to fix editor styles (#2631) (68b0acb)
  • addon-table: Type string is not assignable to type keyof T (#2649) (bb6d824)
  • cdk: schematics migration 3.x Error: Cannot determine project target configuration (#2669) (eba43c0)
  • core: support text-overflow in tuiTextfield (#2657) (9b72134)
  • demo: make Stackblitz to be compatible with Taiga UI 3.0 (#2636) (5130208)

3.1.0 (2022-09-07)

Features

Bug Fixes

  • add compatibility with TypeScript 4.8 (#2608) (42f8d91)
  • addon-commerce: InputCardGrouped fix dropdown width (#2616) (4aa5026)
  • addon-table: ThGroup fix columns updating (#2602) (1de7c24)
  • cdk: parse5 & ng-morph move dependencies => optionalDependencies (#2604) (8a6d3a8)
  • core: fix dialog header type (#2559) (36d0aa4)
  • kit: Carousel reset autoscroll timer when index changes (#2614) (4c1b958)
  • kit: InputNumber fix positive min/negative max clipping (#2575) (87b13f7)

3.0.1 (2022-09-01)

Bug Fixes

  • cdk: schematics fix 3.0-migration for tuiTextfieldInputMode (#2544) (9f8fd3d)
  • core: DropdownContext close previous dropdown after new one is opened (#2535) (ae45123)

3.0.0 (2022-08-30)

⚠ BREAKING CHANGES

  • Update to Angular 12 (#2080, #2097, #2110). Enable Ivy by default (#2076). Drop legacy View Engine-support.
  • Migrate to Polymorpheus 4.x.x (#2165).
  • Update supported browser versions. Drop support of legacy not-chromium Edge (EdgeHTML) (#2318). Bump supported Safari to 12.1+ (#2391).
  • All exported entities without tui-prefix was renamed to the same one with prefix: functions, constants, pipes, classes, etc.
  • styles: move all global styles from @taiga-ui/core to new optional package @taiga-ui/styles (#2320). Delete tui-palette.less (data-tui-background and data-tui-color global states) (#2473).
  • core: Dropdown refactor dropdowns completely (#2389).
  • kit: remove legacy InputFile component (#2087). Use new InputFiles component instead.
  • addon-editor: replace legacy Editor with new one based on popular open-source solution TipTap.
  • core: Hint support 12 directions (#2256). Add context input (#2273). Add new directive HintDescribe (#2495). HintController remove separate module (move inside TuiHintModule) (#2484).
  • core: TuiTextfieldController delete tuiTextfieldAutocomplete, tuiTextfieldExampleText, tuiTextfieldInputMode, tuiTextfieldMaxLength, tuiTextfieldType (#2410) in favor of native input alternatives. Allow passing icons at both sides simultaneously in textfield components (#2037).
  • kit: Slider | InputSlider | Range | InputRange drop all deprecated API (#2200, #2207, #2215, #2243). Use strict version of TuiKeySteps (#2220). Delete legacy <tui-slider /> (#2184).
  • kit: Action new selector button[tuiAction], a[tuiAction] (#2479). Better customization + new API (#2505)
  • kit: Stepper rename state input (=> stepState) to avoid collision with routerLink (#2437).
  • core: remove tuiExpandContent directive (#2501)
  • kit: DataListDropdownManager move into separate module (#2317)
  • cdk: Let directive can emit null (#2496)
  • cdk: remove deprecated setNativeFocused,tuiCustomEvents, tuiPadStart, getClosestElement, fallbackValue (#2074, #2276). Use native alternatives.
  • core: tuiFormatNumber(value, configs) new function signature (#2309)
  • cdk: tuiGetClosestFocusableElement(configs) new function signature (#2436)
  • core: new names of css breakpoints (#2393).
  • core: remove deprecated pluralize (#2222). Use Angular built-in I18nPluralPipe.
  • core: move fonts to separate file taiga-ui-fonts.less (#2132)
  • Replace deprecated directives (*tuiTab, *tuiBreadcrumb,[tuiToolbarTool]) with universal tuiItem-directive (#2069)
  • Move all color-converter utils (addon-editor / addon-doc => cdk) (#2280)
  • Remove tui-wrapper, tui-group, table-mode, field-error component, tui-breadcrumb items (#2121).
  • kit: remove deprecated TUI_MOBILE_AWARE (#2099).
  • core: AlertComponent use new context (#2362)
  • cdk: PortalService switch to using PolymorpheusComponent
  • addon-commerce, addon-chart: remove deprecated enums (#2095)
  • remove deprecated core-enums, TuiColor, colorFallback, DEFAULT_COLORS, TuiColorHandler (#2158)
  • remove date-time related deprecations, EMPTY_VALIDATOR (#2164)
  • remove deprecated properties from AbstractTuiInteractive (#2124)
  • remove autofill enums (#2500).

Migration guide

This release introduces a lot of breaking changes.
Most of them can be solved automatically with the following command:

ng update @taiga-ui/cdk

Troubleshooting:

  • Npm 7 has a known issue. If you face "Conflicting peer dependency"-error, try the following workaround:
    ng update @taiga-ui/cdk --force.
  • If you face any other issues, try to update all Taiga UI's packages manually.
    Then check that node_modules/@taiga-ui/cdk/package.json contains 3.x.x-version.
    After all, run ng update @taiga-ui/cdk --migrate-only --from=2 --to=3.
  • If any problem still persists, please, create an issue.