Skip to content

Releases: sckott/habanero

habanero v2.0.0

25 Nov 18:31
c3fc216
Compare
Choose a tag to compare
  • Now using uv to manage work on this package. See Makefile and GH Actions files for how it's used (#195)
  • Moved bibtexparser from required dependency to optional, install with pip install habanero[bibtex] (#185)
  • Added new Crossref instance variable timeout for the user to set a curl timeout for all requests using the instance of the class created with timeout (#111)
  • Update Crossref issue tracker URL (#160)
  • Replaced requests with httpx throughout this package. requests is on feature freeze (#196)

Full Changelog: v1.2.6...v2.0.0

habanero v1.2.6

03 Feb 21:29
4a81987
Compare
Choose a tag to compare
  • mark two more tests for vcr to create cassettes for (both content_negotation tests) - no user facing changes (#114)
  • habanero now conditionally uses bibtexparser to roundtrip bibtex to attempt to fix any bibtex that's not formatted correctly (#144) (#153)
  • generalize handling of field queries like query.publisher-name to allow all field queries, and any in the future (#150) (#152)
  • improved error handling (#123)
  • ids now a required param in the Crossref.prefixes method; improved crossef API error parsing (#116)

habaneo v1.2.3

02 Feb 21:16
dd4d760
Compare
Choose a tag to compare
  • now using typehints, tested on Python back to 3.6; though could work with older Python 3 versions. See the new docs for better information on types (#70)
  • fixed problem with usage of warn=True; in a for loop, an internal variable warning_thrown wasn't being reset after each loop iteration, with the result that all objects returned after a warning was thrown were None regardless of the actual result. sorry about that! (#112) (#113)

habanero v1.2.2

19 May 23:29
6052faa
Compare
Choose a tag to compare
  • Fixed class WorksContainer to work with cursor output of works results (e.g., cr.works(query, cursor="*")) (#106) thanks @IvanSterligov

habanero v1.2

27 Mar 14:02
c024177
Compare
Choose a tag to compare
  • Added class WorksContainer to make handling works data easier (#101)
  • changed master branch to main in github development repository (#103)
  • exclude tests from install (#105)

habanero v1

13 Nov 16:13
4a9268e
Compare
Choose a tag to compare
  • fixes to docs/contributing.rst and package level docs for habanero (#89) (#90) thanks @Daniel-Mietchen !
  • fix limit and offset internal handling for request and Request (#91) thanks @Bubblbu !
  • content_negotation throws warning now on 4xx/5xx status code to allow for bad DOIs alongside good DOIS (#92)
  • add example to README for querying works by DOI (#93)
  • fail better when json is not returned; try json.loads and catch ValueError (JSONDecodeError is a subclass of ValueError) (#97)
  • funders, journals, members, prefixes, types and works gain warn parameter to optionally throw a warning instead of error if a DOI is not found - not found DOI with warn=True returns None (#69)

habanero v0.7.4

29 May 14:45
Compare
Choose a tag to compare
  • query.title filter is deprecated, use query.bibliographic instead (#85)

habanero v0.7.2

13 Dec 00:51
Compare
Choose a tag to compare
  • Crossref() class gains ua_string option to add an additional string to the user-agent sent with every request (#84)

habanero v0.7.0

08 Nov 20:17
Compare
Choose a tag to compare
  • filter_names() and filter_details() altered to get metadata for works, members and funders filters; and added egs to members and funders methods for using filters (#67)
  • many typos fixed (#80) thanks @Radcliffe !
  • use of a progress bar is now possible when fetching works route data, only when doing deep paging, see progress_bar parameter (#77) (#82)
  • content_negotiation fixes: ids parameter is now required (has no default), and must be a str or list of str (#83)
  • no longer testing under Python 2

habanero v0.6.0

21 Oct 00:17
Compare
Choose a tag to compare
  • Added verification and docs for additional Crossref search filters (#62)
  • Big improvement to docs on readthedocs (#59)
  • Added mailto support (#68) (#63) and related added docs about polite pool (#66)
  • Added support for select parameter (#65)
  • Added all new /works route filters, and simplified filter option handling within library (#60)