Releases: sckott/habanero
Releases · sckott/habanero
habanero v2.0.0
- Now using
uv
to manage work on this package. SeeMakefile
and GH Actions files for how it's used (#195) - Moved
bibtexparser
from required dependency to optional, install withpip install habanero[bibtex]
(#185) - Added new
Crossref
instance variabletimeout
for the user to set a curl timeout for all requests using the instance of the class created withtimeout
(#111) - Update Crossref issue tracker URL (#160)
- Replaced
requests
withhttpx
throughout this package.requests
is on feature freeze (#196)
Full Changelog: v1.2.6...v2.0.0
habanero v1.2.6
- 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
- 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 variablewarning_thrown
wasn't being reset after each loop iteration, with the result that all objects returned after a warning was thrown wereNone
regardless of the actual result. sorry about that! (#112) (#113)
habanero v1.2.2
- Fixed class
WorksContainer
to work with cursor output of works results (e.g.,cr.works(query, cursor="*")
) (#106) thanks @IvanSterligov
habanero v1.2
habanero v1
- fixes to docs/contributing.rst and package level docs for habanero (#89) (#90) thanks @Daniel-Mietchen !
- fix limit and offset internal handling for
request
andRequest
(#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 withwarn=True
returnsNone
(#69)
habanero v0.7.4
query.title
filter is deprecated, usequery.bibliographic
instead (#85)
habanero v0.7.2
Crossref()
class gainsua_string
option to add an additional string to the user-agent sent with every request (#84)
habanero v0.7.0
filter_names()
andfilter_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
- 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)