nextcloud-vue/CHANGELOG.md

150 KiB
Исходник Ответственный История

Changelog

All notable changes to this project will be documented in this file.

v8 Unreleased (beta)

Full Changelog

💥 Breaking changes

  • Update node engines to next LTS (node 20 / npm 9)
  • The deprecated NcMultiselect and NcMultiselectTags components were removed #4281 (susnux)
    • Migration: Use the NcSelect and NcSelectTags components instead
  • The deprecated NcPopoverMenu component was removed #4081 (raimund-schluessler)
    • Migration: Use the NcActions component instead
  • The deprecated NcAppNavigationCounter component was removed #4096 (raimund-schluessler)
    • Migration: Use the NcCounterBubble component instead
  • The deprecated excludeClickOutsideClasses property was removed from clickOutsideOptions #4088 (raimund-schluessler)
    • Migration: Use the excludeClickOutsideSelectors property, which takes an array of css selectors, instead
  • The label property of NcAutoCompleteResult was renamed to title #4222 (susnux)
  • The deprecated title property was removed, every occurrence of title was renamed to name #4106 (raimund-schluessler), #4052 (raimund-schluessler)
    • label property was renamed to name for NcMentionBubble
    • name propery is now required for NcActions*, NcAppNavigationItem and NcBreadcrumb*
    • See linked pull request for full migration guide
  • chore: Drop install entry point and replace it with an Vue Plugin #4349 (susnux)
  • NcInputField: The labelVisible property was removed for accessibility it is required to always show a label. You can still use the labelOutside property to remove the inner label from the component.
  • feat(NcEmptyContent)!: make empty content centered by default instead of 20vh margin #4506 (ShGKme)
  • chore!: Rename Datetime to DateTime in component names #4560 (susnux)

🚀 Enhancements

  • enh(NcDatetime): New component for displaying timestamps as time relative from now #4219 (susnux)
  • feat(NcInputField): Append custom aria-describedby to input field #4225 (Pytal)
  • feat(NcNoteCard): Add new 'info' version to display informational messaged #4063 (moan0s)
  • feat(NcEmptyContent): Add slot for description #3895 (susnux)
  • feat(NcActions): Improve readability of action menu entries #4049 (Pytal)
  • feat(NcReferencePickerModal): Allow setting modal size when registering a custom picker component #3866 (julien-nc)
  • feat: Migrate NcAvatar to use NcActions #4017 (raimund-schluessler)
  • feat(a11y): Export a11y activation util #4166 (Pytal)
  • NcButton: Add alignment property to change icon and text ordering #4366 (susnux)
  • Add accessible label to textarea #4448 (Pytal)
  • Remove border from sidebar tabs #4449 (marcoambrosini)
  • Make smart picker modal close button tertiary #4441 (julien-nc)
  • Add menuitem role to action link #4436 (Pytal)
  • feat(NcModal): Allow to configure if the modal is closed when clicked outside #4454 (susnux)
  • Feature: Add visible inner label for NcInputField on border #4394 (susnux)
  • Bring back label outside of the input for NcActionInput #4484 (juliushaertl)
  • feat(NcRichContenteditable) - add different output appearance in examples #4485 (Antreesy)
  • perf(NcEmojiPicker): decrease mounting time and memory by moving large constants initialization and storing out from instance's reactive data #4479 (ShGKme)
  • enh(NcAppNavigationCaption): Forward listeners #4494 (Pytal)
  • enh(a11y): Use button as header menu trigger #4481 (Pytal)
  • enh(a11y): Add nav to header menu #4487 (Pytal)

