PnP Modern Search v4
This solution includes now only one .sppkg
file:
pnp-modern-search-parts-v4.sppkg
. Mandatory.
Getting started documentation here: https://microsoft-search.github.io/pnp-modern-search/
Feedback and comments are welcomed!
Important - Important - Important
- IE11 support removed
- There's been an issue where
onclick
,onload
etc. has not been sanitized correctly. This is now fixed so script (injection) in templated should now be fully blocked.- Custom templates with fallback/error templates on images are affected, and will require updates!
- Query variable handling now aligns with the classic implementation, and how Microsoft Search will handle them. A missing variable needs to have the
{?...}
notation for the part to be removed from the KQL. It will not be replaced with*
.
Search Results Web Part
General
- [Documentation] Clarify how to add managed properties to the selected properties in search results.
New features
- #1282 - Adds ability to sort columns with Handlebars expressions on Details List
- #1317 - Pick language from page translation over page context if available
- #1272 - Update
getAttachments
Handlebars helper code to include index - #1402 - Added accessibility
Fixes
- #1352 - Wrong Handlebars context for the
groupBy
helper. - #1188 - Updated the thumbnail and preview logic to not load thumbnail for non-SPO domains and interactive preview for different domain than Web Part.
- #1329 - Cards template with odd numbers
- #1277 - Fix preview for folders and fix icon for OneNote's
- #1236 - Double encoding for queryText in Search Box
- #1204 - Fix/Normalization for Taxonomy Refiner Localization
- #1178 - Fixed warning messages due to multiple file type icons load in the template service
- #1311 - Use correct UTZ date as bases
- #1178 - Optimize UI fabric styling and console warnings
- #1183 - Fixed some nl translations
- #1231 - Fix parsing of
{?QueryString.Parameter}
query variable notation - #1252 - Allow pasting comma separated list of managed properties into selected properties
- #1191 - CSS fix for the persona template
- #1189 - Pick language from page translation over page context if available
- #1329 - Fixed cards template with odd numbers
- #1267 - Search Filters & Search Results break when lazy loading from header link
- #1348 - Fix preview and icon for site results in list template
- #1328 - Split on | for User multivalue tokens
- #1390 - Add
pnp-img
to be used instead ofimg
tag and fix sanitization of markup attributes - #1392 - Fixed the 'default' helper
- #1339 - Fix for % in query term
- #1046 - UX changes to error message handling
Search filters
Fixes
- #1225 - Sticky "Apply | Clear" buttons in ComboBox
- #1222 - Fix touch scroll on filter panel
- #1323 - Filter combo control stops to "search as you type" after closing dropdown once with Esc-key or mouse.
- #1287 - Filters Modified Date Interval Wording
- #1144 - Filter panel appears when clearing search terms
- #1165 - Fix combo box selection issue
- #1185 - Allow accented characters in filter web part's filter box
- #1267 - Search Filters & Search Results break when lazy loading from header link
- #1287 - Filters Modified Date Interval Wording
- #1444 - Web Part does not re-render after a pushState when query string parameter is used in tokens
- #1402 - Accessibility compatibility
New Features
- #1282 - Adds ability to sort columns with handlebar expressions on Details List
- #1402 - Added accessibility
- #1364 - Add support for
person
andlist
entity on the graph provider. - #1428 - Added polish translations
- #1367 - Added filter deep links feature
- #1450 - Improved Swedish translations
Search box
New features
- #1402 - Added accessibility
Fixes
- #1339 - Fix for % in query term
Release PR link
#1426 All commits