:tocdepth: 2 Changelog ========= All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog `__, and this project adheres to `Semantic Versioning `__. `Unreleased `__ --------------------------------------------------------------------------------------- `0.12.0 `__ - 2026-03-29 --------------------------------------------------------------------------------------------------- New Features ~~~~~~~~~~~~ - Added support for Snippet Search API. (`7cbdcd5 `__) Enhancements ~~~~~~~~~~~~ - Replaced ``nest_asyncio`` with thread-based async helper for Python 3.14 compatibility by `@lior-airis `__ in `#116 `__ - Switched retry strategy from fixed 30s wait to exponential back-off by `@dbosk `__ in `#108 `__ Bug Fixes ~~~~~~~~~ - Fixed false “IDs not found” warning for DOI-prefixed lookups by `@lior-airis `__ in `#117 `__ .. _section-1: `0.11.0 `__ - 2025-09-13 --------------------------------------------------------------------------------------------------- .. _new-features-1: New Features ~~~~~~~~~~~~ - Added support for Datasets API by `@OFSkean `__ in `#112 `__ .. _bug-fixes-1: Bug Fixes ~~~~~~~~~ - Fixed `#111 `__: error with null references for get_papers. (`12f4a12 `__) - Fixed debug logging. (`933a21b `__) .. _section-2: `0.10.0 `__ - 2025-02-16 -------------------------------------------------------------------------------------------------- .. _new-features-2: New Features ~~~~~~~~~~~~ - Added support for suggest paper query completions by `@david-rohrschneider `__ in `#100 `__ .. _enhancements-1: Enhancements ~~~~~~~~~~~~ - Expanded and improved project documentation, now structured in Read the Docs for easier access and maintenance. .. _bug-fixes-2: Bug Fixes ~~~~~~~~~ - Removed backslashes in docstrings to fix formatting issues. (`3ef890b `__) - Fixed issue with quotes in the query string by `@k1000dai `__ in `#99 `__ .. _section-3: `0.9.0 `__ - 2024-11-30 ------------------------------------------------------------------------------------------------ .. _new-features-3: New Features ~~~~~~~~~~~~ - Added support for paper title search. (`3a3f797 `__) .. _enhancements-2: Enhancements ~~~~~~~~~~~~ - Added asynchronous iterator for ``PaginatedResults`` by `@rgeronimi `__ in `#95 `__ .. _bug-fixes-3: Bug Fixes ~~~~~~~~~ - Removed unnecessary ``nest_asyncio.apply()`` call when using the library in asynchronous mode by `@rgeronimi `__ in `#95 `__ .. _section-4: `0.8.4 `__ - 2024-07-08 ------------------------------------------------------------------------------------------------ .. _enhancements-3: Enhancements ~~~~~~~~~~~~ - Replaced debug parameter with Python’s standard logging in DEBUG level. (`d5bfa38 `__) - Added specific exceptions for requests responses: ``InternalServerErrorException`` (HTTP Status 500), ``GatewayTimeoutException`` (HTTP Status 504), and ``ServerErrorException`` (base class for HTTP Status 5xx). (`298997f `__) Deprecations ~~~~~~~~~~~~ - Deprecated ``debug`` parameter. (`d5bfa38 `__) .. _section-5: [0.8.3] ------- - Version ``0.8.3`` was not released due to issues in the release process. .. _section-6: `0.8.2 `__ - 2024-05-31 ------------------------------------------------------------------------------------------------ .. _bug-fixes-4: Bug Fixes ~~~~~~~~~ - Removed deprecated ``authors.aliases`` from ``Paper``. (`ed92c37 `__) - Fixed error generating cURL command. (`bc5c916 `__) .. _section-7: `0.8.1 `__ - 2024-05-17 ------------------------------------------------------------------------------------------------ .. _bug-fixes-5: Bug Fixes ~~~~~~~~~ - Fixed `#87 `__: ``get_authors()`` fails when one of the IDs was not found. (`ae03dbb `__) .. _section-8: `0.8.0 `__ - 2024-03-15 ------------------------------------------------------------------------------------------------ .. _new-features-4: New Features ~~~~~~~~~~~~ - Added support for returning a list of not found paper IDs in ``get_papers()``. (`3eb5516 `__) - Added support for bulk retrieval in ``search_paper()``. (`0fa8aac `__) - Added support for disabling retrying when getting HTTP status 429 by `@qiankunli `__ in `#84 `__ .. _bug-fixes-6: Bug Fixes ~~~~~~~~~ - Fixed `#80 `__: ``get_papers()`` fails when one of the IDs was not found. (`3eb5516 `__) .. _section-9: `0.7.0 `__ - 2023-12-29 ------------------------------------------------------------------------------------------------ .. _new-features-5: New Features ~~~~~~~~~~~~ - Debug mode (`fb249e9 `__) - Added new query parameters to search_paper(): - publication_date_or_year (`ed4cf6f `__) - min_citation_count (`ab1cc67 `__) - Added contextsWithIntent property for Citation and Reference (`c278e5d `__) - Added citationStyles property to Paper (`1e7e6b0 `__) .. _enhancements-4: Enhancements ~~~~~~~~~~~~ - Increased the default timeout value from 10 to 30 seconds (`e5aa367 `__) - Reduced the limit parameter (from 1000 to 100) to avoid timeout error and improve performance (`846e824 `__) Breaking Changes ~~~~~~~~~~~~~~~~ - Removed deprecated aliases property from Author (`202945c `__) .. _section-10: `0.6.0 `__ - 2023-11-26 ------------------------------------------------------------------------------------------------ .. _new-features-6: New Features ~~~~~~~~~~~~ - Added support for asynchronous requests by `@gabriel-trigo `__ in `#56 `__ - Added ``pool_from`` parameter in ``get_recommended_papers()`` (`d245515 `__) .. _bug-fixes-7: Bug Fixes ~~~~~~~~~ - Fixed the maximum sum of offset and limit from 10,000 to 1,000 (`908838a `__) .. _breaking-changes-1: Breaking Changes ~~~~~~~~~~~~~~~~ - Removed deprecated URL ``partner.semanticscholar.org`` (`01c9988 `__) - Replaced `requests `__ with `httpx `__ for asynchronous support .. _section-11: `0.5.0 `__ - 2023-08-11 ------------------------------------------------------------------------------------------------ .. _new-features-7: New Features ~~~~~~~~~~~~ - Added support for Recommendations API. (`ef26088 `__) .. _breaking-changes-2: Breaking Changes ~~~~~~~~~~~~~~~~ - Spelling fixes object not found exception by `@shauryr `__ in `#54 `__ - Removed deprecated parameter ``graph_api``. (`4fe2245 `__) - Removed deprecated parameter ``include_unknown_refs``. (`4f188c8 `__) .. _section-12: `0.4.1 `__ - 2023-04-01 ------------------------------------------------------------------------------------------------ .. _new-features-8: New Features ~~~~~~~~~~~~ - Added new query parameters to ``search_paper()``: ``publicationTypes``, ``openAccessPdf``, and ``venue``. (`79a86ed `__) .. _bug-fixes-8: Bug Fixes ~~~~~~~~~ - Fixed fields of study query parameter name. (`2e3b97a `__) .. _section-13: `0.4.0 `__ - 2023-01-23 ------------------------------------------------------------------------------------------------ .. _new-features-9: New Features ~~~~~~~~~~~~ - Added support for getting multiple papers or authors at once. (`eba2372 `__) - Added support for getting details about paper’s author, citation and references. (`bd9e19a `__, `0397761 `__, `6b4f2c7 `__) - Added support for getting details about author’s papers. (`f186cea `__) - ``get_author()`` and ``get_paper()`` should now raise an ``ObjectNotFoundExeception`` when the Paper or Author ID is not found. (`ae50750 `__) - New ``Paper`` properties: ``corpusId``, ``openAccessPdf``, and ``publicationVenue``. (`b2ae2bb `__) - New type: ``PublicationVenue``. (`648bd77 `__) - Added support for 500 and 504 HTTP errors. (`c53c08c `__, `ec23182 `__) .. _enhancements-5: Enhancements ~~~~~~~~~~~~ - The ``ValueError`` exception will be raised when the ``limit`` parameter is given a value that is out of bounds. .. _breaking-changes-3: Breaking Changes ~~~~~~~~~~~~~~~~ - ``ObjectNotFoundExeception`` raised instead of returning an empty ``dict``. - Removed deprecated methods: ``author()`` and ``paper()``. (`06a6a53 `__) .. _deprecations-1: Deprecations ~~~~~~~~~~~~ - Deprecated ``graph_api`` parameter. (`4acbd11 `__) - Deprecated ``include_unknown_refs`` parameter in ``get_paper()``. (`1d74d22 `__) .. _section-14: `0.3.2 `__ - 2022-12-25 ------------------------------------------------------------------------------------------------ .. _bug-fixes-9: Bug Fixes ~~~~~~~~~ - Fixed duplicated items issue on traversing results (`211bc5d `__) .. _section-15: `0.3.1 `__ - 2022-11-25 ------------------------------------------------------------------------------------------------ .. _bug-fixes-10: Bug Fixes ~~~~~~~~~ - Fixed `#43 `__: default Partner’s API URL (`692d1c7 `__) .. _section-16: `0.3.0 `__ - 2022-09-18 ------------------------------------------------------------------------------------------------ .. _new-features-10: New Features ~~~~~~~~~~~~ - Added support to the new Academic Graph API and its endpoints, including paper and author search. - Library rewrite using the abstraction design instead of a simple API wrapping. Response fields are accessible as properties, but key-based access is still available. .. _enhancements-6: Enhancements ~~~~~~~~~~~~ - Increased the default timeout of API responses to 10 seconds. (`416b271 `__) .. _breaking-changes-4: Breaking Changes ~~~~~~~~~~~~~~~~ - Removed direct access to deprecated methods ``paper()`` and ``author()``. (`42d28ca `__) .. _deprecations-2: Deprecations ~~~~~~~~~~~~ - Deprecated ``paper()`` and ``author()`` methods in ``SemanticScholar`` class, which are substituted by ``get_paper()`` and ``get_author()``. (`75d299b `__) .. _section-17: `0.2.1 `__ - 2021-11-02 ------------------------------------------------------------------------------------------------ .. _bug-fixes-11: Bug Fixes ~~~~~~~~~ - Fixed API URL definition issue (`eee1df9 `__) .. _section-18: `0.2.0 `__ - 2021-10-31 ------------------------------------------------------------------------------------------------ .. _new-features-11: New Features ~~~~~~~~~~~~ - Added support for S2 Data Partner’s API by `@nilsjor `__ in `#15 `__ .. _section-19: `0.1.6 `__ - 2021-09-11 ------------------------------------------------------------------------------------------------ .. _new-features-12: New Features ~~~~~~~~~~~~ - Added timeout to semanticscholar requests by `@wyh `__ in `#7 `__ .. _section-20: `0.1.5 `__ - 2020-08-18 ------------------------------------------------------------------------------------------------ .. _enhancements-7: Enhancements ~~~~~~~~~~~~ - Fixed API http type by `@wyh `__ in `#6 `__ .. _section-21: `0.1.4 `__ - 2020-03-04 ------------------------------------------------------------------------------------------------ Dependencies ~~~~~~~~~~~~ - New retrying library `tenacity `__ (`69e53c9 `__) .. _section-22: `0.1.3 `__ - 2019-08-02 --------------------------------------------------------------------------------------------