🐛 Fixed bugs

  • fix(NcSettingsSelectGroup): Migrate from deprecated NcMultiselect to NcSelect #4120 (susnux)
  • fix(NcRichtext): Migrate from deprecated NcMultiselect to NcSelect #4247 (julien-nc)
  • fix(NcAppNavigation): Prevent tabbing into closed navigation #3114 (PVince81)
  • fix(NcDatetimePicker): Make sure all l10n strings are extracted #4272 (susnux)
  • fix(NcAppNavigationCaption): Align actions with other navigation action #4220 (susnux)
  • fix(NcInputField): Increase input field helper text contrast #4188 (Pytal)
  • fix(NcSelect): Hide clear and deselect button when disabled #4212 (Pytal)
  • fix(NcSelect): Fix disabled colors to distinguish the disabled state from the regular state #4217 (Pytal)
  • fix(NcProviderList): Add padding around provider list #4175 (juliushaertl)
  • fix(NcModal): Fix focus-trap fallback if content is empty #4266 (skjnldsv)
  • fix(NcActionInput): Show trailing button even for empty input #4251 (susnux)
  • fix(NcRichContenteditable): Fix mentioning users with @ in username #4222 (susnux)
  • fix(NcProgressBar): Fix design on chromium browsers #4238 (szaimon)
  • fix(NcReferencePicker): Fix padding in the any link preview component #4248 (julien-nc)
  • fix(NcModal): Set background and text color #4221 (susnux)
  • fix(NcSelect): Keep dropdown open while loading #4209 (Pytal)
  • fix(NcCheckboxRadioSwitch): Add focus-visible style #4176 (Fenn-CS)
  • fix(NcAppNavigationSettings): Add aria-expanded attribute to settings accordion button #4109 (Fenn-CS)
  • fix(clickOutsideOptions): Fix handling of ignored css selectors #4046 (susnux)
  • fix(NcResource): Fix item alignment in the right sidebar #4121 (Pytal)
  • fix(NcAppSidebarTabs): Fix rendering tabs with CSS icon #4111 (ShGKme)
  • fix(NcAppNavigationItem): Left panel dropdown improvement #4103 (Jerome-Herbinet)
  • fix(NcSettingsSection): Add target blank and no ref info #4099 (Rello)
  • fix: Use the color-primary-element* variables in components #4067 (szaimon)
  • fix(NcListItem): Fix wrong bold class #4083 (julien-nc)
  • fix(NcSelect): Fix disabled state of NcSelect with dark mode #4079 (nickvergessen)
  • fix(NcSelect): Action input usage #4066 (Pytal)
  • fix(NcRichContenteditable): Fix avatar overlayed with empty space when offline #4043 (nickvergessen)
  • fix(l10n): Add language mappings like server does so gettext uses the same locale #4412 (susnux)
  • fix(l10n): Remove quoting character #4396 (rakekniven)
  • fix(NcModal): prev/next color and sizing fix #4368 (skjnldsv)
  • fix(NcListItem) - define a single place for NcActions to render #4356 (Antreesy)
  • fix(NcModal): Close button should be visible even if modal content is scrolled #4350 (susnux)
  • fix(NcButton): Improve alignment documentation to show all variants. #4392 (susnux)
  • try to fix header size on mobile #4420 (szaimen)
  • fix(NcButton): correctly emit click event #4398 (raimund-schluessler)
  • feat(NcButton): Add pressed state for stateful buttons #4344 (susnux)
  • NcCheckboxRadioSwitch - adjust border color #4427 (szaimen)
  • fix(NcRichContenteditable): Add aria-placeholder #4407 (ShGKme)
  • fix(NcModal): Fix modal focus trap with additional elements and arrow navigation #4406 (ShGKme)
  • Fix contrast for selected item #4434 (JuliaKirschenheuter)
  • fix(NcListItem) - remove empty wrapper for additional elements from DOM if not needed #4438 (Antreesy)
  • fix: exports field of package used deprecated syntax #4437 (susnux)
  • Prevent accessible name conflicts on action menu #4447 (Pytal)
  • fix: adjust active element visibility in nclistitem #4158 (szaimen)
  • fix: adjust breadcrumbs component #4416 (raimund-schluessler)
  • fix(NcSelect): Use named export of VueSelect to prevent issues when imported in ESM projects #4451 (susnux)
  • fix(NcCheckboxRadioSwitch): If no text is provided the element should be a circle #4453 (susnux)
  • fix(NcListItem) don't force blur action menu on tab #4458 (Antreesy)
  • fix(NcRichText) - keep newlines in rendered Markdown #4461 (Antreesy)
  • fix(NcRichText) - don't populate a first newline to properly parse blockqoute tags #4470 (Antreesy)
  • fix(a11y): Remove nav and radios in sidebar tabs #4456 (Pytal)
  • fix(NcSelect): Do not add border to single select option #4475 (Pytal)
  • feat and fix: NcCheckboxRadioSwitch required prop and input position fix #4488 (skjnldsv)
  • Align NcCheckboxRadioSwitch labels #4490 (raimund-schluessler)
  • fix(EmptyContent): svg max size #4496 (skjnldsv)
  • fix(NcRichContenteditable): make the default placeholder short #4408 (ShGKme)
  • Stop propagation of keyboard navigation in a number of components #4501 (ShGKme)
  • fix(NcRichText) - don't strip <tag>-like content when parsing markdown #4486 (Antreesy)
  • fix(NcAppNavigation): Make the navigation toggle accessible again when closed #4546 (susnux)
  • fix: Replace sanitize-svg with dompurify #4557 (raimund-schluessler)
  • fix(NcEmojiPicker): Do not set padding for the search input label #4577 (susnux)
  • fix(NcEmojiPicker): Set type to native for selected emoji #4575 (mejo-)
  • fix: also export NcSettings* components #4586 (raimund-schluessler)

