Skip to content
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

remove deprecated code #132

Merged
merged 9 commits into from
Aug 18, 2022
Merged

remove deprecated code #132

merged 9 commits into from
Aug 18, 2022

Conversation

juliannzhou
Copy link
Contributor

@juliannzhou juliannzhou commented Aug 17, 2022

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.

@juliannzhou juliannzhou requested a review from a team as a code owner August 17, 2022 14:35
@coveralls
Copy link

coveralls commented Aug 17, 2022

Pull Request Test Coverage Report for Build 2876534216

Warning: 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

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.03%) to 93.173%

Totals Coverage Status
Change from base Build 2876494946: -0.03%
Covered Lines: 339
Relevant Lines: 357

💛 - Coveralls

@juliannzhou juliannzhou changed the base branch from main to develop August 17, 2022 15:11
@@ -29,7 +29,7 @@
},
"dependencies": {
"@reduxjs/toolkit": "^1.8.1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before you merge, can we bump the version for this repo as well? I want to publish another alpha version for search-headless

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will make another PR to bump the version since it's currently alpha.133, but my PR is 132.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we already have an alpha for a later PR number, maybe it would make more sense to merge this PR without a version bump and open a new PR for that so the numbering remains consistent

@juliannzhou juliannzhou merged commit 2fa8868 into develop Aug 18, 2022
@juliannzhou juliannzhou deleted the dev/delete-headless branch August 18, 2022 14:26
@yen-tt yen-tt mentioned this pull request Sep 7, 2022
yen-tt added a commit that referenced this pull request Sep 8, 2022
## Version 2.0.0

### Breaking Changes
- Re-exported all modified and newly added direct answer related interfaces from search-core V2. (#131 #133 #136 ) 
  - More details of the changes are listed in [search-core v2 release notes](https://github.com/yext/search-core/releases/tag/v2.0.0)
- Restructured static filters state to allow user to store more complex combination of static filters as well as field value filters. `SelectableFilter` interface is replaced with `SelectableStaticFilter`, which uses the new `StaticFilter` interface from search-core V2. The static filters state now accepts an array of `SelectableStaticFilter`. (#130 )
- All exports marked as `@deprecated` in previous version(s) as part of a rebranding process is now removed in V2 (#132  )
  - for more details, the removed deprecated identifiers are listed in [v1.3 release notes](https://github.com/yext/search-headless/releases/tag/v1.3.0)
@yen-tt yen-tt mentioned this pull request Sep 8, 2022
yen-tt added a commit that referenced this pull request Sep 8, 2022
## Version 2.0.0

### Breaking Changes
- Re-exported all modified and newly added direct answer related interfaces from search-core V2. (#131 #133 #136 ) 
  - More details of the changes are listed in [search-core v2 release notes](https://github.com/yext/search-core/releases/tag/v2.0.0)
- Restructured static filters state to allow user to store more complex combination of static filters as well as field value filters. `SelectableFilter` interface is replaced with `SelectableStaticFilter`, which uses the new `StaticFilter` interface from search-core V2. The static filters state now accepts an array of `SelectableStaticFilter`. (#130 )
- All exports marked as `@deprecated` in previous version(s) as part of a rebranding process is now removed in V2 (#132  )
  - for more details, the removed deprecated identifiers are listed in [v1.3 release notes](https://github.com/yext/search-headless/releases/tag/v1.3.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants