Skip to main content

Changelog

We follow use Semantic Versioning for the @valu/react-valu-search releases. Major release is made when ever it requires changes to the userland code, minor when adding new backwards compatible features and patch when fixing bugs or non-behavioral changes.

v21.1.1

2022-06-28

  • fix focus trap issue in partial modal that made focusing close button impossible in some configurations

v21.1.0

2022-03-25

  • Enables JWT Auth to searches. Use in conjunction with wp-valu-search: v0.8.0 or newer

v21.0.2

2022-01-28

v21.0.1

2022-01-26

  • Fix focus trap issue when opening search from outside input or button

v21.0.0

2022-01-20

  • Change aria-hidden to visibility to conform to accessability spec
  • BREAKING: undefined lang search now searches without lang tag and finds all languages
  • depracted: lang use uiLang and searchLang instead

v20.0.1

2021-12-16

  • Fix extra "closed" event firing on RVS mount
  • Extract SSR check
  • Fix safari border gradient issue
  • add loaded event

v20.0.0

2021-12-08

  • BREAKING: select() helper will now throw if there are multiple matches instead of returning the first match
  • Fix link hover border bottom
  • Run npm ci if there were no /node_modules in test apps with npm run dev

v19.0.2

  • Faulty release, should have been 20.0.0

v19.0.1

2021-11-24

  • Fix react icon prop fill-rule --> fillRule
  • Fix react icon prop clip-rule --> clipRule

v19.0.0

2021-11-24

  • UI overhaul! Now with more consistent margins.

v18.6.4

2021-11-23

  • fix .bindInputAsOpener behaviour, last "fix" broke normal usage

v18.6.3

2021-11-18

  • Add loadOnFocus to LazyValuSearch, previous installations are possibly faulty

v18.6.2

2021-11-18

  • Fix input desync problem
  • Improve test coverage

v18.6.1

2021-11-16

  • Add support for passing custom strings to SearchResultUrl component with renderedTitle && asTitle = false

v18.6.0

2021-11-08

  • Add vs.getTerms()
  • clean up added eventlisteners on dismount

v18.5.2

2021-11-02

  • Fix recursive searches from provider lang bug

v18.5.1

2021-10-29

  • Fix lazy load bug that has been ongoing since 15.1.0
  • Adds id to grouptTitle and groupTotal slotOverrides

v18.5.0

2021-10-12

  • Switch to @findkit/fetch
  • Adds new slot groupPreview

v18.4.4

2021-10-06

  • Extend select helper to allow nullables

v18.4.3

2021-09-29

  • Fix rerender with same groups causing multiple searches
  • Change console.err -> console.warn for incorrect lazy load setup
  • Remove console.warns in prod

v18.4.2

2021-09-27

  • Export CustomFields from package root

v18.4.1

2021-09-17

  • Update prettier to 2.4.1 and run it on project
  • Expose useIsSearching hook, use this to see search status

v18.4.0

2021-09-15

  • Add hitInner slot for package styled hits from slots

v18.3.1

2021-09-02

  • Add hasMore to searchMore slot context

v18.3.0

2021-09-01

  • upgrade to typescript v4.4.2
  • add searchMore slot

v18.2.1

2021-08-25

  • fix object.includes -> string.includes polyfill

v18.2.0

2021-08-25

  • Add missing polyfill object.includes
  • Remove onSearch events from search more

v18.1.1

2021-08-24

  • Handle double DomContentLoaded event

v18.1.0

2021-08-18

  • Add option to pass search more size to engine from ValuSearchConfig

v18.0.0

2021-08-17

  • Fix bug which caused double request on group changes
  • BREAKING: Renames provider option for enabling and disabling the search
  • Exposes a hook for group results, see useGroupSearchResults

v17.1.2

2021-08-13

  • Add missing polyfill

v17.1.1

2021-06-21

  • Remove engine engable/disable console logging

v17.1.0

2021-06-21

  • Fixes a bug with empty group title string
  • Fixes a bug where group details view would send an extra request when all results were already fetched
  • Adds feature to enable/disable search, this can done from provider, old installations are not affacted

v17.0.1

2021-06-16

  • Change useHit error message to be more descriptive
  • Adds comments to components that can be only used from hit slot

v17.0.0

2021-06-16

  • BREAKING: showInUI has been removed, in the future use individual components instead of Hit component if you need to render only specific parts of default hit
  • Make old params optional, use hit context as fall back
  • Add generic ResultTitle component

v16.1.0

2021-06-10

  • Expose ResultLink component

