-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 2.0.0 #137
Version 2.0.0 #137
Conversation
Merge main (v1.4.0) into develop
This PR makes the static filters state more flexible, so users can store more complex static filters as well as field value filters. It incorporates the changes in the Core models, including the new `StaticFilter` interface. The `SelectableFilter` interface is replaced with `SelectableStaticFilter` and the static filters state now accepts an array of the latter type. The Jest tests were updated to reflect these changes and to test that the new functionality works as expected. J=SLAP-2326 TEST=auto, manual See that the new and existing Jest tests pass. From the Node test-site, store static filters in State and run vertical searches. See that they execute successfully and give the correct results.
- update search-core version to be 2.0.0-alpha.215 which the new DA interfaces. re-export those DA interfaces in headless. - fix some new TS issues in DA jest test and existing issues in facets and verticalSearch test. bump headless version to 2.0.0-alpha.131, to be publish after this pr is merged J=SLAP-2324 TEST=none
export Address and ComplexUrl interface from core as well remove EnumOrLiteral from headless, and use the one from core instead. J=SLAP-2324
This PR removes any code that's marked deprecated as part of renaming and uses the newest alpha of core where all deprecated code is removed. J=SLAP-2331 TEST=manual Test: removed code that's tagged deprecated and files named deprecate, updated the documentations, and searched 'deprecate', 'answers', as well as all identifiers in Cindy's renaming prs. Also renamed any deprecated identifiers in past prs that still remain in the document (AnswersHeadless -> SearchHeadless, AnswersCore -> SearchCore). Updated to the newest alpha version to confirm any deprecated re-exports are removed.
This PR bumps the version to 2.0.0-alpha.134 after the deletion of all deprecated code. TEST=auto
beta version for QA related to DA and StaticFilters changes
re-export HoursDirectAnswer interfaces from [core pr](yext/search-core#220) bump alpha version to use in component lib J=SLAP-2359
Pull Request Test Coverage Report for Build 3018073418Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
will update headless and core version to 2.0.0 once core version v2 is released. |
should the DA stuff also go under breaking changes? I think if people are extending the existing models, their stuff would break with the changes |
updated description! Also linked to search-core v2 for more info of the changes |
nit: capital r at the beginning to be consistent |
Version 2.0.0
Breaking Changes
SelectableFilter
interface is replaced withSelectableStaticFilter
, which uses the newStaticFilter
interface from search-core V2. The static filters state now accepts an array ofSelectableStaticFilter
. (Expand static filters #130 )@deprecated
in previous version(s) as part of a rebranding process is now removed in V2 (remove deprecated code #132 )