Releases: microsoft-search/pnp-modern-search
Releases · microsoft-search/pnp-modern-search
Modern Search - January 2020
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.
- Added the ability to preview image files using the
- 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.
- Removed the
- 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.
- Added the missing condition for the
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
Modern Search - December 2019
General
- Improved documentation by using mkdocs
Search Parts
- Added support for custom web components registrations
- Added
totalPrimaryAndSecondaryResults
andhasPrimaryOrSecondaryResults
properties to handlbars render context - Updated all templates to display a 'No Results' message if no primary or secondary results are returned. Also, now all the templates have the ability to control the display according to results length and the 'showBlank' option.
Fixes
- Fixed PDF preview in tiles layouts #24
- Fixed loading logic to display placeholders and spinner due to #21
- Fixed #19
Search Extensibility
- Added a new extensibility project with predefined structure to create custom web components to be integrated in the search results Web Parts Handlebars templates
Search Custom Renderer
No change.
Search Query Enhancer
- Improved documentation
Modern Search - October 2019
Modern Search Web Parts v3.7.0.0
pnp-react-search-refiners.sppkg
Changes
- Allow selecting between URL Fragment or QueryString parameter.
- Added more handlebar helper methods.
- Removed default path filter on the webpart.
- Added sorting option for refiners.
- Better default icon handling and support for using OUIFR icons in your templates. See TEMPLATING.md documentation for more information.
- Added support for rendering secondary result blocks in custom renderers.
- Added toggle to include OneDrive results as a secondary result block (not currently visible without custom renderer).
- Allow custom renderers to render even if there are zero search results to display.
- Upgraded to SPFx v1.9.1.
- Added preview support for 'spellingSuggestion' token.
Fixes
- Refiner flashing fix.
- Fix for over calling the REST API.
- Added fixed date refiner template.
- Fixed Page token handling.
- Fix for using custom code renderer.