v16.0.0

2021-06-04

  • POSSIBLY BREAKING: Fixes created & modified types inside package. Was incorrectly string when they should have been Date

v15.2.3

2021-05-26

  • Show 10k+ for result amounts over 10k
  • Package default style fixes

v15.2.2

2021-05-25

  • Returns class instance from legacy helper renderMultiSearchResults
  • Adds custom fields support

v15.2.1

2021-05-14

  • Export icons used in RVS
  • Revert input width change from v15.2.0

v15.2.0

2021-05-14

  • Fix default fullscreenInputWithCloseButton styles
  • Refactor inner working of groups from Provider

v15.1.1

2021-05-04

  • Fix invalid aria-describedby usage from excerpts
  • Fix crash with dynamic groups with ValuSearch#Provider
  • Rename <Provider tagGroups> prop to groups
  • Make customer field optional in the ValuSearch constructor
  • Export correct ValuSeachConfig interface

v15.1.0

2021-05-03

  • Ability to log response durations
  • Expose FocusTrap tools for the lazy loaders and deprecate extra trap selectors
  • Add ValuSearch instance to the emitted event objects
  • Allow multiple event listeners

Multiple instance usage

  • Scope events to specific instances
  • Assert correct instanceId usage

v15.0.4

2021-04-28

  • Fully write out ValuSearch constructor options for better IDE experience
  • Fix inputs nested inside FocusContainer
  • Add abilitity to disable the focus trap

v15.0.3

2021-04-28

  • Release script fail 🤦‍♂️

v15.0.2

2021-04-27

  • Just prettier changelogs 😎

v15.0.1

  • Fix the release tool 😅

v15.0.0

v14.1.3

  • CORS fix on dev process
  • Fixes an issue with focus trap

v14.1.2

  • Fix some issues with focus trap
  • Adds new wrapper component for adding custom components for focus trap
  • Fixes some px measurements to use inner helper u() which allows using rems

v14.1.1

  • Fixes babel problem in dev process
  • Adds VS prefix to global REM_DIVIDER

v14.1.0

  • Microbundled
  • SSR fixes
  • Better backwards compatibility
  • Fixes search events
  • Enables customizeable rem usage again

v14.0.2

  • Export all shared components

v14.0.1

  • Bump version

v14.0.0

  • SSR support
  • Debounce --> Throttle
  • Architecture overhaul
  • Discard react hooks that managed sending requests
  • Implement state-machine "search-engine", that manages searches

v14.0.0(beta)

  • Beta release for Valu Search Headup integration and support

v13.0.17

  • Makes valu-search-event bubble to document, also adds cancellable:true to event (unused at the moment)

v13.0.16

  • Adds configurable uiString for aria label in search input, default Search Input
  • Remove webpack and core-js from deps, add them to devDeps

v13.0.15

  • Adds export for svgs created in 13.0.12

v13.0.14

  • Changes ReactIcons.ts svg property stroke-width to strokeWidth, the former caused errors in local installation