v7.11.2 (2023-05-05)

Full Changelog

🐛 Fixed bugs

  • fix: Fix regression to still display references #4039 (juliushaertl)
  • fix: Avoid showing the reference list if no results were found #4036 (juliushaertl)
  • fix(NcAppNavigation): fix flex element styles causing resizing sidebar #4035 (ShGKme)

v7.11.1 (2023-05-04)

Full Changelog

🐛 Fixed bugs

v7.11.0 (2023-05-03)

Full Changelog

🚀 Enhancements

🐛 Fixed bugs

Closed pull requests

v7.10.0 (2023-04-18)

Full Changelog

🚀 Enhancements

  • adjust sidebar to go full-screen earlier at 768px #3972 (szaimen)
  • feat(NcSelectTags): Disable internal v-model and options handling #3968 (Pytal)
  • Remove the smart picker modal padding #3962 (julien-nc)
  • Adjust some smart picker strings #3961 (julien-nc)

🐛 Fixed bugs

Closed pull requests

v7.9.0 (2023-04-04)

Full Changelog

🚀 Enhancements

🐛 Fixed bugs

  • fix(NcButton): ellipsis text on small width #3936 (skjnldsv)
  • fix(NcBreadcrumb): cursor and native title and inline actions rendering text #3927 (skjnldsv)

v7.8.5 (2023-03-28)

Full Changelog

🐛 Fixed bugs

v7.8.4 (2023-03-24)

Full Changelog

🐛 Fixed bugs

  • Fix styles inheritance in NcAvatar when being mounted #3925 (Antreesy)
  • fix(NcRichContenteditable): Fix tribute emoji complete interfering unexpectedly aka. 🇨🇨 #3924 (nickvergessen)
  • feat(Emoji): Suggest emojis based on text smiles #3923 (mejo-)
  • fix(NcListItem): Bring back correct href for router-link links #3922 (raimund-schluessler)

v7.8.3 (2023-03-23)

Full Changelog

🐛 Fixed bugs

  • fix(NcRichContenteditable): prevent tribute from opening on keyup #3917 (skjnldsv)
  • fix(NcRichContenteditable): Fix pasting XML and HTML content #3915 (nickvergessen)

v7.8.2 (2023-03-22)

Full Changelog

🐛 Fixed bugs

  • Fix missing NcVNodes import in NcListItem #3907 (julien-nc)
  • Fix doubling attrs in NcPopover and improve docs #3876 (ShGKme)

