github microsoft-search/pnp-modern-search 3.9.0
Modern Search - January 2020

latest releases: 4.13.1, 4.13.0, 4.12.2...
4 years ago

General

  • Updated documentation

Search Parts

  • Added a 'Persona' and 'File type' refiner templates for the filters Web Part (#16).
  • Added a 'Container tree' refiner template giving the ability to navigate trough a folder hierarchy as metadata by parsing the parent link URL segments (#72).
  • Added the support of custom suggestions (#44) and query modifier (#67) for the search results Web Part.
  • Added the support of section background colors via theming (#42).
  • Updated the solution to SPFx 1.10.0.

Fixes

  • Fixed #62
    • Replaced the react-custom-scrollbars component by the Office UI Fabric Scroll pane component in the Panel layout for refiners.
    • Fixed the vertical layout when many refiners are displayed.
  • Fixed #69
    • Added the ability to preview image files using the getpreview.ashx handler.
  • Fixed #31
    • Removed the this.context.dynamicDataProvider.registerAvailableSourcesChanged(this.render); method to avoid multiple renders every time. According to SharePoint/sp-dev-docs#2985 (comment), the DynamicProperty should wait for the wired data source and re-render the component when available so no need to to it manually anymore.
  • Fixed #30
    • Added relevant mock data for local workbench scenario.
  • Fixed #43
    • Added an 'OR' operator {| in available tokens for page taxonomy and choice multi values columns. Added the corresponding documentation.
  • Fixed #18
    • Now the text is correctly encoded in the refiner persona template.
  • Fixed #28
    • Added a 'TimeZoneId' information in the search query based on either the web time zone or user time zone. If the user does not have a time zone set, then we use the web time zone.
  • Fixed #53
    • Fixed the 'Apply/Clear' button state in multi refinement template.
  • Fixed #55
    • Added a 'queryModification' information in the Handlebars context to see query with SharePoint/WP resolved tokens. Now the debug template is available even if there is no results.
  • Fixed #46
    • Now the pagination Web Part does not render when only 1 page.
  • Fixed #47 + #20
    • The error was due to the searchParams.append() method encoding spaces with a '+' causing a double encoding.
  • Fixed #41
    • Fixed the thumbnail height in the cards layout.
  • Fixed #22
    • Added the missing condition for the showFileIcon option in the DocumentCardComponent.

Search Extensibility

  • Added new custom suggestions feature.
  • Added new custom query modifier feature.

Search Custom Renderer

No change.

Search Query Enhancer

No change.

Key contributors

Don't miss a new pnp-modern-search release

NewReleases is sending notifications on new releases.