v13.0.13

  • Fix arrow icon direction in `grouppedresultspreview``

13.0.12

  • Remove react-icons package, add svgs locally

13.0.10 & 13.0.11

  • Add slot overrides to group title and group total

v13.0.9

  • Changes previous usage of aria-details to either aria-label or aria-description

v13.0.8

  • Add default browser focus styles to close button on focus
  • Pass -1 tabIndex to long urls

v13.0.7

  • Add group title slot override and test

v13.0.6

  • Changes valu search ad to product site, adds option to change ad href via params.href

v13.0.5

  • Adds new helper FullScreenInputWithCloseButton component that creates Yle styled input with close button attached
  • Note: When using this in slotOverrides, remember to remove normal close button with slotOverrides

v13.0.4

  • Passes aria attributes directly to react component rather than bemed component

v13.0.3

  • Makes search results distinct within groups - double requests can not add same search results twice anymore
  • Changes debounced search event debounce time to 500ms
  • Adds option to change highlight lenght

v13.0.2

  • Adds debounced search response event

v13.0.1

  • Accessibility improvement. Make Valu Search inner links be h3 instead of h4

v13.0.0

  • Makes Valu Search more accessible with aria-labels, descriptions, screen reader components and more.

v12.0.2

  • Return asTitle modifier to SearchResultUrl component

v12.0.1

  • Loads polyfills earlier for IE11
  • Shared helpers now under one file
  • Adds generic tagGroupId that can be used for conditional hit structure and more
  • Fixes history api popstate bug
  • Correctly removes event listeners

v12.0.0

  • BREAKING: Switches VS from url hash fragment to query strings

  • Implements history api

  • Changes submits --> openers in connectSearchElements()

  • Example upgrade from 11.0.0 --> 12.0.0 here

v11.0.0

  • BREAKING: Scale rem sizes automatically based on root element font-size
  • If <html> has font-size param and it's != 16px this will cause component font sizes to change, but preserves the layout after this change

v10.2.2

  • Replace pixel measures with rems

v10.2.1

  • Add Typescript support to cypress tests
  • Adds bemed modifier to search result url for easier styling between title and url

v10.2.0

  • Adds helper for group links
  • Adds setGroupID hashutil for opening Valu Search in group view

v10.1.0

  • Add decay function params to react-valu-search

v10.0.0

  • Change search workflow. Searches GroupResultsPreview first and then GroupResults if in GroupView
  • Adds groupNav slotOverride and a component for it

v9.3.0

  • Refactor dev to work with ie, change use search to be not async, final icon fix for ie11

v9.2.9

  • Don't show search icon in ie11 v5.

v9.2.8

  • Don't show search icon in ie11 v4.

v9.2.7

  • Don't show search icon in ie11 v3.

v9.2.6

  • Don't show search icon in ie11 v2.

v9.2.5

  • Don't show search icon in ie11

v9.2.4

  • Wordbreak, Media breakpoints

v9.2.3

  • Style fixes

v9.2.2

  • More sensible default component styles

v9.2.1

  • Add icon to full screen search input

v9.2.0

  • Hit component and control of hit parts with flags

v9.1.0

  • Add ValuSearchAd component and slot. Use it by default

v9.0.0

  • BREAKING: SearchResultDate components takes generic "date" prop
  • Default Hit Structure includes highlight, title, link, url, and created date
  • New option: mode?: "fullScreen", when defined Valu Search loads full screen components
  • No more hacky styles injection in full screen components
  • Scrollable element changed to main. FS search input sticks to top
  • Removed bottom back button
  • Styles overhaul

v8.0.4

  • Fix shaking text in component styles

v8.0.3

  • Add more workarounds

v8.0.2

  • Bemed workaround

v8.0.1

  • IE11 fix for head styles hack

v8.0.0

  • Scope all shared components to use "vs-" prefix

v7.0.0

  • BREAKING: Scope valu search styles with "vs-" prefix

v6.0.1

  • Change logo alt to be optional and default it to "Logo" if not defined

v6.0.0

  • Adds alt to FullScreenLogo
  • Changed FullScreenHeader component to accept react nodes as logo and input

v5.2.1

  • Refactor header component

v5.2.0

  • Adds: Valu Search Full Screen mode, New sorting option, Fixes IE event bug, Functionality to search submits
  • Removes: Logging in production

v5.1.7

  • Fix close animation

v5.1.6

  • Use for loops in loader to bypass need for polyfills on IE in loader

v5.1.5

  • Replace all uses of forEach for NodeListOf<Element> 🤦‍♂️

v5.1.4

  • IE11 fix

v5.1.3

  • IE11 fix. Default UI translation fixes

v5.1.2

  • Valu Search fix absolute position to fixed position

v5.1.1

  • Valu Search fix when html body has position: relative

v5.1.0

  • Adds scoreBoost for promoting or demoting content!

v5.0.0

  • Valu Search Events 2.0! Now with more info and extended coverage
  • Multi-Search2! Now supports OR- and AND-logical operators in tagQueries

v4.1.0

  • Shared components with event emitters connected!

v4.0.2

  • Add events! Start dev processes with one command!

v4.0.1

  • Add slotOverride Wrappers

v4.0.0

  • Add support for multiple search inputs.
  • Remove unnecessary feature.
  • Add simpler dev tools

v3.0.1

  • Change scroll lock to <html> from body

v3.0.0

  • Change the way valu search demoes will be created
  • Add & Update documentation
  • Move common files to root of customers clean up search-ui.txt
  • Refactor search-ui params. Add npm side defaults.

v2.0.2

  • Fix IE11 event issue

v2.0.1

  • Focus trap fixes

v2.0.0

  • Add demo version of modular Valu Search. Also adds the date to searchResponse

v1.1.10

  • Usability improvements & UI Fixes. Fix issue with blinking 0 results, Add animation to spinner, Add keyboard usability, Add simple events, Add minimum search query length

v1.1.9

  • Use custom readme for npm d1de76f3 - Esa-Matti Suuronen

v1.1.8

  • Just a test release