Closed pull requests

v7.8.1 (2023-03-15)

Full Changelog

🐛 Fixed bugs

Closed pull requests

v7.8.0 (2023-03-02)

Full Changelog

Closed pull requests

v7.7.2 (2023-02-28)

Full Changelog

🐛 Fixed bugs

Closed pull requests

v7.7.1 (2023-02-24)

Full Changelog

🐛 Fixed bugs

  • fix(NcSelect): Do not squash selected items with no-wrap set #3811 (susnux)

Closed pull requests

v7.7.0 (2023-02-22)

Full Changelog

🚀 Enhancements

🐛 Fixed bugs

Closed pull requests

v7.6.1 (2023-02-20)

Full Changelog

🚀 Enhancements

🐛 Fixed bugs

Closed pull requests

v7.6.0 (2023-02-15)

Full Changelog

🚀 Enhancements

  • Add keyboard focus border to select options #3711 (Pytal)

🐛 Fixed bugs

Closed pull requests

v7.5.0 (2023-01-19)

Full Changelog

🚀 Enhancements

v7.4.0 (2023-01-11)

Full Changelog

🚀 Enhancements

🐛 Fixed bugs

Closed pull requests

  • Add console warning messages for deprecated multiselect components #3573 (Pytal)

v7.3.0 (2022-12-23)

Full Changelog

🚀 Enhancements

🐛 Fixed bugs

  • Fix CheckboxHeight #3584 (jotoeri)
  • Add more space for unread counter so its aligned with action menu #3572 (GretaD)

v7.2.0 (2022-12-09)

Full Changelog

🚀 Enhancements

🐛 Fixed bugs

  • Add button role for NcButton with href #3532 (Pytal)
  • Fix focus returning to top of page instead of actions toggle button #3530 (Pytal)
  • Fix icon repeat and position for AppNavigationItem #3539 (skjnldsv)
  • Fix jsdoc: Add missing documentation for events #3545 (susnux)
  • Increase input field border contrast #3551 (Pytal)
  • Increase NcSelect border contrast #3552 (Pytal)
  • Revert "fix sidebar scrolling for small displays" #3559 (skjnldsv)
  • Scope global #content styles via extra class #3537 (st3iny)

v7.1.0 (2022-11-29)

Full Changelog

🚀 Enhancements

  • Add accessible NcSelect and NcSelectTags components #3435 (Pytal)
  • Extend NcInputField props and forward $attrs to NcPasswordField and NcTextField #3485 (skjnldsv)
  • Move loadState to data for better mockability #3502 (skjnldsv)
  • Widen container prop type passed to NcPopover #3462 (Pytal)
  • Allow querying for resources with complex item ids #3404 (Pytal)
  • Allow to provide a custom palette to the ColorPicker #3384 (skjnldsv)
  • Export NcMentionBubble and NcAutoCompleteResult #3373 (vinicius73)
  • Add guest content component #3369 (ChristophWurst)

🐛 Fixed bugs

Closed pull requests

v7.0.1 (2022-10-14)

Full Changelog

🐛 Fixed bugs

🚀 Enhancements

  • Migrate to use :deep selector instead of deprecated ::v-deep #3348 (susnux)

v7.0.0 - 2022-10-12

Full Changelog

💥 Breaking changes

  • This component library release requires Nextcloud 25 or later
  • We changed the container layout to adapt to the design changes with Nextcloud 25
  • The body is no longer the main scroll area but instead the app content
    • Please do careful testing of your user interface, especially in regards to the following components and scroll behaviour:
      • NcContent
      • NcAppNavigation
      • NcAppContent
      • NcAppSidebar
  • Properties and slot names of NcEmptyContent changed. Also, everything outside a slot is ignored now
  • Inside NcActions, only Vue components are considered as children

