Repository navigation
feat: remove deprecated searchsimilar client module - #21
Closed
fern-api[bot] wants to merge 1 commit into
Closed
fern-api[bot] wants to merge 1 commit into
fern-api[bot] wants to merge 1 commit into
Conversation
The searchsimilar client module and all its associated functionality have been removed from the SDK. This affects both synchronous and asynchronous clients that provided methods for searching similar articles. This removal is part of API consolidation efforts to streamline the SDK interface and reduce maintenance overhead. Key changes: - Removed SearchsimilarClient and AsyncSearchsimilarClient classes - Removed searchsimilar.get() and searchsimilar.post() methods - Removed all searchsimilar-related type definitions and imports - Removed raw client implementations for searchsimilar endpoints 🌿 Generated with Fern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
searchsimilarclient module has been removed from the SDK. All methods includingsearchsimilar.get()andsearchsimilar.post()are no longer available. Applications using these methods will need to migrate to alternative search functionality or use the core search endpoints directly.get()is nowcount_get()andpost()is nowcount_post(). These methods continue to function identically but with more descriptive names. Update your code to use the new method names, as the old names have been removed.get()method is nowcount_get()and thepost()method is nowcount_post(). Update your code to use the new method names - all parameters and return types remain the same.latestheadlinestolatest_headlines, and the client class is now calledLatestHeadlinesClientinstead ofLatestheadlinesClient. Method names have changed fromget()andpost()tolatest_headlines_get()andlatest_headlines_post(). Update your imports fromclient.latestheadlinestoclient.latest_headlinesand update method calls accordingly.RawLatestheadlinesClientclass is nowRawLatestHeadlinesClient, and methodsget()andpost()are nowlatest_headlines_get()andlatest_headlines_post()respectively. Additionally, many parameters now use strongly-typed classes instead of primitive types. Update your imports and method calls accordingly.client.search_linktoclient.search_by_link. Method names have also changed:search_url_get()is nowsearch_by_link_get()andsearch_url_post()is nowsearch_by_link_post(). Parameter types are now more strictly typed (Page, PageSize, RobotsCompliant) instead of primitive int/bool types.all_links_textparameter in Authors API methods, allowing searches based on link anchor text content. Parameter types have been updated to use proper type aliases for improved type safety.robots_compliantparameter has been removed from breaking news methods.all_links_textparameter for filtering articles by link anchor text. All search parameters have been enhanced with proper type definitions for improved IDE support and validation.all_links_textparameter. When used, the response includes detailed link information in theall_links_datafield.include_translation_fieldsparameter is enabled. Server-Sent Events (SSE) support has been added for real-time data streaming capabilities.