Migration guide

  • Scroll listeners need to be adapted to watch for the scroll on the NcAppContent container instead of the main document
  • If you are using sticky headers in your app you might need to adjust the css top property as the app content container is now the scrollable element. For any contained sticky that had a header height top spacing before you should be able to set that to 0
  • Make sure that everything in NcEmptyContent is in one of the supported slots
  • Make sure that NcActions contain only Vue components. If they contain plain HTML, move this into a separate Vue component

🚀 Enhancements

🐛 Fixed bugs

Closed pull requests

v6.0.0 (unreleased)

💥 Breaking Changes

🚀 Enhancements

🐛 Fixed bugs

Closed pull requests

v5.3.1 (2022-04-08)

Full Changelog

Fixed bugs

v5.3.0 (2022-03-31)

Full Changelog

Fixed bugs

Closed pull requests

v5.2.1 (2022-03-24)

Releasing this patch to re-trigger an npm package build since last release github was down

v5.2.0 (2022-03-23)

Full Changelog

Enhancements

Fixed bugs

v5.1.1 (2022-03-16)

Full Changelog

Fixed bugs

v5.1.0 (2022-02-28)

Full Changelog

Enhancements

Fixed bugs

Closed pull requests

v5.0.0 (2022-02-10)

Full Changelog

Enhancements

Fixed bugs

Closed pull requests

v4.3.0 (2021-12-01)

Full Changelog

Fixed bugs

  • Change background style target for tab icons #2374 (artonge)

Closed pull requests

v4.2.0 (2021-09-28)

Full Changelog

Enhancements

Fixed bugs

v4.1.1 (2021-09-16)

Full Changelog

Enhancements

Fixed bugs

v4.1.0 (2021-08-23)

Full Changelog

Enhancements

Fixed bugs

Closed pull requests

v4.0.3 (2021-07-05)

Full Changelog

Enhancements

Fixed bugs

Closed pull requests

v4.0.2 (2021-06-16)

Full Changelog

Fixed bugs

v4.0.1 (2021-06-14)

Full Changelog

Fixed bugs

  • Do not use app-content-wrapper if no list is provided #2026 (skjnldsv)

Closed pull requests

v4.0.0 (2021-06-04)

Full Changelog

Breaking

Enhancements

Fixed bugs

v3.9.0 (2021-04-07)

Full Changelog

Enhancements

Fixed bugs

Closed pull requests

v3.8.0 (2021-03-26)

Full Changelog

Added

Changed

Fixed

v3.7.2 (2021-03-10)

Full Changelog

Fixed

  • Render the first action icon slot if single action - #1753 (skjnldsv)
  • Fix formattedOptions var in multiselect docs - #1744 (skjnldsv)

v3.7.1 (2021-03-10)

Added

Changed

v3.7.0 (2021-03-03)

Added

Changed

v3.6.0 (2021-02-25)

Added

Changed

Fixed

v3.5.5 (2021-02-24)

Added

Fixed

v3.5.4 (2021-01-27)

Fixed

Added

Changed

v3.5.3 (2021-01-25)

Fixed

  • Replace linkify-urls with linkifyjs to fix Safari incompatibility issues - #1678 (Vincent Petry)

v3.5.2 (2021-01-22)

Fixed

v3.5.1 (2021-01-20)

Fixed

v3.5.0 (2021-01-20)

Changed

v3.4.0 (2021-01-18)

Added

Changed

Fixed

v3.3.2 (2020-12-16)

Full Changelog

Changed

Fixed

Version bumps

v3.3.1 (2020-12-02)

Full Changelog

Fixed

Changed

  • Translate '/l10n/messages.pot' in 'fr' - #1606

Version bumps

v3.3.0 (2020-11-26)

Full Changelog

Added

Fixed

Changed

Version bumps

v3.2.0 (2020-11-09)

Full Changelog

Added

Fixed

  • Fix RichEditor rendering of unknown mention, undefined checks and fix default value init #1504 (skjnldsv)
  • Fix menu font for apps #1543 (GretaD)
  • Reverted "Also set Modal height/width to allow children to define their height/width and not only max-height/width" #1558 (skjnldsv)
  • Fix action text margin for long texts #1525 (st3iny)

Version bumps

  • Bump cypress config and split into two specs #1548 (skjnldsv)
  • Bump core-js from 3.6.5 to 3.7.0 #1557
  • Bump vue-styleguidist from 4.33.5 to 4.33.6 #1553
  • Bump css-loader from 3.6.0 to 5.0.1 #1537 #1552
  • Bump webpack-cli from 4.1.0 to 4.2.0 #1546
  • Bump jest from 26.6.1 to 26.6.3 #1541 #1545
  • Bump babel-jest from 26.6.2 to 26.6.3 #1544
  • Bump vue-loader from 15.9.4 to 15.9.5 #1536
  • Bump node-sass from 4.14.1 to 5.0.0 and sass-loader to 10.0.5 #1534
  • Translations updates

v2.9.0 (2020-11-09)

Full Changelog

Added

v0.13.1 (2020-11-06)

Full Changelog

Fixed

  • Add ability to choose popovermenu alignment in avatar component #1554

v3.1.2 (2020-11-02)

Full Changelog

Fixed

  • Use static emoji picker to solve performance issue with background CPU usage #1526 (PVince81)
  • Fix setting navigation item blur #1503 (ma12-co)
  • Translations update #1519

Version bumps

  • Bump @vue/test-utils from 1.1.0 to 1.1.1 #1530
  • Bump webpack-merge from 5.2.0 to 5.3.0 #1528
  • Bump emoji-mart-vue-fast from 7.0.6 to 7.0.7 #1527
  • Bump cypress from 5.4.0 to 5.5.0 #1523
  • Bump @nextcloud/axios from 1.4.0 to 1.5.0 #1522
  • Bump file-loader from 6.1.1 to 6.2.0 #1521
  • Bump vue-loader from 15.9.3 to 15.9.4 #1520

v2.8.2 (2020-11-02)

Full Changelog

Fixed

  • Use static emoji picker to solve performance issue with background CPU usage #1526 (PVince81)

v3.1.1 (2020-10-27)

Full Changelog

Fixed

  • Also set Modal height/width to allow children to define their height/width and not only max-height/width #1518 (skjnldsv)
  • Don't show navigation of settings modal by default #1509 (ma12-co)
  • Adapt to new vue2-datepicker format props #1517 (eneiluj)

v3.1.0 (2020-10-21)

Full Changelog

Fixed

v3.0.0 (2020-10-20)

Full Changelog

Fixed

v2.8.1 (2020-10-19)

Full Changelog

Fixed

v2.8.0 (2020-10-19)

Full Changelog

Added

Changed

  • Translations updates

Fixed

v2.7.0 (2020-10-08)

Full Changelog

Added

v2.6.9 (2020-10-07)

Full Changelog

Added

  • Add loading state on AppSidebar and remove unwanted slot bind #1429 (skjnldsv)

Fixed

v2.6.8 (2020-10-02)

Full Changelog

Fixed

v2.6.7 (2020-10-02)

Full Changelog

Fixed

  • Introduce a compact mode (default) for the user status on the avatar in case it is used without presenting the status information #1405 (juliushaertl)

v2.6.6 (2020-09-30)

Full Changelog

Fixed

v2.6.5 (2020-09-11)

Full Changelog

Fixed

v2.6.4 (2020-09-03)

Full Changelog

Fixed

  • Do not fetch user status if current user is a guest #1379 (danxuliu)
  • Fetch user status in avatar only if it is going to be shown #1380 (danxuliu)

v2.6.3 (2020-09-01)

Full Changelog

Fixed

v2.6.2 (2020-09-01)

Full Changelog

Fixed

Added

v2.6.1 (2020-08-27)

Full Changelog

Fixed bugs:

v2.6.0 (2020-08-21)

Full Changelog

Implemented enhancements:

Fixed bugs:

Older releases

See the Github Releases page for older changelog entries.